@@ -1,4 +1,6 @@
tera-host
+tera-dev-site
+tera-prod-site
[tera-dev]
tera-dev-site
@@ -0,0 +1,6 @@
+# Update tera.coop dev site with latest sources
+---
+- hosts: tera-dev-site
+ tasks:
+ - name: Update sources
+ shell: cd /var/www/transition_tera.coop/ && git pull && chown -R tera:tera *
+# Update tera.coop prod site with latest sources
+- hosts: tera-prod-site