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

Commit

Permalink
Typo: 1x, BugFix: 1x
Browse files Browse the repository at this point in the history
Typo:
- Example in api protection clients
- snapshot_comment simplified to comment

BugFix:
- default var in api protection definitions
  • Loading branch information
sploppa committed Oct 4, 2018
1 parent 2dd949f commit 64451e7
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aac/configure_api_protection_clients/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# companyName: IBM demo client for OAuth flows
# redirectUri:
# - https://localhost
# contactType: ADMINISTRATIVE
# contractType: ADMINISTRATIVE
---
- name: Configure api protection client
isam:
Expand Down
2 changes: 2 additions & 0 deletions aac/configure_api_protection_definitions/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Default variables for configuration of api protection definitions
api_protection: []

name: "{{ item.name | default('none') }}"
1 change: 1 addition & 0 deletions aac/configure_api_protection_definitions/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
action: ibmsecurity.isam.aac.api_protection.definitions.set
isamapi: "{{ item | exclude('clients') | exclude('mapping_rules') }}"
with_items: "{{ api_protection.definitions | default([]) }}"
when: item.name == name
notify: Commit Changes
2 changes: 2 additions & 0 deletions aac/create_api_protection_definitions/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Default variables for creation of api protection definitions
api_protection: []

name: "{{ item.name | default('none') }}"
1 change: 1 addition & 0 deletions aac/create_api_protection_definitions/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
action: ibmsecurity.isam.aac.api_protection.definitions.add
isamapi: "{{ item | exclude('clients') | exclude('mapping_rules') }}"
with_items: "{{ api_protection.definitions | default([]) }}"
when: item.name == name
notify: Commit Changes
2 changes: 1 addition & 1 deletion base/create_snapshot/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# default variables for snaphot creation
# Example:
# snapshot_comment: "Test"
# comment: "Test"
4 changes: 2 additions & 2 deletions base/create_snapshot/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
force: "{{ force | default(omit) }}"
action: ibmsecurity.isam.base.snapshots.create
isamapi:
comment: "{{ snapshot_comment }}"
when: snapshot_comment is defined
comment: "{{ comment }}"
when: comment is defined

0 comments on commit 64451e7

Please sign in to comment.