Slight tweaks on Ansible output

This commit is contained in:
Kris Lamoureux 2023-10-19 16:36:05 -04:00
parent ac412f16ef
commit d05c5d3086
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
allow_reboot: false allow_reboot: false
manage_network: false manage_network: false
# Import my GPG key for git signature verification
root_gpgkeys: root_gpgkeys:
- name: kris@lamoureux.io - name: kris@lamoureux.io
id: FBF673CEEC030F8AECA814E73EDA9C3441EDA925 id: FBF673CEEC030F8AECA814E73EDA9C3441EDA925
@ -14,6 +15,7 @@ docker_users:
#docker_login_user: myuser #docker_login_user: myuser
#docker_login_pass: YOUR_PASSWD #docker_login_pass: YOUR_PASSWD
docker_compose_env_nolog: false # dev only setting
docker_compose_deploy: docker_compose_deploy:
# Traefik # Traefik
- name: traefik - name: traefik

View File

@ -22,7 +22,7 @@
register: gpg_check_import register: gpg_check_import
loop: "{{ gpg_check.results }}" loop: "{{ gpg_check.results }}"
loop_control: loop_control:
label: "{{ item.item.name }}" label: "{{ item.item }}"
when: root_gpgkeys is defined and item.rc != 0 when: root_gpgkeys is defined and item.rc != 0
- name: Check GPG key imports - name: Check GPG key imports
@ -30,7 +30,7 @@
msg: "{{ item.stderr }}" msg: "{{ item.stderr }}"
loop: "{{ gpg_check_import.results }}" loop: "{{ gpg_check_import.results }}"
loop_control: loop_control:
label: "{{ item.item.item.id }}" label: "{{ item.item.item }}"
when: (item.skipped | default(false) == false) and ('imported' not in item.stderr) when: (item.skipped | default(false) == false) and ('imported' not in item.stderr)
- name: Install NTPsec - name: Install NTPsec