mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2025-12-09 14:20:42 -07:00
Add capabilities for custom inventory and vault password
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user