- Fix pack compatibility under python 3 when unsupported implicit relative import was used (#41)
- Fix Ansible pack shebang to utilize st2 python virtualenv (#33)
- Fix Jinja rendering issue for Ansible vault actions (#28)
- Set default
CWD
working dir to current pack/workflow path,
allowing using relative path to playbooks shipped with custom pack (#9)
- Fixed a bug where JSON data was being passed incorrectly to
--extra-vars
. #19
Contributed by Nick Maludy (Encore Technologies)
- Added pywinrm to requirements so connection to windows hosts is possible.
Contributed by Nick Maludy (Encore Technologies)
- Added ability to use yaml structures to pass arbitrarily complex values through extra_vars. key=value and @file syntax is still supported. Example usage:
sample_task:
action: ansible.playbook
input:
playbook: playbook.yml
extra_vars:
- key1=value1
-
key2: value2
key3: [ value3a, value3b ]
key4:
- value4a
- { value4bkey: value4bvalue }
key5:
key6: value6
key7: value7
- @path/to/file.yml
...
- Breaking Change: Added ability to pass in multiple extra_vars. The extra_vars parameter is now a list. Example usage:
sample_task:
action: ansible.playbook
input:
playbook: playbook.yml
extra_vars:
- "@path/to/file.yml"
- "@path/to/file.json"
- key1=value1
- key2={{ _.value2 }}
...
- Removed immutable flag for
sudo:
parameters for all actions. Default is true
, which means that ansible commands are run with sudo (as root). Good thing is you can change it to false
when required.
- Breaking Change: Replaced all dashes in parameter names with underscores (adhere to the spec of Jinja/Python variables)
- Prepend sandboxed path with ansible binaries to PATH env variable, allowing ansible binary discovery to follow PATH order
- Initial release with actions included:
ansible.playbook
ansible.command
ansible.command_local
ansible.galaxy.install
ansible.galaxy.list
ansible.galaxy.remove
ansible.vault.encrypt
ansible.vault.decrypt