ansible-playbook apache install 썸네일형 리스트형 [Ansible] ansible-playbook apache(httpd) install ansible-playbook apache(httpd) install os-pkg-apache.yaml edit vim os-pkg-apache.yaml --- ### ansible -i ~/ansible-spec/inventory kube-node1 -m gather_facts ### ansible-doc yum ### ansible-doc apt - hosts: all gather_facts: yes tasks: - name: install apache on centos yum: name: httpd state: present when: ansible_facts['distribution'] == "CentOS" and ansible_facts['lsb']['major_release'] | int >=.. 더보기 이전 1 다음