From 5432c8b2b5df41f5189fcadef30fface8de9bc93 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Fri, 19 Jan 2024 17:57:17 +0100 Subject: [PATCH] feat: set correct vyos password for rosseau --- host-rousseau.yml | 16 ++++++++++++++++ host_vars/rousseau.n39.eu/vars.yml | 2 +- host_vars/rousseau.n39.eu/vault | 11 +++++------ 3 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 host-rousseau.yml diff --git a/host-rousseau.yml b/host-rousseau.yml new file mode 100644 index 0000000..58b7c45 --- /dev/null +++ b/host-rousseau.yml @@ -0,0 +1,16 @@ +--- +- hosts: rousseau.n39.eu + become: true + + vars: + ansible_python_interpreter: /usr/bin/python3 + + roles: + + tasks: + + - name: debug + ansible.builtin.debug: + msg: hello rousseau + + handlers: diff --git a/host_vars/rousseau.n39.eu/vars.yml b/host_vars/rousseau.n39.eu/vars.yml index 6fbd481..86f0609 100644 --- a/host_vars/rousseau.n39.eu/vars.yml +++ b/host_vars/rousseau.n39.eu/vars.yml @@ -1,3 +1,3 @@ --- vyos_user: "vyos" -vyos_password: "${vault_vyos_password}" \ No newline at end of file +vyos_password: "${{ vault_vyos_password }}" \ No newline at end of file diff --git a/host_vars/rousseau.n39.eu/vault b/host_vars/rousseau.n39.eu/vault index 1ae4ef1..46cc8cd 100644 --- a/host_vars/rousseau.n39.eu/vault +++ b/host_vars/rousseau.n39.eu/vault @@ -1,7 +1,6 @@ $ANSIBLE_VAULT;1.1;AES256 -34313039326636396362356562313833353261363465383232623762663861383634633661353366 -3765626463316130363661373632646532336138386332660a646433633838356131346466313134 -61363532353665353666326130356235303438613933613635356230306432633362393265363933 -3932616132623965320a313437346163303138313436313738663034393761363632323834323131 -39363538656230616461383738653038643230663939363330353535393932333462363937633262 -3831653565616135303032393066646232646432633132356330 +61653838316339323134626339363035316239326637346534623263343732393865396538323063 +6538373236396131653532633134333035376666383262640a343961313831326634393166653539 +36376634353437346230323037656364636235336530396661653739626432373938646634663065 +6466363965396130650a376339356330313763383936326662663361366535306463333934356238 +37623336363637383233323966386231333437343435386462323532366461663364