fix yes/no to true/false in loop documents etc (#80591)

pull/80845/head
Akira Yokochi 1 year ago committed by GitHub
parent e4194112a0
commit be02813d25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ Ansible expects to find certain files in certain places. As you expand your inve
├── second_playbook.yml
└── third_playbook.yml
The ``backup`` directory and the files in it get created when you run modules like ``vyos_config`` with the ``backup: yes`` parameter.
The ``backup`` directory and the files in it get created when you run modules like ``vyos_config`` with the ``backup: true`` parameter.
Tracking changes to inventory and playbooks: source control with git

@ -743,7 +743,7 @@ for additional configuration of WinRM connections:
* ``ansible_winrm_send_cbt``: When using ``ntlm`` or ``kerberos`` over HTTPS,
the authentication library will try to send channel binding tokens to
mitigate against man in the middle attacks. This flag controls whether these
bindings will be sent or not (default: ``yes``).
bindings will be sent or not (default: ``true``).
* ``ansible_winrm_*``: Any additional keyword arguments supported by
``winrm.Protocol`` may be provided in place of ``*``

@ -49,7 +49,7 @@ For example:
Running single tasks with ``check_mode: true`` can be useful for testing Ansible modules, either to test the module itself or to test the conditions under which a module would make changes. You can register variables (see :ref:`playbooks_conditionals`) on these tasks for even more detail on the potential changes.
.. note:: Prior to version 2.2 only the equivalent of ``check_mode: false`` existed. The notation for that was ``always_run: yes``.
.. note:: Prior to version 2.2 only the equivalent of ``check_mode: false`` existed. The notation for that was ``always_run: true``.
Skipping tasks or ignoring errors in check mode
-----------------------------------------------

@ -354,7 +354,7 @@ When looping over complex data structures, the console output of your task can b
The output of this task will display just the ``name`` field for each ``item`` instead of the entire contents of the multi-line ``{{ item }}`` variable.
.. note:: This is for making console output more readable, not protecting sensitive data. If there is sensitive data in ``loop``, set ``no_log: yes`` on the task to prevent disclosure.
.. note:: This is for making console output more readable, not protecting sensitive data. If there is sensitive data in ``loop``, set ``no_log: true`` on the task to prevent disclosure.
Pausing within a loop
---------------------
@ -454,7 +454,7 @@ Variable Description
.. versionadded:: 2.14
To disable the ``ansible_loop.allitems`` item, to reduce memory consumption, set ``loop_control.extended_allitems: no``.
To disable the ``ansible_loop.allitems`` item, to reduce memory consumption, set ``loop_control.extended_allitems: false``.
::

@ -23,7 +23,7 @@ Become directives
You can set the directives that control ``become`` at the play or task level. You can override these by setting connection variables, which often differ from one host to another. These variables and directives are independent. For example, setting ``become_user`` does not set ``become``.
become
set to ``yes`` to activate privilege escalation.
set to ``true`` to activate privilege escalation.
become_user
set to user with desired privileges — the user you `become`, NOT the user you login as. Does NOT imply ``become: true``, to allow it to be set at host level. Default value is ``root``.
@ -91,7 +91,7 @@ For example, if you want to run all tasks as ``root`` on a server named ``webser
.. code-block:: text
webserver ansible_user=manager ansible_become=yes
webserver ansible_user=manager ansible_become=true
.. note::
The variables defined above are generic for all become plugins but plugin specific ones can also be set instead.

@ -30,7 +30,7 @@ Here is a most basic example:
ansible.builtin.debug:
msg: 'Logging in as {{ username }}'
The user input is hidden by default but it can be made visible by setting ``private: no``.
The user input is hidden by default but it can be made visible by setting ``private: false``.
.. note::
Prompts for individual ``vars_prompt`` variables will be skipped for any variable that is already defined through the command line ``--extra-vars`` option, or when running from a non-interactive session (such as cron or Ansible AWX). See :ref:`passing_variables_on_the_command_line`.

@ -217,13 +217,13 @@ Every Ansible ACI module accepts the following parameters that influence the mod
Timeout value for socket-level communication.
use_proxy
Use system proxy settings. (Defaults to ``yes``)
Use system proxy settings. (Defaults to ``true``)
use_ssl
Use HTTPS or HTTP for APIC REST communication. (Defaults to ``yes``)
Use HTTPS or HTTP for APIC REST communication. (Defaults to ``true``)
validate_certs
Validate certificate when using HTTPS communication. (Defaults to ``yes``)
Validate certificate when using HTTPS communication. (Defaults to ``true``)
output_level
Influence the level of detail ACI modules return to the user. (One of ``normal``, ``info`` or ``debug``) *New in version 2.5*

@ -65,13 +65,13 @@ All Ansible Meraki modules support the following parameters which affect communi
Hostname or IP of Meraki Dashboard.
use_https
Specifies whether communication should be over HTTPS. (Defaults to ``yes``)
Specifies whether communication should be over HTTPS. (Defaults to ``true``)
use_proxy
Whether to use a proxy for any communication.
validate_certs
Determine whether certificates should be validated or trusted. (Defaults to ``yes``)
Determine whether certificates should be validated or trusted. (Defaults to ``true``)
These are the common parameters which are used for most every module.

Loading…
Cancel
Save