From cc8025684d0dffbf25b17e58a6bb0712484f465c Mon Sep 17 00:00:00 2001 From: nicoo Date: Sun, 17 Jun 2018 22:29:24 +0200 Subject: [PATCH] Add gnoccis to the inventory --- ansible/host_vars/gnocci0/main.yml | 2 ++ ansible/host_vars/gnocci0/vault.yml | 8 ++++++++ ansible/host_vars/gnocci1/vault.yml | 14 +++++++------- ansible/host_vars/gnocci2/main.yml | 2 -- ansible/host_vars/gnocci2/vault.yml | 8 -------- ansible/hosts.ini | 13 ++++++++++--- 6 files changed, 27 insertions(+), 20 deletions(-) create mode 100644 ansible/host_vars/gnocci0/main.yml create mode 100644 ansible/host_vars/gnocci0/vault.yml delete mode 100644 ansible/host_vars/gnocci2/main.yml delete mode 100644 ansible/host_vars/gnocci2/vault.yml diff --git a/ansible/host_vars/gnocci0/main.yml b/ansible/host_vars/gnocci0/main.yml new file mode 100644 index 0000000..954c9c7 --- /dev/null +++ b/ansible/host_vars/gnocci0/main.yml @@ -0,0 +1,2 @@ +--- +root_password: "{{ vault_root_password }}" diff --git a/ansible/host_vars/gnocci0/vault.yml b/ansible/host_vars/gnocci0/vault.yml new file mode 100644 index 0000000..df5d4ac --- /dev/null +++ b/ansible/host_vars/gnocci0/vault.yml @@ -0,0 +1,8 @@ +$ANSIBLE_VAULT;1.1;AES256 +66323066353065353661346261313235333834343034313532343739343531373035366364303138 +6433663331336264613830643035363962346131353830640a376336363433653437306236656230 +39313361376130316464333566383533396663393863646333393536613230333233333335323938 +3662646635383161360a333661663063343862373638373933383362383164623039383763613036 +61346661346261306465393039343732343635326364306363653666343130383836343539336439 +34306462316666623665323239613561663730353933633663636631323063383164643937366334 +393864666635663237346434613264303532 diff --git a/ansible/host_vars/gnocci1/vault.yml b/ansible/host_vars/gnocci1/vault.yml index df5d4ac..ab3ecca 100644 --- a/ansible/host_vars/gnocci1/vault.yml +++ b/ansible/host_vars/gnocci1/vault.yml @@ -1,8 +1,8 @@ $ANSIBLE_VAULT;1.1;AES256 -66323066353065353661346261313235333834343034313532343739343531373035366364303138 -6433663331336264613830643035363962346131353830640a376336363433653437306236656230 -39313361376130316464333566383533396663393863646333393536613230333233333335323938 -3662646635383161360a333661663063343862373638373933383362383164623039383763613036 -61346661346261306465393039343732343635326364306363653666343130383836343539336439 -34306462316666623665323239613561663730353933633663636631323063383164643937366334 -393864666635663237346434613264303532 +31366163653363386462333866383263366435353838623965653035623138356339633866623932 +3538626561373636313833333434393434616366303633370a346364356161616662666164323063 +30333934663463383034623730366365386536373465383362353132386434396461353039363863 +3861333238386263620a613539393937383264346566613330666165623363313838326638623563 +64643233613539356337613435376130633466313261616235326430326161663263343363343361 +36373736303233333831316266633365306435646634643166663038326364323839386430373438 +373966366161613436646365346339316365 diff --git a/ansible/host_vars/gnocci2/main.yml b/ansible/host_vars/gnocci2/main.yml deleted file mode 100644 index 954c9c7..0000000 --- a/ansible/host_vars/gnocci2/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -root_password: "{{ vault_root_password }}" diff --git a/ansible/host_vars/gnocci2/vault.yml b/ansible/host_vars/gnocci2/vault.yml deleted file mode 100644 index ab3ecca..0000000 --- a/ansible/host_vars/gnocci2/vault.yml +++ /dev/null @@ -1,8 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -31366163653363386462333866383263366435353838623965653035623138356339633866623932 -3538626561373636313833333434393434616366303633370a346364356161616662666164323063 -30333934663463383034623730366365386536373465383362353132386434396461353039363863 -3861333238386263620a613539393937383264346566613330666165623363313838326638623563 -64643233613539356337613435376130633466313261616235326430326161663263343363343361 -36373736303233333831316266633365306435646634643166663038326364323839386430373438 -373966366161613436646365346339316365 diff --git a/ansible/hosts.ini b/ansible/hosts.ini index b3a1721..19642fe 100644 --- a/ansible/hosts.ini +++ b/ansible/hosts.ini @@ -13,6 +13,9 @@ galley hacksch r3home tickets +gnocci0 +gnocci1 + ## TODO: remove the variable once https://github.com/ansible/ansible/issues/39119 is fixed metrics localconfig_ssh_config_user=root testvm localconfig_ssh_config_user=root @@ -24,9 +27,13 @@ host_domain=mgmt.realraum.at [baremetalservers] alfred +gnocci0 +gnocci1 [kvmhosts] alfred +gnocci0 +gnocci1 [virtualservers] @@ -70,6 +77,6 @@ localconfig_ssh_config_user=root #gw #torwaechter -#[apu] -#gnocchi1 -#gnocchi2 +[apu] +gnocchi0 +gnocchi1 -- 1.7.10.4