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

Commit

Permalink
New Role: update advanced configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
svetterIO committed Jan 28, 2019
1 parent 796f518 commit 0cac2eb
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions aac/update_advanced_configurations/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Default variables for updating advanced configurations
17 changes: 17 additions & 0 deletions aac/update_advanced_configurations/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
galaxy_info:
author: IBM
description: Role to update advanced configurations
company: IBM

license: Apache

min_ansible_version: 2.2

galaxy_tags:
- isam
- ibm
- update
- advanced_configurations

dependencies:
- start_config
23 changes: 23 additions & 0 deletions aac/update_advanced_configurations/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# main task to update advanced configurations
---
- name: Update advanced configurations
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.advanced_configuration.update
isamapi:
key: "{{ item.key }}"
value: "{{ item.value }}"
sensitive: "{{ item.sensitive }}"
when: item is defined
with_items: "{{ advanced_configurations }}"
notify: Commit Changes

0 comments on commit 0cac2eb

Please sign in to comment.