mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-03 17:06:02 +02:00
Merged client playbook and server playbook
This commit is contained in:
17
roles/server_native-nginx/tasks/main.yml
Normal file
17
roles/server_native-nginx/tasks/main.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: install nginx
|
||||
pacman: name=nginx state=present
|
||||
notify: restart nginx
|
||||
|
||||
- name: set /etc/nginx/conf.d
|
||||
file:
|
||||
path: /etc/nginx/conf.d
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: create nginx config file
|
||||
template: src=nginx.conf.j2 dest=/etc/nginx/nginx.conf
|
||||
notify: restart nginx
|
||||
|
||||
- name: flush nginx service
|
||||
meta: flush_handlers
|
Reference in New Issue
Block a user