diff options
author | binary <me@rgoncalves.se> | 2021-03-11 20:32:42 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-03-11 20:32:42 +0100 |
commit | 69a58920c4e692e44c62422c406a6a690248fe27 (patch) | |
tree | f8362bfe532bd7b612ccc02efa2160beaccfecc9 | |
parent | cdf2b4afd31b10df695985d7bdd3a587534feb92 (diff) | |
download | infrastructure-69a58920c4e692e44c62422c406a6a690248fe27.tar.gz |
Fail free all-host-basic playbook.
-rw-r--r-- | host_vars/st0dev1.yml | 4 | ||||
-rw-r--r-- | roles/repositories/vars/main.yml | 2 | ||||
-rw-r--r-- | roles/sshd/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/tools/tasks/main.yml | 4 | ||||
-rw-r--r-- | roles/tools/vars/main.yml | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/host_vars/st0dev1.yml b/host_vars/st0dev1.yml index f04fea0..fd92220 100644 --- a/host_vars/st0dev1.yml +++ b/host_vars/st0dev1.yml @@ -1,7 +1,7 @@ _groups: openbsd ip: - in: 10.10.0.66 - out: 192.168.5.66 + in: 10.10.0.63 + out: 192.168.5.63 virtual: true diff --git a/roles/repositories/vars/main.yml b/roles/repositories/vars/main.yml index dd195d9..8218b7d 100644 --- a/roles/repositories/vars/main.yml +++ b/roles/repositories/vars/main.yml @@ -7,7 +7,7 @@ repositories_urls_openbsd: - https://mirror.ungleich.ch/mirror/openbsd -repositories__urls_alpine: +repositories_urls_alpine: - https://mirror.ungleich.ch/mirror/packages/alpine/latest-stable/main - https://mirror.ungleich.ch/mirror/packages/alpine/latest-stable/community - https://mirror.ungleich.ch/mirror/packages/alpine/edge/community/ diff --git a/roles/sshd/tasks/main.yml b/roles/sshd/tasks/main.yml index da5100e..4321270 100644 --- a/roles/sshd/tasks/main.yml +++ b/roles/sshd/tasks/main.yml @@ -15,6 +15,7 @@ - name: retrieve all existing users shell: cut -d ":" -f 1 /etc/passwd register: sshd_users + change_when: false - name: bind retrieved users output lines to list set_fact: @@ -53,6 +54,7 @@ register: sshd_homedirs when: item.path | dirname | basename in sshd_users loop: "{{ keys.files }}" + change_when: false loop_control: label: "{{ item.path | dirname | basename }}" diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml index 84fe4cb..84badb9 100644 --- a/roles/tools/tasks/main.yml +++ b/roles/tools/tasks/main.yml @@ -4,7 +4,7 @@ --- -- name: install per distribution correspond tools +- name: install per distribution corresponding tools package: state: present name: "{{ tools_pkgs[ansible_distribution | lower] }}" @@ -12,5 +12,5 @@ - name: install global utils package: - name: "{{ tools_pkgs[common] }}" + name: "{{ tools_pkgs['common'] }}" state: present diff --git a/roles/tools/vars/main.yml b/roles/tools/vars/main.yml index c569299..f2c0942 100644 --- a/roles/tools/vars/main.yml +++ b/roles/tools/vars/main.yml @@ -21,7 +21,6 @@ tools_pkgs: - sshfs - tmux - wireguard-tools - - wireguard-virt freebsd: - fusefs-sshfs @@ -30,5 +29,4 @@ tools_pkgs: openbsd: - sshfs-fuse - - tmux - wireguard-tools |