Category "ansible-2.x"

How do I create an Ansible "pre-handler" that runs before the task but only if the task needs to run?

How do I create an Ansible "pre-handler" that runs before the task, but only if the task needs to run? In other words, Ansible will first check if the task need

ansible playbook error was: ModuleNotFoundError: No module named 'azure.mgmt.monitor.version' although the module is installed

After upgrading ansible to version 2.10.5 and python3.8.10 my playbook.yml fails with this error. ModuleNotFoundError: No module named 'azure.mgmt.monitor.versi

Ansible: Remove item from dict

I have a situation where i am trying to remove the item from a list. but i am not getting expected result. Please help me what I am doing wrong here? here is

Ansible inventory variable undefined

I've defined a variable in my inventory file, but i get error variable is undefined when using it in play condition. inventory.yml: [nodes] node1 .... node1 .

Create Ansibles remote_tmp from config file variable

I want to fix the following warning by manually creating the path: Wednesday 22 January 2020 12:50:41 +0100 (0:00:05.878) 0:20:16.431 ***** [WARNING]: