src.nth.io/

summaryrefslogtreecommitdiff
path: root/nginx-html-root
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-06-15 23:25:16 -0500
committerLuke Hoersten <[email protected]>2020-06-15 23:25:16 -0500
commita10a0a3f06f514e4e7968b1b8db37342211979a7 (patch)
tree2e801be7e2a01490d2c3159ab8fd4db0c99f163d /nginx-html-root
parentc3b3d832a2a53b32ab561ca38fe37df820615e90 (diff)
Added stream support to nginx configs.
Diffstat (limited to 'nginx-html-root')
-rw-r--r--nginx-html-root/meta/main.yaml4
-rw-r--r--nginx-html-root/tasks/main.yaml22
2 files changed, 0 insertions, 26 deletions
diff --git a/nginx-html-root/meta/main.yaml b/nginx-html-root/meta/main.yaml
deleted file mode 100644
index b1ddd3f..0000000
--- a/nginx-html-root/meta/main.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
----
-
-dependencies:
- - role: nginx
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"