Add capabilities for custom inventory and vault password

This commit is contained in:
Julian Pelizäus
2020-03-22 20:30:44 +01:00
parent b2946c375b
commit 6d1f107198
3 changed files with 31 additions and 2 deletions

View File

@@ -10,8 +10,14 @@ An action that executes given Ansible playbook on selected hosts.
with:
playbook: deploy.yml
key: ${{secrets.SSH_PRIVATE_KEY}}
inventory: |
[all]
example.com
[group1]
example.com
vault_password: ${{secrets.VAULT_PASSWORD}}
options: |
--inventory hosts
--limit dev
--extra-vars hello=there
--verbose