From 2e2ee3e43400f3f9b07b1c9b9c1746dd52603258 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 16 Aug 2020 21:35:37 +0200 Subject: [PATCH] Gitlab-ci VM --- base.yml | 1 + hosts | 1 + plays/gitlab.yml | 5 +++++ plays/root.yml | 1 + services_web.yml | 4 ---- 5 files changed, 8 insertions(+), 4 deletions(-) create mode 100755 plays/gitlab.yml diff --git a/base.yml b/base.yml index 88cc11b8..a54877dd 100755 --- a/base.yml +++ b/base.yml @@ -38,3 +38,4 @@ # - import_playbook: plays/mirror.yml # - import_playbook: plays/owncloud.yml # - import_playbook: plays/reverse-proxy.yml +- import_playbook: plays/gitlab.yml diff --git a/hosts b/hosts index 50f5c5f2..b28a03af 100644 --- a/hosts +++ b/hosts @@ -72,6 +72,7 @@ routeur-sam.adm.crans.org routeur-daniel.adm.crans.org belenios # on changera plus tard re2o-ldap.adm.crans.org +gitlab-ci.adm.crans.org [ovh_physical] sputnik.adm.crans.org diff --git a/plays/gitlab.yml b/plays/gitlab.yml new file mode 100755 index 00000000..65c51b31 --- /dev/null +++ b/plays/gitlab.yml @@ -0,0 +1,5 @@ +#!/usr/bin/env ansible-playbook +--- +# Deploy Gitlab CI +- hosts: gitlab-ci.adm.crans.org + roles: ["docker"] diff --git a/plays/root.yml b/plays/root.yml index cae8d873..a958296b 100755 --- a/plays/root.yml +++ b/plays/root.yml @@ -1,5 +1,6 @@ #!/usr/bin/env ansible-playbook --- +# root is the first playbook to launch (as root) whe initiation a new server - hosts: tealc.adm.crans.org roles: - baie diff --git a/services_web.yml b/services_web.yml index b2e334ce..5e45ef72 100755 --- a/services_web.yml +++ b/services_web.yml @@ -7,10 +7,6 @@ - hosts: cas-srv.adm.crans.org roles: ["django-cas"] -# Deploy Gitlab CI -- hosts: gateau.adm.crans.org - roles: ["docker"] - - hosts: ethercalc-srv.adm.crans.org roles: ["ethercalc"]