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_mechanisms
Browse files Browse the repository at this point in the history
  • Loading branch information
sploppa committed Jul 1, 2019
1 parent 28bc80c commit 6fc28a3
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_policies/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Default variables for configuration of authentication policies
authentication_policies: []

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

0 comments on commit 6fc28a3

Please sign in to comment.