|
@@ -1,9 +1,13 @@
|
|
# Update and upgrade prod servers
|
|
# Update and upgrade prod servers
|
|
---
|
|
---
|
|
-- hosts: tera_prod
|
|
|
|
|
|
+- hosts: tera_prod:extra
|
|
tasks:
|
|
tasks:
|
|
- name: Update and dist-upgrade
|
|
- name: Update and dist-upgrade
|
|
apt:
|
|
apt:
|
|
update_cache=yes
|
|
update_cache=yes
|
|
state=latest
|
|
state=latest
|
|
upgrade=dist
|
|
upgrade=dist
|
|
|
|
+- hosts: ynh_prod
|
|
|
|
+ tasks:
|
|
|
|
+ - name: yunohost update and upgrade --system
|
|
|
|
+ shell: sudo yunohost tools update && sudo yunohost tools upgrade --system
|