Ansible nginx role using ansible-galaxy

This commit is contained in:
2019-08-15 07:27:57 +00:00
parent eeafed8f36
commit c42ffc0edc
16 changed files with 319 additions and 0 deletions

View 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