summaryrefslogtreecommitdiffstats
path: root/roles/deploy_website/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/deploy_website/tasks/main.yml')
-rw-r--r--roles/deploy_website/tasks/main.yml20
1 files changed, 14 insertions, 6 deletions
diff --git a/roles/deploy_website/tasks/main.yml b/roles/deploy_website/tasks/main.yml
index 3111048..c37e2ae 100644
--- a/roles/deploy_website/tasks/main.yml
+++ b/roles/deploy_website/tasks/main.yml
@@ -1,10 +1,18 @@
---
-- yum: name={{ item }} state=installed
- with_items:
- - git
+- yum:
+ name:
+ - git
+ state: installed
-- file: dest={{ checkout_dest }} state=directory
+- file:
+ dest: "{{ checkout_dest }}"
+ state: directory
-- git: repo={{ git_repo }} dest={{ checkout_dest }}
+- git:
+ repo: "{{ git_repo }}"
+ dest: "{{ checkout_dest }}"
-- cron: name="{{ git_repo }} autoupdate" hour=* job="cd {{ checkout_dest }} ; git pull --rebase -q ; cp -f -R {{ subdir }} {{ destination }}"
+- cron:
+ name: "{{ git_repo }} autoupdate"
+ hour: "*"
+ job: "cd {{ checkout_dest }} ; git pull --rebase -q ; cp -f -R {{ subdir }} {{ destination }}"