mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2025-09-05 08:25:46 -06:00
Add missing ansible.cfg local & remote tests
This commit is contained in:
parent
4df83eeb67
commit
f2d43f1f8a
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -75,6 +75,11 @@ jobs:
|
|||||||
key: ${{env.SSH_PRIVATE_KEY}}
|
key: ${{env.SSH_PRIVATE_KEY}}
|
||||||
known_hosts: ${{env.SSH_KNOWN_HOSTS}}
|
known_hosts: ${{env.SSH_KNOWN_HOSTS}}
|
||||||
directory: test
|
directory: test
|
||||||
|
configuration: |
|
||||||
|
[defaults]
|
||||||
|
callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer
|
||||||
|
stdout_callback = yaml
|
||||||
|
nocows = false
|
||||||
vault_password: test
|
vault_password: test
|
||||||
requirements: requirements.yml
|
requirements: requirements.yml
|
||||||
inventory: |
|
inventory: |
|
||||||
@ -97,6 +102,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
playbook: playbook.yml
|
playbook: playbook.yml
|
||||||
directory: test
|
directory: test
|
||||||
|
configuration: ansible.cfg
|
||||||
requirements: requirements.yml
|
requirements: requirements.yml
|
||||||
options: --inventory hosts
|
options: --inventory hosts
|
||||||
- name: With requirements bundle
|
- name: With requirements bundle
|
||||||
|
4
test/ansible.cfg
Normal file
4
test/ansible.cfg
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[defaults]
|
||||||
|
callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer
|
||||||
|
stdout_callback = yaml
|
||||||
|
nocows = false
|
Loading…
x
Reference in New Issue
Block a user