clarifies FAQ answer about env vars (#48432)

pull/48434/head
Alicia Cozine 6 years ago committed by Sandra McCann
parent 46fa68ac27
commit d27d956d71

@ -401,14 +401,14 @@ For environment variables on the TARGET machines, they are available via facts i
{{ ansible_env.SOME_VARIABLE }}
If you need to set environment variables for TASK execution, see the Advanced Playbooks section about environments.
There is no set way to set environment variables on your target machines, you can use template/replace/other modules to do so,
but the exact files to edit vary depending on your OS and distribution and local configuration.
If you need to set environment variables for TASK execution, see :ref:`playbooks_environment` in the :ref:`Advanced Playbooks <playbooks_special_topics>` section.
There are several ways to set environment variables on your target machines. You can use the :ref:`template <template_module>`, :ref:`replace <replace_module>`, or :ref:`lineinfile <lineinfile_module>` modules to introduce environment variables into files.
The exact files to edit vary depending on your OS and distribution and local configuration.
.. _user_passwords:
How do I generate crypted passwords for the user module?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
How do I generate encrypted passwords for the user module?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ansible ad-hoc command is the easiest option:

@ -1,8 +1,10 @@
.. _playbooks_special_topics:
Advanced Playbooks Features
===========================
Here are some playbook features that not everyone may need to learn, but can be quite useful for particular applications.
Browsing these topics is recommended as you may find some useful tips here, but feel free to learn the basics of Ansible first
Here are some playbook features that not everyone may need to learn, but can be quite useful for particular applications.
Browsing these topics is recommended as you may find some useful tips here, but feel free to learn the basics of Ansible first
and adopt these only if they seem relevant or useful to your environment.
.. toctree::

Loading…
Cancel
Save