DevOps/Ansible2022. 4. 20. 21:52[Ansible] 블록 (Block)

✔️ 블록 Blocks — Ansible Documentation Blocks create logical groups of tasks. Blocks also offer ways to handle task errors, similar to exception handling in many programming languages. All tasks in a block inherit directives applied at the block level. Most of what you can apply to a single tas docs.ansible.com 블록 - 여러 작업을 묶어놓은 그룹 ✔️ 블록의 기능 1. 여러 작업에 공통의 키워드를 부여할 수 있음 (ex. 조건문) tasks: - name: Inst..

image