first commit
This commit is contained in:
4
roles/nginx/tasks/enable_ip.yml
Normal file
4
roles/nginx/tasks/enable_ip.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
- name: uncomment {{ip}} in upstream.conf
|
||||
shell: cd /etc/nginx/conf.d && sed -i "/^# *server {{ip}}/s/^#//" upstream.conf && nginx -s reload
|
||||
|
||||
Reference in New Issue
Block a user