Skip to content

[PR #116/bceb086b backport][stable-10] open_xl - add op to create new excel file#117

Merged
NomakCooper merged 1 commit intostable-10from
patchback/backports/stable-10/bceb086b5990a5fef81d98ac6e276d1d6c79e500/pr-116
Apr 4, 2025
Merged

[PR #116/bceb086b backport][stable-10] open_xl - add op to create new excel file#117
NomakCooper merged 1 commit intostable-10from
patchback/backports/stable-10/bceb086b5990a5fef81d98ac6e276d1d6c79e500/pr-116

Conversation

@patchback
Copy link
Contributor

@patchback patchback bot commented Apr 4, 2025

This is a backport of PR #116 as merged into main (bceb086).

SUMMARY

This PR adds the new value n for op argument to create new excel file without template source

example:

# Create excel file from ans2dev.general 0.2.0
- name: Create a new Excel file and write data
  ans2dev.general.open_xl:
    dest: "/tmp/new_file.xlsx"
    op: "n"
    sheet_name: "Data"
    updates_matrix:
      - cell_row: 1
        cell_col: 1
        cell_value: "Header"
ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

open_xl

ADDITIONAL INFORMATION

* open_xl - add op to create new excel file

* open_xl - fix docs and ansible-test units

* open_xl - fix ansible-test units

* open_xl - fix ansible-test units

* open_xl - add changelog/fragments file

(cherry picked from commit bceb086)
@keywordlabeler keywordlabeler bot added the feature This issue/PR relates to a feature request. label Apr 4, 2025
@github-actions
Copy link

github-actions bot commented Apr 4, 2025

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and the docs are now incorporated into main:
https://3A2DEV.github.io/ans2dev.general/branch/main

@NomakCooper
Copy link
Contributor

/approve

@repo-command
Copy link

repo-command bot commented Apr 4, 2025

Pull request approved by @NomakCooper

@repo-command repo-command bot added the approved label Apr 4, 2025
@NomakCooper NomakCooper merged commit e476e83 into stable-10 Apr 4, 2025
29 checks passed
@repo-command repo-command bot added merged and removed approved labels Apr 4, 2025
@NomakCooper NomakCooper deleted the patchback/backports/stable-10/bceb086b5990a5fef81d98ac6e276d1d6c79e500/pr-116 branch April 4, 2025 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs_fragments feature This issue/PR relates to a feature request. merged module plugin tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant