forked from evolix/ansible-roles
openvpn: let tasks using openbsd_pkg but commented
This commit is contained in:
parent
f4e6aabe8a
commit
16394060c9
|
@ -1,5 +1,10 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
|
# openbsd_pkg is broken since OpenBSD 7.4 with the version of Ansible we currently use
|
||||||
|
#- name: Install OpenVPN
|
||||||
|
# community.general.openbsd_pkg:
|
||||||
|
# name: openvpn--
|
||||||
|
|
||||||
- name: Check if OpenVPN is already installed
|
- name: Check if OpenVPN is already installed
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: pkg_info -Iq inst:openvpn
|
cmd: pkg_info -Iq inst:openvpn
|
||||||
|
@ -123,14 +128,20 @@
|
||||||
check_mode: no
|
check_mode: no
|
||||||
register: nrpe_evolix_config
|
register: nrpe_evolix_config
|
||||||
|
|
||||||
- name: Check if NRPE check dependenciy is already installed
|
# openbsd_pkg is broken since OpenBSD 7.4 with the version of Ansible we currently use
|
||||||
|
#- name: Install NRPE check dependency
|
||||||
|
# community.general.openbsd_pkg:
|
||||||
|
# name: p5-Net-Telnet
|
||||||
|
# when: nrpe_evolix_config.stat.exists
|
||||||
|
|
||||||
|
- name: Check if NRPE check dependency is already installed
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: pkg_info -Iq inst:p5-Net-Telnet
|
cmd: pkg_info -Iq inst:p5-Net-Telnet
|
||||||
register: is_installed
|
register: is_installed
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Install p5-Net-Telnet
|
- name: Install NRPE check dependency
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: pkg_add p5-Net-Telnet
|
cmd: pkg_add p5-Net-Telnet
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue