Created
April 13, 2017 04:32
-
-
Save giangstrider/d1763e15ccece53806c0acc0ad2aa70c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - hosts: all | |
| remote_user: "{{ ansible_user }}" | |
| vars_files: | |
| - group_vars/webserver.yml | |
| sudo: yes | |
| roles: | |
| - { role: php } | |
| - { role: geerlingguy.composer } | |
| - hosts: all | |
| remote_user: "{{ ansible_user }}" | |
| sudo: yes | |
| roles: | |
| - { role: grant_access } | |
| - hosts: all | |
| become: yes | |
| roles: | |
| - { role: rvm_io.ruby, become: yes, rvm1_rubies: ['ruby-2.3.1'], tags: ['app', 'ruby'] } | |
| - { role: config_local } | |
| - hosts: all | |
| become: yes | |
| vars_files: | |
| - group_vars/database.yml | |
| roles: | |
| - { role: geerlingguy.mysql } | |
| - { role: replication.mysql } | |
| - { role: setup } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment