Replace alldist with a wrapper script around a playbook #3

Closed
opened 2015-12-08 01:24:36 -05:00 by jxpryde · 2 comments
jxpryde commented 2015-12-08 01:24:36 -05:00 (Migrated from git.uwaterloo.ca)

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.

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.
jxpryde commented 2016-07-07 16:28:20 -04:00 (Migrated from git.uwaterloo.ca)

Can do this with the files module very easily. Can be written as a oneshot as well if it's minor.

Can do this with the files module very easily. Can be written as a oneshot as well if it's minor.
jxpryde commented 2016-07-07 16:28:20 -04:00 (Migrated from git.uwaterloo.ca)

Status changed to closed

Status changed to closed
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/ansible-playbooks#3
No description provided.