present1 ansible state command 필요없이 state를 통해서 작성이 가능하다 (가급적 command 지양)예) yum install httpd 설치가 필요한 경우- name: Redhat(CentOS/Rocky) Install packages yum: name: - httpd state: presentpresent: 설치installed: 설치latest: 최신 버전 설치absent: 제거remove: 제거 2024. 5. 6. 이전 1 다음