Skip to content
Snippets Groups Projects
Commit 8cd31e7e authored by nimrod's avatar nimrod
Browse files

- Replace ansible_distribution_release with ansible_distribution_version for...

- Replace ansible_distribution_release with ansible_distribution_version for OpenBSD hosts (the facts were reversed before Ansible 2.3.0.0).
parent 96ec366f
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,9 @@
cache_valid_time: 3600
- name: pkg install sudo
when: ansible_pkg_mgr == 'openbsd_pkg' and ansible_distribution_release|version_compare('5.7', '>')
when: ansible_pkg_mgr == 'openbsd_pkg' and ansible_distribution_version|version_compare('5.7', '>')
openbsd_pkg:
name: '{{ users_sudo_pkg[ansible_distribution_release] }}'
name: '{{ users_sudo_pkg[ansible_distribution_version] }}'
state: present
- name: Create sudoers.d directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment