From bc8d57f79c2ca7593addef56d9ccea835ac585b8 Mon Sep 17 00:00:00 2001 From: shirenn Date: Sun, 30 Jan 2022 22:40:03 +0100 Subject: [PATCH] [prefixdelegation] Quirky while constellation is not up and running --- .../prefix_delegation.yml | 14 ++++++++++++++ .../prefix_delegation.yml | 16 ---------------- .../prefix_delegation.yml | 14 ++++++++++++++ .../prefix_delegation.yml | 14 ++++++++++++++ hosts | 4 +++- 5 files changed, 45 insertions(+), 17 deletions(-) create mode 100644 host_vars/routeur-daniel.adm.crans.org/prefix_delegation.yml delete mode 100644 host_vars/routeur-gulp.cachan-adm.crans.org/prefix_delegation.yml create mode 100644 host_vars/routeur-jack.adm.crans.org/prefix_delegation.yml create mode 100644 host_vars/routeur-sam.adm.crans.org/prefix_delegation.yml diff --git a/host_vars/routeur-daniel.adm.crans.org/prefix_delegation.yml b/host_vars/routeur-daniel.adm.crans.org/prefix_delegation.yml new file mode 100644 index 00000000..2842925f --- /dev/null +++ b/host_vars/routeur-daniel.adm.crans.org/prefix_delegation.yml @@ -0,0 +1,14 @@ +--- + +loc_service_prefix_delegation: + name: prefix_delegation + install_dir: /var/local/services/prefix_delegation + cron: + frequency: "*/2 * * * *" + dependencies: [] + git: + remote: https://gitlab.adm.crans.org/nounous/prefix_delegation.git + version: master + config: + protocol: prefixdelegation + interface: ens23 diff --git a/host_vars/routeur-gulp.cachan-adm.crans.org/prefix_delegation.yml b/host_vars/routeur-gulp.cachan-adm.crans.org/prefix_delegation.yml deleted file mode 100644 index 579a19c6..00000000 --- a/host_vars/routeur-gulp.cachan-adm.crans.org/prefix_delegation.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- - -loc_service_prefix_delegation: - re2o: - hostname: "{{ query('ldap', 'ip', 're2o', 'cachan-adm') | ipv4 | first }}" - user: services - password: "{{ vault.re2o_service_password }}" - name: prefix_delegation - install_dir: /var/local/services/prefix_delegation - cron: - frequency: "*/5 * * * *" - dependencies: - - python3-iso8601 - git: - remote: https://gitlab.adm.crans.org/nounous/prefix_delegation.git - version: master diff --git a/host_vars/routeur-jack.adm.crans.org/prefix_delegation.yml b/host_vars/routeur-jack.adm.crans.org/prefix_delegation.yml new file mode 100644 index 00000000..2842925f --- /dev/null +++ b/host_vars/routeur-jack.adm.crans.org/prefix_delegation.yml @@ -0,0 +1,14 @@ +--- + +loc_service_prefix_delegation: + name: prefix_delegation + install_dir: /var/local/services/prefix_delegation + cron: + frequency: "*/2 * * * *" + dependencies: [] + git: + remote: https://gitlab.adm.crans.org/nounous/prefix_delegation.git + version: master + config: + protocol: prefixdelegation + interface: ens23 diff --git a/host_vars/routeur-sam.adm.crans.org/prefix_delegation.yml b/host_vars/routeur-sam.adm.crans.org/prefix_delegation.yml new file mode 100644 index 00000000..2842925f --- /dev/null +++ b/host_vars/routeur-sam.adm.crans.org/prefix_delegation.yml @@ -0,0 +1,14 @@ +--- + +loc_service_prefix_delegation: + name: prefix_delegation + install_dir: /var/local/services/prefix_delegation + cron: + frequency: "*/2 * * * *" + dependencies: [] + git: + remote: https://gitlab.adm.crans.org/nounous/prefix_delegation.git + version: master + config: + protocol: prefixdelegation + interface: ens23 diff --git a/hosts b/hosts index e8c9b03f..95cd332f 100644 --- a/hosts +++ b/hosts @@ -176,7 +176,9 @@ virtu_adm virtu_cachan [prefix_delegation] -routeur-gulp.cachan-adm.crans.org +routeur-sam.adm.crans.org +routeur-daniel.adm.crans.org +routeur-jack.adm.crans.org [prometheus] monitoring.adm.crans.org