summaryrefslogtreecommitdiff
path: root/roles/webservers/tasks
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-10-14 22:16:04 -0400
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-10-14 22:16:04 -0400
commit27213e690c9e64bdc6084bb4daa3e1589b01f4d0 (patch)
treec1c3a58151247e924c72782faf0fc0860ed2b272 /roles/webservers/tasks
parente083b30ea26e59a954085bbafbb311b10b241ad3 (diff)
downloadoldinfra-27213e690c9e64bdc6084bb4daa3e1589b01f4d0.tar.gz
oldinfra-27213e690c9e64bdc6084bb4daa3e1589b01f4d0.zip
woah
Diffstat (limited to 'roles/webservers/tasks')
-rw-r--r--roles/webservers/tasks/main.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/roles/webservers/tasks/main.yml b/roles/webservers/tasks/main.yml
index 7047baf..6c6fef4 100644
--- a/roles/webservers/tasks/main.yml
+++ b/roles/webservers/tasks/main.yml
@@ -17,9 +17,6 @@
- name: install nginx
apt: name=nginx state=latest
-- name: install libnginx-mod-http-set-misc
- apt: name=libnginx-mod-http-set-misc state=latest
-
- name: install letsencrypt
apt: name=letsencrypt state=latest
@@ -45,6 +42,7 @@
dest: "/etc/nginx/sites-enabled/"
with_fileglob:
- "files/{{ inventory_hostname }}/http.*.conf"
+ - "files/{{ inventory_hostname }}/https.*.conf"
- name: restart nginx to get letsencrypt certificate
service: name=nginx state=restarted enabled=yes
@@ -70,7 +68,7 @@
args:
creates: "/etc/letsencrypt/live/{{ item.stdout }}"
loop: "{{ extracted_domains.results }}"
- when: 'not "hatecomputers.club" in item.stdout'
+ when: 'not "hatecomputers.club" in item.stdout and not "rainrain" in item.stdout'
# hatecomputers.club
- name: build plugin template
@@ -106,6 +104,7 @@
dest: "/etc/nginx/sites-enabled/"
with_fileglob:
- "files/{{ inventory_hostname }}/https.*.conf"
+ - "files/{{ inventory_hostname }}/https.*.servconf"
- name: reload nginx to activate sites
service: name=nginx state=restarted