From 66bd385f6fa267101d5787aa7c2e6235d1d5eeb9 Mon Sep 17 00:00:00 2001 From: the-antz Date: Thu, 4 Jun 2020 21:30:45 +0200 Subject: [PATCH] Fix documentation for the assemble modules remote_src property. (#69845) --- changelogs/fragments/69845-doc-assemble-remote_src.yaml | 2 ++ lib/ansible/modules/assemble.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changelogs/fragments/69845-doc-assemble-remote_src.yaml diff --git a/changelogs/fragments/69845-doc-assemble-remote_src.yaml b/changelogs/fragments/69845-doc-assemble-remote_src.yaml new file mode 100644 index 00000000000..4788f98208e --- /dev/null +++ b/changelogs/fragments/69845-doc-assemble-remote_src.yaml @@ -0,0 +1,2 @@ +bugfixes: + - assemble module - fix documentation - the remote_src property specified a default value of no but it's actually yes. diff --git a/lib/ansible/modules/assemble.py b/lib/ansible/modules/assemble.py index 57ece419f9b..078262608f5 100644 --- a/lib/ansible/modules/assemble.py +++ b/lib/ansible/modules/assemble.py @@ -55,7 +55,7 @@ options: - If C(no), it will search for src at originating/master machine. - If C(yes), it will go to the remote/target machine for the src. type: bool - default: no + default: yes version_added: '1.4' regexp: description: @@ -183,7 +183,7 @@ def main(): delimiter=dict(type='str'), dest=dict(type='path', required=True), backup=dict(type='bool', default=False), - remote_src=dict(type='bool', default=False), + remote_src=dict(type='bool', default=True), regexp=dict(type='str'), ignore_hidden=dict(type='bool', default=False), validate=dict(type='str'),