Controlling the Hosts Execution of Ansible Playbooks

preview_player
Показать описание
I this video you will learn the controlling of Ansible Playbooks execution, restricting it to limited hosts. I n some respects hard coding the hosts keys is obvious, but also can be risky if the Ansible Playbook is executed without checked. There is the option --limit to limit which the hosts execution list. However, that is dependent on you remembering to do this. Far better is that you use a variable for your hosts key value. If you forget to supply the variable the play cannot execute, so you have to suplly the value and gice thought to the execution

Рекомендации по теме
visit shbcf.ru