Ansible nginx role using ansible-galaxy
This commit is contained in:
7
ansible/roles/nginx/tasks/configure.yml
Normal file
7
ansible/roles/nginx/tasks/configure.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Copy nginx configuration file
|
||||
copy: src=files/nginx.conf dest=/etc/nginx/nginx.conf
|
||||
- name: Copy index.html file
|
||||
copy: src=files/index.html dest=/var/www/html
|
||||
notify:
|
||||
- restart nginx
|
||||
Reference in New Issue
Block a user