Loading tasks/main.yml +7 −0 Original line number Diff line number Diff line Loading @@ -35,3 +35,10 @@ regexp: '^installpath =' state: present create: yes - name: pkg install sudo when: ansible_distribution_release|version_compare('5.7', '>') ignore_errors: "{{ ansible_check_mode }}" openbsd_pkg: name: '{{ openbsd_bootstrap_sudo_pkg[ansible_distribution_release] }}' state: present vars/main.yml +6 −0 Original line number Diff line number Diff line --- # vars file for openbsd-bootstrap ansible_python_interpreter: '/usr/local/bin/python2.7' ansible_become_method: '{{ openbsd_bootstrap_check_sudo.stdout_lines.0 if openbsd_bootstrap_check_sudo is defined else None }}' openbsd_bootstrap_sudo_pkg: '5.8': sudo-1.8.14.3 '5.9': sudo-1.8.15 '6.0': sudo-1.8.17.1 Loading
tasks/main.yml +7 −0 Original line number Diff line number Diff line Loading @@ -35,3 +35,10 @@ regexp: '^installpath =' state: present create: yes - name: pkg install sudo when: ansible_distribution_release|version_compare('5.7', '>') ignore_errors: "{{ ansible_check_mode }}" openbsd_pkg: name: '{{ openbsd_bootstrap_sudo_pkg[ansible_distribution_release] }}' state: present
vars/main.yml +6 −0 Original line number Diff line number Diff line --- # vars file for openbsd-bootstrap ansible_python_interpreter: '/usr/local/bin/python2.7' ansible_become_method: '{{ openbsd_bootstrap_check_sudo.stdout_lines.0 if openbsd_bootstrap_check_sudo is defined else None }}' openbsd_bootstrap_sudo_pkg: '5.8': sudo-1.8.14.3 '5.9': sudo-1.8.15 '6.0': sudo-1.8.17.1