Jelajahi Sumber

ajout playbook pour mettre a jour tera.coop dev et prod

SiM 5 tahun lalu
induk
melakukan
d0928226c1
3 mengubah file dengan 14 tambahan dan 0 penghapusan
  1. 2 0
      hosts
  2. 6 0
      playbooks/livraison_teracoop_dev.yml
  3. 6 0
      playbooks/livraison_teracoop_prod.yml

+ 2 - 0
hosts

@@ -1,4 +1,6 @@
 tera-host
+tera-dev-site
+tera-prod-site
 
 [tera-dev]
 tera-dev-site

+ 6 - 0
playbooks/livraison_teracoop_dev.yml

@@ -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 *

+ 6 - 0
playbooks/livraison_teracoop_prod.yml

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