Ansible Constructed
I am trying to create dynamic inventories using the constructed plugin, but I am facing an issue. I have to specify both the classic inventory with the hosts and the constructed inventory for it to work. Even if I use -i inventory/ with the directory containing both inventories, it doesn’t change anything.
using ansible to stop all container but with exemption if name is
using ansible, i want to stop all running docker container except for the container whose name I will specify
using ansible, i want to check if the file on path exist so i can modify it
I keep getting msg”: “‘dict object’ has no attribute ‘item'”
Ansible cron job is not working for two tasks
below is the main.yml