Files
ansible-fet/roles/ruby_sites/tasks/site.yml
Andreas Stephanides c929c1974f ruby site
2017-11-17 23:02:45 +01:00

26 lines
370 B
YAML

---
- debug:
msg: "Seite: {{item.name}}"
- command: whoami
register: whoami
changed_when: false
- debug: msg="{{ whoami.stdout }}"
- name: "DIR"
file:
path: "/srv/intern"
state: directory
owner: "ruby"
group: "ruby"
- name: Clone GIT
become_user: "ruby"
git:
repo: "{{item.git.repo}}"
dest: "{{item.git.dest}}"