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

Commit

Permalink
+1 role: configure_access_control_policy_resources
Browse files Browse the repository at this point in the history
  • Loading branch information
svetterIO committed Jul 8, 2019
1 parent 9ebab39 commit 7edcf63
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Default variables for configuration of access control policy resources
17 changes: 17 additions & 0 deletions aac/configure_access_control_policy_resources/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
galaxy_info:
author: IBM
description: Role to confiure access control policy resources
company: IBM

license: Apache

min_ansible_version: 2.2

galaxy_tags:
- isam
- ibm
- configure
- policy_resources

dependencies:
- start_config
25 changes: 25 additions & 0 deletions aac/configure_access_control_policy_resources/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# main task to configure access control policies
# example:
# access_control_policy_resources:
# - server: /WebSEAL/default
# resourceUri: /index.html
# policyType: application
---
- name: Configure access control policy attachments
isam:
appliance: "{{ inventory_hostname }}"
adminProxyProtocol: "{{ adminProxyProtocol | default(omit) }}"
adminProxyHostname: "{{ adminProxyHostname | default(omit) }}"
adminProxyPort: "{{ adminProxyPort | default(omit) }}"
adminProxyApplianceShortName: "{{ adminProxyApplianceShortName | default(omit) }}"
omitAdminProxy: "{{ omitAdminProxy | default(omit) }}"
username: "{{ username }}"
password: "{{ password }}"
lmi_port: "{{ port | default(omit) }}"
log: "{{ log_level | default(omit) }}"
force: "{{ force | default(omit) }}"
action: ibmsecurity.isam.aac.access_control.policy_attachments.config
isamapi: "{{ item }}"
when: item is defined
with_items: "{{ access_control_policy_resources }}"
notify: Commit Changes

0 comments on commit 7edcf63

Please sign in to comment.