1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2025-04-11 18:37:07 +00:00

Add missing ansible.cfg local & remote tests

This commit is contained in:
thehedhly 2024-01-16 14:01:05 +01:00
parent 4df83eeb67
commit f2d43f1f8a
2 changed files with 10 additions and 0 deletions
.github/workflows
test

View file

@ -75,6 +75,11 @@ jobs:
key: ${{env.SSH_PRIVATE_KEY}}
known_hosts: ${{env.SSH_KNOWN_HOSTS}}
directory: test
configuration: |
[defaults]
callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer
stdout_callback = yaml
nocows = false
vault_password: test
requirements: requirements.yml
inventory: |
@ -97,6 +102,7 @@ jobs:
with:
playbook: playbook.yml
directory: test
configuration: ansible.cfg
requirements: requirements.yml
options: --inventory hosts
- name: With requirements bundle

4
test/ansible.cfg Normal file
View file

@ -0,0 +1,4 @@
[defaults]
callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer
stdout_callback = yaml
nocows = false