New answers tagged

0 votes

How to install postgres and create new user and db using ansible playbook?

You can read in this link that: Ansible modules are executed on the remote machine by first substituting the parameters into the module file, then copying the file to the remote machine, and finally ...
J.M. Robles's user avatar
  • 1,055
0 votes
Accepted

ansible handler with when condition

Change the condition when: use_handler|bool The type of the variable use_handler is a string when declared in the INI format of the option --extra-vars use_handler=true You can test it if you ...
Vladimir Botka's user avatar
0 votes

ansible handler with when condition

I got my answer from another forum The problem is that it’s impractical to pass a bool into a run with key=value style extra variables on the command line. To set a bool, you’ll need to use JSON. ...
EricHymowitz's user avatar
0 votes

Automatic way to find where variables are coming from in Ansible

Asked feature request: https://github.com/ansible/ansible/issues/82204 - Identifying origin of variable: env var / -e / host file / group file
gavenkoa's user avatar
  • 832

Top 50 recent answers are included