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:
parent
4df83eeb67
commit
f2d43f1f8a
2 changed files with 10 additions and 0 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -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
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…
Add table
Reference in a new issue