This commit is contained in:
Hadrien 2022-06-14 22:50:44 +02:00
parent 3a1f322cd5
commit 235f5a392e
3 changed files with 11 additions and 17 deletions

View File

@ -2,6 +2,7 @@
- hosts: all - hosts: all
pre_tasks: pre_tasks:
- apt: - apt:
update_cache: yes
upgrade: yes upgrade: yes
# roles: # roles:
# - geerlingguy.pip # - geerlingguy.pip

View File

@ -1,18 +1,8 @@
--- # Tous
- hosts: - import_playbook: adminsys-classique.yml
# - sonic-preprod # Octo
- sonic - import_playbook: matrix.yml
- octo.fuz.re # - import_playbook: nginx.yml
pre_tasks: # - import_playbook: certbot.yml
- apt:
update_cache: yes
import_playbook: # Sonic
- adminsys-classique.yml
- matrix.yml
# - import_playbook: nginx.yml
# - import_playbook: certbot.yml
# - import_playbook: matrix.yml
handlers:
- name: reboot
reboot:

View File

@ -47,3 +47,6 @@
apt: apt:
name: matrix-synapse name: matrix-synapse
update_cache: yes update_cache: yes
- template:
src: templates/homeserver.yaml.j2
dest: /etc/matrix-synapse/homeserver.yaml