mirror of https://github.com/Aidaho12/haproxy-wi
parent
f91f8e74d9
commit
438b2a5fee
|
@ -68,7 +68,6 @@
|
||||||
- git
|
- git
|
||||||
- zlib1g
|
- zlib1g
|
||||||
- zlib1g-dev
|
- zlib1g-dev
|
||||||
- libssl-dev-y
|
|
||||||
state: present
|
state: present
|
||||||
when: ansible_facts['os_family'] == 'Debian' or ansible_facts['os_family'] == 'Ubuntu'
|
when: ansible_facts['os_family'] == 'Debian' or ansible_facts['os_family'] == 'Ubuntu'
|
||||||
environment:
|
environment:
|
||||||
|
@ -87,7 +86,7 @@
|
||||||
remote_src: true
|
remote_src: true
|
||||||
|
|
||||||
- name: Get NGINX version
|
- name: Get NGINX version
|
||||||
shell: /usr/sbin/nginx -v 2>&1 |grep -oP '(?<=nginx\/).*(?=\s)'
|
shell: /usr/sbin/nginx -v
|
||||||
register: nginx_version
|
register: nginx_version
|
||||||
|
|
||||||
- name: Get NGINX parameters
|
- name: Get NGINX parameters
|
||||||
|
|
Loading…
Reference in New Issue