diff --git a/lib/ansible/modules/network/eos/eos_config.py b/lib/ansible/modules/network/eos/eos_config.py index e3794ae714a..01e02a61902 100644 --- a/lib/ansible/modules/network/eos/eos_config.py +++ b/lib/ansible/modules/network/eos/eos_config.py @@ -131,9 +131,8 @@ options: 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. - required: false - default: no type: bool + default: 'no' version_added: "2.2" running_config: description: diff --git a/lib/ansible/modules/network/ios/ios_config.py b/lib/ansible/modules/network/ios/ios_config.py index 0882c3b7081..98fb22a686c 100644 --- a/lib/ansible/modules/network/ios/ios_config.py +++ b/lib/ansible/modules/network/ios/ios_config.py @@ -136,9 +136,8 @@ options: 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. - required: false - default: no type: bool + default: 'no' version_added: "2.2" running_config: description: diff --git a/lib/ansible/modules/network/iosxr/iosxr_config.py b/lib/ansible/modules/network/iosxr/iosxr_config.py index 0b7023f8942..21d511a0b24 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_config.py +++ b/lib/ansible/modules/network/iosxr/iosxr_config.py @@ -133,9 +133,8 @@ options: 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. - required: false - default: no - choices: ['yes', 'no'] + type: bool + default: 'no' version_added: "2.2" comment: description: diff --git a/lib/ansible/modules/network/junos/junos_config.py b/lib/ansible/modules/network/junos/junos_config.py index 95f942894fd..1c37a929c4b 100644 --- a/lib/ansible/modules/network/junos/junos_config.py +++ b/lib/ansible/modules/network/junos/junos_config.py @@ -108,9 +108,8 @@ options: 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. - required: false - default: no - choices: ['yes', 'no'] + type: bool + default: 'no' version_added: "2.2" update: description: diff --git a/lib/ansible/modules/network/nxos/nxos_config.py b/lib/ansible/modules/network/nxos/nxos_config.py index 996a52aef5a..4370873c5c1 100644 --- a/lib/ansible/modules/network/nxos/nxos_config.py +++ b/lib/ansible/modules/network/nxos/nxos_config.py @@ -137,9 +137,8 @@ options: 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. - required: false - default: false type: bool + default: 'no' version_added: "2.2" running_config: description: diff --git a/lib/ansible/modules/network/vyos/vyos_config.py b/lib/ansible/modules/network/vyos/vyos_config.py index 6d89d818529..7fdcd65a2f1 100644 --- a/lib/ansible/modules/network/vyos/vyos_config.py +++ b/lib/ansible/modules/network/vyos/vyos_config.py @@ -73,9 +73,8 @@ options: 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. - required: false - default: false - choices: ['yes', 'no'] + type: bool + default: 'no' comment: description: - Allows a commit description to be specified to be included