Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
+1 function: filter parameter name for authentication_policies
Browse files Browse the repository at this point in the history
  • Loading branch information
sploppa committed Jul 1, 2019
1 parent fc70dc5 commit 28bc80c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aac/configure_authentication_mechanisms/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Default variables for configuration of authentication mechanisms
authentication_mechanisms: []

# Default variables for filtering
name: "{{ item.name }}"
3 changes: 3 additions & 0 deletions aac/configure_authentication_mechanisms/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@
action: ibmsecurity.isam.aac.authentication.mechanisms.set
isamapi: "{{ item }}"
with_items: "{{ authentication_mechanisms }}"
when: item.name == name
loop_control:
label: "{{ item.name }}"
notify: Commit Changes

0 comments on commit 28bc80c

Please sign in to comment.