ansible/roles/webserver/tasks/codedeploy.yml

27 lines
550 B
YAML
Raw Normal View History

2018-12-21 13:23:17 +00:00
# This play deploys the www code
# Example git checkout from Ansible Playbooks
- git:
repo: 'https://tildegit.org/thunix/www.git'
2018-12-21 13:23:17 +00:00
dest: /var/www/thunix.cf
2019-02-15 23:15:23 +00:00
force: yes
2019-02-18 01:41:23 +00:00
- git:
repo: 'https://tildegit.org/thunix/thunix_gopher.git'
dest: /var/gopher
force: yes
- file:
2019-03-16 22:06:08 +00:00
path: /var/www/autoconfig/mail
state: directory
mode: 0755
owner: root
group: root
2019-03-16 22:06:08 +00:00
recurse: yes
- copy:
src: ../files/autoconfig.xml
2019-03-16 22:06:08 +00:00
dest: /var/www/autoconfig/mail/config-v1.1.xml
mode: 0755
owner: root
group: root