fix ansible 2.8 deprecation warning
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
bbd8501669
commit
89a8fba5ba
|
@ -2,7 +2,7 @@
|
|||
- import_tasks: pam.yml
|
||||
- import_tasks: auth.yml
|
||||
- import_tasks: tls.yml
|
||||
when: pve_tls_enabled
|
||||
when: pve_tls_enabled | bool
|
||||
tags: tls_renewal
|
||||
- import_tasks: nginx.yml
|
||||
when: pve_nginx_vhost_enabled
|
||||
when: pve_nginx_vhost_enabled | bool
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
label: "{{ item.dest }}"
|
||||
notify: __nginx_reload
|
||||
delegate_to: "{{ pve_nginx_server }}"
|
||||
when: pve_nginx_tls_enabled
|
||||
when: pve_nginx_tls_enabled | bool
|
||||
become: True
|
||||
become_user: root
|
||||
tags: tls_renewal
|
||||
|
@ -42,7 +42,7 @@
|
|||
name: allow_pve_nginx_proxy
|
||||
state: present
|
||||
rules: '-A OUTPUT -m state --state NEW -p tcp -d {{ pve_server_ip }} --dport {{ pve_server_port }} -j ACCEPT'
|
||||
when: pve_nginx_iptables_enabled
|
||||
when: pve_nginx_iptables_enabled | bool
|
||||
delegate_to: "{{ pve_nginx_server }}"
|
||||
become: True
|
||||
become_user: root
|
||||
|
|
Loading…
Reference in New Issue