I'm trying to automate our monthly patch process for CentOS servers. We receive a list of servers from our Linux team each month that says which servers need to be patched and/or rebooted. I'm wanting to have needs_patch and needs_reboot variables attached to each host. So, each month we would have a playbook reset all of those to false, and then using the list from the Linux team, another playbook would set the necessary ones to true. Then the actual patch/reboot playbook would do the work based on the true variables and set the variables back to false upon success. I'm having trouble determining if this is possible, and if so, what the correct way is of doing this in the YAML. If anyone has suggestions or perhaps a better way of achieving the same result, that would be greatly appreciated.
Thanks! Chad -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/bbf9971b-97f3-4a46-8a85-ea878247ffdfn%40googlegroups.com.
