diff --git a/hosts b/hosts index 9c020e8..271bb0b 100644 --- a/hosts +++ b/hosts @@ -5,6 +5,7 @@ horus ansible_host=10.128.0.1 [ovh-container] riot.adm.auro.re +synapse.adm.auro.re codimd.adm.auro.re services-bdd.adm.auro.re phabricator.adm.auro.re diff --git a/matrix-riot.yml b/matrix-riot.yml deleted file mode 100644 index 9bcc197..0000000 --- a/matrix-riot.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -# Install Riot on Riot containers -- hosts: riot.adm.auro.re - roles: - - matrix-riot - diff --git a/matrix.yml b/matrix.yml new file mode 100644 index 0000000..6d56cb0 --- /dev/null +++ b/matrix.yml @@ -0,0 +1,12 @@ +--- +# Install Matrix Synapse on corresponding containers +- hosts: synapse.adm.auro.re + roles: + - debian-backports + - matrix-synapse + +# Install Matrix Riot on corresponding containers +- hosts: riot.adm.auro.re + roles: + - matrix-riot + diff --git a/roles/matrix-synapse/README.md b/roles/matrix-synapse/README.md new file mode 100644 index 0000000..99fe8c5 --- /dev/null +++ b/roles/matrix-synapse/README.md @@ -0,0 +1,3 @@ +# Rôle Matrix Synapse + +Rôle simple pour synapse. diff --git a/roles/matrix-synapse/tasks/main.yml b/roles/matrix-synapse/tasks/main.yml new file mode 100644 index 0000000..a3c4432 --- /dev/null +++ b/roles/matrix-synapse/tasks/main.yml @@ -0,0 +1,7 @@ +--- +- name: Install matrix-synapse + apt: + name: matrix-synapse + update_cache: yes + default_release: stretch-backports +