Skip to content

Commit

Permalink
renaming apm files for standards, add jwt
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcalalang committed Nov 22, 2023
1 parent c8948a7 commit 9f10225
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
42 changes: 40 additions & 2 deletions big-ip/ansible/configuration/roles/access-profiles/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- name: Import System Auth APM policy
bigip_apm_policy_import:
name: system-auth
source: ../files/access-policies/system-auth.tar.gz
source: ../files/access-policies/profile_Common_system-auth.conf.tar.gz
provider: "{{ bigip_provider }}"
delegate_to: localhost
with_items:
Expand All @@ -33,7 +33,26 @@
- name: Import Calalang OIDC APM policy
bigip_apm_policy_import:
name: system-auth
source: ../files/access-policies/calalang-oidc.tar.gz
source: ../files/access-policies/profile_Common_calalang-oidc.conf.tar.gz
provider: "{{ bigip_provider }}"
delegate_to: localhost
with_items:
- "{{ bigips }}"
when: state == "present"

- name: Wait a maximum of 300 seconds for BIG-IP to be ready to take configuration
bigip_wait:
timeout: 300
provider: "{{ bigip_provider }}"
delegate_to: localhost
with_items:
- "{{ bigips }}"
when: state == "present"

- name: Import Calalang JWT APM policy
bigip_apm_policy_import:
name: system-auth
source: ../files/access-policies/profile_Common_calalang-jwt-psp.conf.tar.gz
provider: "{{ bigip_provider }}"
delegate_to: localhost
with_items:
Expand Down Expand Up @@ -76,6 +95,25 @@
source: ../files/access-policies/calalang-oidc.tar.gz
provider: "{{ bigip_provider }}"
delegate_to: localhost
with_items:
- "{{ bigips }}"
when: state == "absent"

- name: Wait a maximum of 300 seconds for BIG-IP to be ready to take configuration
bigip_wait:
timeout: 300
provider: "{{ bigip_provider }}"
delegate_to: localhost
with_items:
- "{{ bigips }}"
when: state == "absent"

- name: Import Calalang JWT APM policy
bigip_apm_policy_import:
name: system-auth
source: ../files/access-policies/profile_Common_calalang-jwt-psp.conf.tar.gz
provider: "{{ bigip_provider }}"
delegate_to: localhost
with_items:
- "{{ bigips }}"
when: state == "absent"

0 comments on commit 9f10225

Please sign in to comment.