StackStorm-Exchange / stackstorm-ansible

st2 content pack containing ansible integrations
https://exchange.stackstorm.org/
Apache License 2.0
36 stars 27 forks source link

In playbook.yaml, support `vault_password` #29

Open djhaskin987 opened 5 years ago

djhaskin987 commented 5 years ago

This issue is a feature request.

When I call the ansible.playbook command, I want to be able to specify the vault password without using a vault password file. That way, I can set the vault password in the stackstorm key/value store and use it from a rule like this like this:

action:
    ref: "ansible.playbook"
    parameters:
        playbook: "playbook.yaml"
        vault_password: "{{ st2kv.system.vault_password }}"