mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-26 09:12:09 +07:00
Remove legacy code
This commit is contained in:
@@ -1,20 +1,5 @@
|
||||
---
|
||||
|
||||
- name: SET_FACT | Backward compatibility (nginx_vhosts)
|
||||
set_fact:
|
||||
nginx_sites: "{{ nginx_vhosts }}"
|
||||
when: nginx_vhosts is defined
|
||||
|
||||
- name: SET_FACT | Backward compatibility (nginx_default_vhost_ssl)
|
||||
set_fact:
|
||||
nginx_default_site_ssl: "{{ nginx_default_vhost_ssl }}"
|
||||
when: nginx_default_vhost_ssl is defined
|
||||
|
||||
- name: SET_FACT | Backward compatibility (nginx_default_vhost)
|
||||
set_fact:
|
||||
nginx_default_site: "{{ nginx_default_vhost }}"
|
||||
when: nginx_default_vhost is defined
|
||||
|
||||
- name: SHELL | Get Nginx version
|
||||
shell: nginx -v 2>&1 | sed -r 's#.*/##;' | cut -d ' ' -f 1
|
||||
args:
|
||||
|
||||
Reference in New Issue
Block a user