diff --git a/utils/templates/test_module+member.yml.in b/utils/templates/test_module+member.yml.in index cafbbf647d2bf692efd018f0d24bf0665d91a278..e92ac9f48f074c8ebd65dfddc03110690cb5be0e 100644 --- a/utils/templates/test_module+member.yml.in +++ b/utils/templates/test_module+member.yml.in @@ -1,9 +1,10 @@ --- - name: Test $name hosts: "{{ ipa_test_host | default('ipaserver') }}" - # Change "become" or "gather_facts" to "yes", - # if you test playbook requires any. + # It is normally not needed to set "become" to "true" for a module test. + # Only set it to true if it is needed to execute commands as root. become: false + # Enable "gather_facts" only if "ansible_facts" variable needs to be used. gather_facts: false tasks: diff --git a/utils/templates/test_module.yml.in b/utils/templates/test_module.yml.in index b7e82fbe8fb82e6ce055b1457e74471f2d149696..62e0a79b2611b25e83bbaa896fd24f6a7ad72843 100644 --- a/utils/templates/test_module.yml.in +++ b/utils/templates/test_module.yml.in @@ -1,9 +1,10 @@ --- - name: Test $name hosts: "{{ ipa_test_host | default('ipaserver') }}" - # Change "become" or "gather_facts" to "yes", - # if you test playbook requires any. + # It is normally not needed to set "become" to "true" for a module test. + # Only set it to true if it is needed to execute commands as root. become: false + # Enable "gather_facts" only if "ansible_facts" variable needs to be used. gather_facts: false tasks: diff --git a/utils/templates/test_module_client_context.yml.in b/utils/templates/test_module_client_context.yml.in index 38ac7ffbf48d144b83cf144d0e62572dd76b7496..193cd6f38ae033d437aae6210a4cdba2be9a5ec1 100644 --- a/utils/templates/test_module_client_context.yml.in +++ b/utils/templates/test_module_client_context.yml.in @@ -1,9 +1,10 @@ --- - name: Test ${name} hosts: ipaclients, ipaserver - # Change "become" or "gather_facts" to "yes", - # if you test playbook requires any. + # It is normally not needed to set "become" to "true" for a module test. + # Only set it to true if it is needed to execute commands as root. become: false + # Enable "gather_facts" only if "ansible_facts" variable needs to be used. gather_facts: false tasks: