playbook 구조
webserver.yml
1 |
|
yum_packages/tasks/main.yml
1 | - name: nodejs repo |
app.source/tasks/main.yml
1 | - name: pull from git |
배포 테스트
1 | [root@tcid ansible]# ansible-playbook webserver.yml |
1 |
|
1 | - name: nodejs repo |
1 | - name: pull from git |
1 | [root@tcid ansible]# ansible-playbook webserver.yml |