카테고리 없음
ansible 일부 task만 serial하게 1번에 1개의 호스트만 실행하게 하기
땅진
2019. 11. 26. 13:46
How to run a particular task serially in the middle of the play in Ansible.
Assume that we have the following inventory file: [Target] host1 host2 host3 As we all know that to running the playbook serially against the group of hosts can be achieved by using serial keyword:…
shasawas.wordpress.com
참고로
같은 Host 접근하는데에 대한 변수는 같은 playbook 으로 실행되면 변수가 공유가 됨.
변수 공유 내용은 아래 링크 참조
How to pass variable from one playbook to another playbook ? Ansible - UnixArena
How to pass the variable from one playbook to another playbook same playbook ? How to pass the variable between two differnent hosts in same playbook ?
www.unixarena.com