Skip to content

Instantly share code, notes, and snippets.

@kmurudi
Last active June 30, 2017 19:00
Show Gist options
  • Save kmurudi/f3ddf263a6574914b99da2cc7854cb49 to your computer and use it in GitHub Desktop.
Save kmurudi/f3ddf263a6574914b99da2cc7854cb49 to your computer and use it in GitHub Desktop.
installing files at right location
---
# vim: set ft=ansible:
- name: Pulling the workshopper docker image
docker_image:
name: osevg/workshopper:0.1
- name: copy the systemctl script at the required location on the host
copy: src=workshopper.service dest=/etc/systemd/system/multi-user.target.wants/
- name: copy the config file containing environment variables and URLs
copy: src=workshopper dest=/etc/sysconfig/
- name: put the systemd-docker binary file at /usr/bin
copy: src=systemd-docker dest=/usr/bin/
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment