New answers tagged ansible
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 ...
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 ...
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. ...
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
Top 50 recent answers are included
Related Tags
ansible × 1764ansible-playbook × 433
linux × 133
ssh × 104
ansible-tower × 58
amazon-web-services × 56
ubuntu × 55
python × 50
automation × 48
configuration-management × 44
vagrant × 43
yaml × 38
amazon-ec2 × 36
docker × 34
windows × 30
deployment × 28
centos × 27
jinja × 25
jenkins × 23
ansible-galaxy × 23
redhat × 21
sudo × 21
ssh-keys × 21
jinja2 × 21
configuration × 20