Replace alldist with a wrapper script around a playbook #3
Closed
opened 7 years ago by jxpryde
·
2 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
So the playbook syntax seems a little obtuse for this use case. We should write the very simple playbook then wrap it with some simple bash.
I want something like:
ansible-alldist office /etc/hosts
or even:ansible-alldist office ~/tmp/config.template /etc/foo/config
We also need to handle directories and when the group includes the Ansible host.
Can do this with the files module very easily. Can be written as a oneshot as well if it's minor.
Status changed to closed