- name: gathering fortimanager facts hosts: fortimanager00 gather_facts: no connection: httpapi collections: - fortinet.fortimanager vars: ansible_httpapi_use_ssl: True ansible_httpapi_validate_certs: False ansible_httpapi_port: 443 tasks: - name: retrieve all the approvers of workflow approval matrix fmgr_fact: facts: selector: 'system_workflow_approvalmatrix_approver' params: approval-matrix: 'ansible' approver: ''