Skip to content
Snippets Groups Projects
Commit 4a18ad03 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

utils/templates/{README*.md.in,test_module*.yml.in}: Use true and false

The values "yes" and "no" will not be valid in the future for bool
parameters. Therefore "yes" and "no" have been replaced by "true" and
"false".
parent 5e5fbd87
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ Example playbook to make sure $name "NAME" is present:
---
- name: Playbook to manage IPA $name.
hosts: ipaserver
become: no
become: false
tasks:
- ipa$name:
......@@ -60,7 +60,7 @@ Example playbook to make sure $name "NAME" member PARAMETER2 VALUE is present:
---
- name: Playbook to manage IPA $name PARAMETER2 member.
hosts: ipaserver
become: no
become: false
tasks:
- ipa$name:
......@@ -78,7 +78,7 @@ Example playbook to make sure $name "NAME" member PARAMETER2 VALUE is absent:
---
- name: Playbook to manage IPA $name PARAMETER2 member.
hosts: ipaserver
become: no
become: false
tasks:
- ipa$name:
......@@ -96,7 +96,7 @@ Example playbook to make sure $name "NAME" is absent:
---
- name: Playbook to manage IPA $name.
hosts: ipaserver
become: no
become: false
tasks:
- ipa$name:
......@@ -117,7 +117,7 @@ Variable | Description | Required
`ipaadmin_principal` | The admin principal is a string and defaults to `admin` | no
`ipaadmin_password` | The admin password is a string and is required if there is no admin ticket available on the node | no
`ipaapi_context` | The context in which the module will execute. Executing in a server context is preferred. If not provided context will be determined by the execution environment. Valid values are `server` and `client`. | no
`ipaapi_ldap_cache` | Use LDAP cache for IPA connection. The bool setting defaults to yes. (bool) | no
`ipaapi_ldap_cache` | Use LDAP cache for IPA connection. The bool setting defaults to true. (bool) | no
`name` \| `ALIAS` | The list of $name name strings. | yes
`PARAMETER1` \| `API_PARAMETER_NAME` | DESCRIPTION | TYPE
`PARAMETER2` \| `API_PARAMETER_NAME` | DESCRIPTION | TYPE
......
......@@ -45,7 +45,7 @@ Example playbook to make sure $name "NAME" is present:
---
- name: Playbook to manage IPA $name.
hosts: ipaserver
become: no
become: false
tasks:
- ipa$name:
......@@ -61,7 +61,7 @@ Example playbook to make sure $name "NAME" is absent:
---
- name: Playbook to manage IPA $name.
hosts: ipaserver
become: no
become: false
tasks:
- ipa$name:
......@@ -82,7 +82,7 @@ Variable | Description | Required
`ipaadmin_principal` | The admin principal is a string and defaults to `admin` | no
`ipaadmin_password` | The admin password is a string and is required if there is no admin ticket available on the node | no
`ipaapi_context` | The context in which the module will execute. Executing in a server context is preferred. If not provided context will be determined by the execution environment. Valid values are `server` and `client`. | no
`ipaapi_ldap_cache` | Use LDAP cache for IPA connection. The bool setting defaults to yes. (bool) | no
`ipaapi_ldap_cache` | Use LDAP cache for IPA connection. The bool setting defaults to true. (bool) | no
`name` \| `ALIAS` | The list of $name name strings. | yes
`PARAMETER1` \| `API_PARAMETER_NAME` | DESCRIPTION | TYPE
`PARAMETER2` \| `API_PARAMETER_NAME` | DESCRIPTION | TYPE
......
......@@ -3,8 +3,8 @@
hosts: "{{ ipa_test_host | default('ipaserver') }}"
# Change "become" or "gather_facts" to "yes",
# if you test playbook requires any.
become: no
gather_facts: no
become: false
gather_facts: false
tasks:
......
......@@ -3,8 +3,8 @@
hosts: "{{ ipa_test_host | default('ipaserver') }}"
# Change "become" or "gather_facts" to "yes",
# if you test playbook requires any.
become: no
gather_facts: no
become: false
gather_facts: false
tasks:
......
......@@ -3,8 +3,8 @@
hosts: ipaclients, ipaserver
# Change "become" or "gather_facts" to "yes",
# if you test playbook requires any.
become: no
gather_facts: no
become: false
gather_facts: false
tasks:
- name: Include FreeIPA facts.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment