qscvbqscvb.qscvbqscvb.fadcos_admin (1.0.1) — module

Configure FortiADC admin by RESTful API

| "added in version" 2.8 of qscvbqscvb.qscvbqscvb"

Authors: Ansible by Red Hat (@rcarrillocruz)

preview | supported by network

Install collection

Install with ansible-galaxy collection install qscvbqscvb.qscvbqscvb:==1.0.1


Add to requirements.yml

  collections:
    - name: qscvbqscvb.qscvbqscvb
      version: 1.0.1

Description

Manage admin on FortiADC devices including creating, updating, removing admin objects, All operations are performed RESTful API.

Usage examples

2
  • Error
    Use a fully-qualified name, such as 'qscvbqscvb.qscvbqscvb.fadcos_admin' instead of 'fadcos_admin'.
  • Error
    'trused_hosts' is a required parameter in module 'fadcos_admin'.
- name: Create admin
  fadcos_admin:
    name: newuser
    password: newpwd

Inputs

    
name:
    description:
    - Name of the admin.
    type: str

vdom:
    default: root
    description:
    - Destionation object of the access rule.
    type: str

profile:
    description:
    - profile
    type: str

password:
    description:
    - password
    required: true
    type: str

global_admin:
    default: true
    description:
    - global admin.
    type: str

trused_hosts:
    default: 0.0.0.0/0 ::/0
    description:
    - trused hosts.
    required: true
    type: str

Outputs

fadcos_admin:
  description: The FortiADC admin object created or updated.
  returned: always.
  type: string