Introduce optional support for ansible.cfg (#88)

* Introduce optional support for ansible.cfg

* Add missing ansible.cfg local & remote tests

* Update Readme

* Fix broken local test

---------

Co-authored-by: thehedhly <thehedhly@users.noreply.github.com>
This commit is contained in:
H.Hedhly
2024-01-17 10:06:09 +01:00
committed by GitHub
parent 3c4a9420c1
commit 0689c791d8
6 changed files with 45 additions and 4 deletions

View File

@@ -14,6 +14,12 @@ Should work on any OS, if `ansible-playbook` command is available in `PATH`.
playbook: deploy.yml
# Optional, directory where playbooks live
directory: ./
# Optional, ansible configuration file content (ansible.cfg)
configuration: |
[defaults]
callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer
stdout_callback = yaml
nocows = false
# Optional, SSH private key
key: ${{secrets.SSH_PRIVATE_KEY}}
# Optional, literal inventory file contents