mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Directly implement need_ncat in openvpn/tasks/main.yml
This commit is contained in:
parent
b3cbd80679
commit
c4f81366bf
1 changed files with 3 additions and 2 deletions
|
@ -7,11 +7,12 @@
|
|||
#tags:
|
||||
# - download
|
||||
|
||||
- name: Install Ncat package (if need_ncat)
|
||||
- name: Install Ncat package (if Debian > 9 or Ubuntu > 18)
|
||||
package:
|
||||
name: ncat
|
||||
state: present
|
||||
when: need_ncat | bool
|
||||
when: is_debuntu and not (is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17 or is_ubuntu_18)
|
||||
#when: need_ncat | bool
|
||||
#tags:
|
||||
# - download
|
||||
|
||||
|
|
Loading…
Reference in a new issue