forked from thunix/ansible
26 lines
522 B
YAML
26 lines
522 B
YAML
# This play deploys the www code
|
|
# Example git checkout from Ansible Playbooks
|
|
- git:
|
|
repo: 'https://tildegit.org/thunix/www.git'
|
|
dest: /var/www/thunix.cf
|
|
force: yes
|
|
|
|
- git:
|
|
repo: 'https://tildegit.org/thunix/thunix_gopher.git'
|
|
dest: /var/gopher
|
|
force: yes
|
|
|
|
- file:
|
|
path: /var/www/autoconfig
|
|
state: directory
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
|
|
- copy:
|
|
src: ../files/autoconfig.xml
|
|
dest: /var/www/autoconfig/autoconfig.xml
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|