summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/doc_fragments/fortios.py
blob: 01c71546f58e628792b7d1a87a69070b6794094c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# -*- coding: utf-8 -*-

# Copyright: (c) 2017, Benjamin Jolivot <bjolivot@gmail.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)


class ModuleDocFragment(object):

    # Standard files documentation fragment
    DOCUMENTATION = r'''
options:
  file_mode:
    description:
      - Don't connect to any device, only use I(config_file) as input and Output.
    type: bool
    default: no
    version_added: "2.4"
  config_file:
    description:
      - Path to configuration file. Required when I(file_mode) is True.
    type: path
    version_added: "2.4"
  host:
    description:
      - Specifies the DNS hostname or IP address for connecting to the remote fortios device. Required when I(file_mode) is False.
    type: str
  username:
    description:
      - Configures the username used to authenticate to the remote device. Required when I(file_mode) is True.
    type: str
  password:
    description:
      - Specifies the password used to authenticate to the remote device. Required when I(file_mode) is True.
    type: str
  timeout:
    description:
      - Timeout in seconds for connecting to the remote device.
    type: int
    default: 60
  vdom:
    description:
      - Specifies on which vdom to apply configuration
    type: str
  backup:
    description:
      - This argument will cause the module to create a backup of
        the current C(running-config) from the remote device before any
        changes are made.  The backup file is written to the i(backup)
        folder.
    type: bool
    default: no
  backup_path:
    description:
      - Specifies where to store backup files. Required if I(backup=yes).
    type: path
  backup_filename:
    description:
      - Specifies the backup filename. If omitted filename will be
        formatted like HOST_config.YYYY-MM-DD@HH:MM:SS
    type: str
'''