Skip to content

Commit

Permalink
Optionally not deactivate other sites. Fix #46 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagogomesverissimo authored May 20, 2021
1 parent eedaa01 commit d24a1b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ nginx_revproxy_sites: # List of sites to
letsencrypt_email: "" # Set email for letencrypt cert

nginx_revproxy_certbot_auto: false

# Remove WebRoot Sites
nginx_revproxy_remove_webroot_sites: true

# De-activate Sites
nginx_revproxy_de_activate_sites: true
2 changes: 2 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
notify: Reload Nginx
when:
- item not in nginx_revproxy_sites
- nginx_revproxy_de_activate_sites
tags:
- nginxrevproxy

Expand Down Expand Up @@ -187,6 +188,7 @@
notify: Reload Nginx
when:
- item not in nginx_revproxy_sites
- nginx_revproxy_remove_webroot_sites
tags:
- nginxrevproxy

Expand Down

0 comments on commit d24a1b6

Please # to comment.