endpoint_policies_clone - Endpoint Policy Resource ++++++++++++++++++++++++++++++++++++++++++++++++++ .. versionadded:: 1.1.0 .. contents:: :local: :depth: 1 Synopsis -------- Endpoint Policy Resource. Use API "/resource-api/v2/endpoint/policies/{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: Endpoint policies clone hosts: fortisase gather_facts: false vars: source_policy: "policy1" target_policy: "policy2" tasks: - name: Clone endpoint policies fortinet.fortisase.endpoint_policies_clone: params: based_on: "{{ source_policy }}" primary_key: "{{ target_policy }}" enabled: true Return Values ------------- .. raw:: html Authors ------- - Xinwei Du (@dux-fortinet)