StackStorm-Exchange / stackstorm-ansible

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

In playbook.yaml, support `vault_password` #29

Open djha-skin opened 5 years ago

djha-skin 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 }}"