godong9 / ansible-deploy

Ansible deploy project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-deploy

Ansible deploy project

Install ansible

$ brew install ansible

Add deploy user

$ sudo adduser deploy
$ sudo visudo

    deploy ALL=(ALL:ALL) ALL

Server setup (Ubuntu)

$ ansible-playbook -i inventories/{{stage}} server_setup.yml

Nginx service

$ ansible-playbook -i inventories/{{stage}} nginx_service.yml -e start=true

Board 배포

$ ansible-playbook -i inventories/{{stage}} board_deploy.yml

참고

Ansible Best Practices Ansible Examples

About

Ansible deploy project

License:MIT License


Languages

Language:Shell 100.0%