From a10a0a3f06f514e4e7968b1b8db37342211979a7 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Mon, 15 Jun 2020 23:25:16 -0500 Subject: Added stream support to nginx configs. --- nginx-html-root/tasks/main.yaml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 nginx-html-root/tasks/main.yaml (limited to 'nginx-html-root/tasks') diff --git a/nginx-html-root/tasks/main.yaml b/nginx-html-root/tasks/main.yaml deleted file mode 100644 index 3401ba0..0000000 --- a/nginx-html-root/tasks/main.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- - -- name: install nginx packages - become: yes - apt: name="nginx" - -- name: disable default site - become: yes - file: path="/etc/nginx/sites-enabled/default" state="absent" - notify: restart nginx - -- name: create http directory - become: yes - file: path="{{nginx_html_root}}" state="directory" - -- name: install root files - become: yes - copy: src="{{nginx_html_src}}" dest="{{nginx_html_root}}" - -- name: enable nginx service - become: yes - systemd: name="nginx" enabled="yes" state="started" -- cgit v1.2.3