mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fortimanager: Correct example documentation (#49925)
Fixes: #49813 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
26474c6902
commit
ef3b75afcd
1 changed files with 34 additions and 41 deletions
|
@ -99,49 +99,42 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: Create Model Device
|
||||
hosts: FortiManager
|
||||
connection: local
|
||||
gather_facts: False
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Create FGT1 Model Device
|
||||
fmgr_provision:
|
||||
host: "{{ inventory_hostname }}"
|
||||
username: "{{ username }}"
|
||||
password: "{{ password }}"
|
||||
adom: "root"
|
||||
vdom: "root"
|
||||
policy_package: "default"
|
||||
name: "FGT1"
|
||||
group: "Ansible"
|
||||
serial: "FGVM000000117994"
|
||||
platform: "FortiGate-VM64"
|
||||
description: "Provisioned by Ansible"
|
||||
os_version: '6.0'
|
||||
minor_release: 0
|
||||
patch_release: 0
|
||||
os_type: 'fos'
|
||||
- name: Create FGT1 Model Device
|
||||
fmgr_provisioning:
|
||||
host: "{{ inventory_hostname }}"
|
||||
username: "{{ username }}"
|
||||
password: "{{ password }}"
|
||||
adom: "root"
|
||||
vdom: "root"
|
||||
policy_package: "default"
|
||||
name: "FGT1"
|
||||
group: "Ansible"
|
||||
serial: "FGVM000000117994"
|
||||
platform: "FortiGate-VM64"
|
||||
description: "Provisioned by Ansible"
|
||||
os_version: '6.0'
|
||||
minor_release: 0
|
||||
patch_release: 0
|
||||
os_type: 'fos'
|
||||
|
||||
|
||||
- name: Create FGT2 Model Device
|
||||
fmgr_provision:
|
||||
host: "{{ inventory_hostname }}"
|
||||
username: "{{ username }}"
|
||||
password: "{{ password }}"
|
||||
adom: "root"
|
||||
vdom: "root"
|
||||
policy_package: "test_pp"
|
||||
name: "FGT2"
|
||||
group: "Ansible"
|
||||
serial: "FGVM000000117992"
|
||||
platform: "FortiGate-VM64"
|
||||
description: "Provisioned by Ansible"
|
||||
os_version: '5.0'
|
||||
minor_release: 6
|
||||
patch_release: 0
|
||||
os_type: 'fos'
|
||||
- name: Create FGT2 Model Device
|
||||
fmgr_provisioning:
|
||||
host: "{{ inventory_hostname }}"
|
||||
username: "{{ username }}"
|
||||
password: "{{ password }}"
|
||||
adom: "root"
|
||||
vdom: "root"
|
||||
policy_package: "test_pp"
|
||||
name: "FGT2"
|
||||
group: "Ansible"
|
||||
serial: "FGVM000000117992"
|
||||
platform: "FortiGate-VM64"
|
||||
description: "Provisioned by Ansible"
|
||||
os_version: '5.0'
|
||||
minor_release: 6
|
||||
patch_release: 0
|
||||
os_type: 'fos'
|
||||
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue