1. Ansible server에 playbook 만들기 [root@AnsibleServer ~]# vi test.yml --- - hosts: nginx remote_user : root tasks: - name: install epel-release yum : name=epel-release state=latest - name: install nginx web server yum: name=nginx state=present - name : Start nginx web server service: name=nginx state=started 2. playbook 실행하기 [root@AnsibleServer ~]# ansible-playbook test.yml -k 꼭 -k를 넣기로 하자,,,, -k ..