Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dancorrigan1 committed Nov 27, 2024
1 parent 32d9712 commit 27da75b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tasks/dailyconnections.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,14 @@
label: >-
Adding '{{ item.1 }}' to IP user file for '{{ item.0.user }}'
- debug:
var: __add_ip
- name: "Check which subelements caused changes"
ansible.builtin.debug:
msg: >
"For user {{ item.0.user }}, adding IP {{ item.1 }}: {{ 'changed' if item.2.changed else 'unchanged' }}"
loop: "{{ __add_ip.results | zip(__unique_user_ips | subelements('ip_list')) }}"

# - debug:
# var: __add_ip
- meta: end_play

Check failure on line 169 in tasks/dailyconnections.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

fqcn[action-core]

Use FQCN for builtin module actions (meta).

Check failure on line 169 in tasks/dailyconnections.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

name[missing]

All tasks should be named.
# - name: "Daily Connections | Include User IPs task file"
# ansible.builtin.include_tasks:
Expand Down

0 comments on commit 27da75b

Please sign in to comment.