mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2025-11-07 08:00:05 +00:00
removed giteaUninstall var
This commit is contained in:
@@ -22,14 +22,12 @@
|
||||
dest: /etc/nginx/conf.d/git.{{ domain }}.conf
|
||||
force: no
|
||||
notify: setup nginx
|
||||
when: giteaPort is defined and giteaUninstall == false
|
||||
|
||||
- name: Uninstall nginx config for git.{{ domain }}
|
||||
file:
|
||||
path: /etc/nginx/conf.d/git.{{ domain }}.conf
|
||||
state: absent
|
||||
notify: setup nginx
|
||||
when: giteaPort is not defined or (giteaUninstall is defined and giteaUninstall)
|
||||
|
||||
- name: Install nginx config for our Hidden Service
|
||||
template:
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
- name: Setup certbot for git.{{ domain }}
|
||||
shell: "certbot --nginx --non-interactive --agree-tos -m {{ contact_email }} -d git.{{ domain }}"
|
||||
when: giteaPort is defined and giteaUninstall == false
|
||||
|
||||
- name: Reload Nginx
|
||||
systemd:
|
||||
|
||||
Reference in New Issue
Block a user