You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to simplify WAAS Ansible script

Summary:

Hello, is there a possibility to simplify the ansible script for WAAS (WAF) protection roles? I tried using loop and with_item but i failed to configure it to work. I am using the ansible oci_waas_protection_rules module: https://oci-ansible-collection.readthedocs.io/en/latest/collections/oracle/oci/oci_waas_protection_rules_module.html

Idea is to put the values for the protection roles in a separated yml file and to use it with some kind of loop or something similar.

Content (required):

- name: Update protection_rules

oci_waas_protection_rules:

waas_policy_id: "{{ waf_id }}"

protection_rules:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!