This commit is contained in:
Michael Grote 2024-11-09 11:14:58 +01:00
parent b0299fc1ee
commit 5cf14e520d

View file

@ -44,6 +44,10 @@
when: "'Access Keys:' not in item.stdout" when: "'Access Keys:' not in item.stdout"
register: new_keys register: new_keys
- name: Debug Print users with access keys
ansible.builtin.debug:
msg: "{{ new_keys}}"
- name: Output newly created access keys - name: Output newly created access keys
ansible.builtin.debug: ansible.builtin.debug:
msg: "New access key created for user {{ item.item.name }}: {{ item.stdout }}" msg: "New access key created for user {{ item.item.name }}: {{ item.stdout }}"
@ -60,3 +64,4 @@
# no_log überall bei keys und users # no_log überall bei keys und users
# linter # linter
# succssfu/changed_when # succssfu/changed_when
# state absent einbauen