Skip to content

Commit

Permalink
doc for _config backup argument (ansible#38650)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdpak committed Apr 13, 2018
1 parent ab52d84 commit 6de49f0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 11 deletions.
5 changes: 3 additions & 2 deletions lib/ansible/modules/network/eos/eos_config.py
Expand Up @@ -113,8 +113,9 @@
- This argument will cause the module to create a full backup of
the current C(running-config) from the remote device before any
changes are made. The backup file is written to the C(backup)
folder in the playbook root directory. If the directory does not
exist, it is created.
folder in the playbook root directory or role root directory, if
playbook is part of an ansible role. If the directory does not exist,
it is created.
type: bool
default: 'no'
version_added: "2.2"
Expand Down
5 changes: 3 additions & 2 deletions lib/ansible/modules/network/ios/ios_config.py
Expand Up @@ -117,8 +117,9 @@
- This argument will cause the module to create a full backup of
the current C(running-config) from the remote device before any
changes are made. The backup file is written to the C(backup)
folder in the playbook root directory. If the directory does not
exist, it is created.
folder in the playbook root directory or role root directory, if
playbook is part of an ansible role. If the directory does not exist,
it is created.
type: bool
default: 'no'
version_added: "2.2"
Expand Down
5 changes: 3 additions & 2 deletions lib/ansible/modules/network/iosxr/iosxr_config.py
Expand Up @@ -113,8 +113,9 @@
- This argument will cause the module to create a full backup of
the current C(running-config) from the remote device before any
changes are made. The backup file is written to the C(backup)
folder in the playbook root directory. If the directory does not
exist, it is created.
folder in the playbook root directory or role root directory, if
playbook is part of an ansible role. If the directory does not exist,
it is created.
type: bool
default: 'no'
version_added: "2.2"
Expand Down
5 changes: 3 additions & 2 deletions lib/ansible/modules/network/junos/junos_config.py
Expand Up @@ -92,8 +92,9 @@
- This argument will cause the module to create a full backup of
the current C(running-config) from the remote device before any
changes are made. The backup file is written to the C(backup)
folder in the playbook root directory. If the directory does not
exist, it is created.
folder in the playbook root directory or role root directory, if
playbook is part of an ansible role. If the directory does not exist,
it is created.
type: bool
default: 'no'
version_added: "2.2"
Expand Down
5 changes: 3 additions & 2 deletions lib/ansible/modules/network/nxos/nxos_config.py
Expand Up @@ -119,8 +119,9 @@
- This argument will cause the module to create a full backup of
the current C(running-config) from the remote device before any
changes are made. The backup file is written to the C(backup)
folder in the playbook root directory. If the directory does not
exist, it is created.
folder in the playbook root directory or role root directory, if
playbook is part of an ansible role. If the directory does not exist,
it is created.
type: bool
default: 'no'
version_added: "2.2"
Expand Down
4 changes: 3 additions & 1 deletion lib/ansible/modules/network/vyos/vyos_config.py
Expand Up @@ -63,7 +63,9 @@
- The C(backup) argument will backup the current devices active
configuration to the Ansible control host prior to making any
changes. The backup file will be located in the backup folder
in the root of the playbook.
in the playbook root directory or role root directory, if
playbook is part of an ansible role. If the directory does not
exist, it is created.
type: bool
default: 'no'
comment:
Expand Down

0 comments on commit 6de49f0

Please sign in to comment.