DevOps/Ansible2022. 4. 19. 23:41[Ansible] 반복문(Loops)

✔️ 반복문 Loops — Ansible Documentation Loops Ansible offers the loop, with_ , and until keywords to execute a task multiple times. Examples of commonly-used loops include changing ownership on several files and/or directories with the file module, creating multiple users with the user module, a docs.ansible.com ✔️ 반복문의 키워드 Task 레벨에서 쓸 수 있는 키워드로 Play 레벨에서는 반복 키워드가 없어 반복문을 사용할 수 없다. loop until with_..

image