From 446c02da5e9d306d3fd7e79fe319f3167a2ffb6e Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 28 Nov 2021 08:52:58 +0100 Subject: [PATCH] Split services_web.yml into nginx.yml and docker.yml --- playbooks/docker.yml | 10 ++++++++++ playbooks/{services_web.yml => nginx.yml} | 14 -------------- 2 files changed, 10 insertions(+), 14 deletions(-) create mode 100755 playbooks/docker.yml rename playbooks/{services_web.yml => nginx.yml} (72%) diff --git a/playbooks/docker.yml b/playbooks/docker.yml new file mode 100755 index 0000000..61047cc --- /dev/null +++ b/playbooks/docker.yml @@ -0,0 +1,10 @@ +#!/usr/bin/env ansible-playbook +--- +# Deploy Docker hosts +- hosts: docker-ovh.adm.auro.re,gitea.adm.auro.re,drone.adm.auro.re,stream.adm.auro.re,wikijs.adm.auro.re + vars: + update_motd: + docker: Docker est déployé. + roles: + - docker + - update_motd diff --git a/playbooks/services_web.yml b/playbooks/nginx.yml similarity index 72% rename from playbooks/services_web.yml rename to playbooks/nginx.yml index d79a735..656f83b 100755 --- a/playbooks/services_web.yml +++ b/playbooks/nginx.yml @@ -1,19 +1,5 @@ #!/usr/bin/env ansible-playbook --- -# Deploy Docker hosts -- hosts: docker-ovh.adm.auro.re,gitea.adm.auro.re,drone.adm.auro.re,stream.adm.auro.re,wikijs.adm.auro.re - vars: - update_motd: - docker: Docker est déployé. - roles: - - docker - - update_motd - -# Deploy Passbolt -- hosts: passbolt.adm.auro.re - roles: - - passbolt - - hosts: reverseproxy vars: certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'