Skip to content
Go to file
Cannot retrieve contributors at this time
16 lines (15 sloc) 522 Bytes
# Configure server. This playbook is run after a server is provisioned but
# before a project is deployed, to configure the system, add user accounts,
# and setup long-running processes like nginx, postgres, etc.
- hosts: all
become: yes
become_method: sudo
- {role: configure, tags: configure}
- {role: users, tags: users}
- {role: nginx, tags: nginx}
- name: reload nginx
service: name=nginx state=reloaded
- name: restart sshd
service: name=ssh state=restarted
You can’t perform that action at this time.