security_profile_group_clone - Profile Group Resource +++++++++++++++++++++++++++++++++++++++++++++++++++++ .. versionadded:: 1.1.0 .. contents:: :local: :depth: 1 Synopsis -------- Profile Group Resource. Use API "/resource-api/v2/security/profile-group/{direction}/{based_on}/clone". Requirements ------------ The below requirements are needed on the host that executes this module. - ansible>=2.17.0 Parameters ---------- .. raw:: html Examples ------------- .. code-block:: yaml # Note: This module is NOT idempotent, executing it multiple times will result in an error. - name: Security profile group clone hosts: fortisase gather_facts: false vars: source_profile_group: "profile_group1" target_profile_group: "profile_group2" tasks: - name: Clone security profile group fortinet.fortisase.security_profile_group_clone: params: direction: "outbound-profiles" # outbound-profiles or internal-profiles based_on: "{{ source_profile_group }}" primary_key: "{{ target_profile_group }}" Return Values ------------- .. raw:: html Authors ------- - Xinwei Du (@dux-fortinet)