Loading tasks/main.yml +9 −6 Original line number Diff line number Diff line Loading @@ -7,15 +7,18 @@ failed_when: "'error' in openbsd_pkg_add_python.stdout|lower" changed_when: "'py-pip' in openbsd_pkg_add_python.stdout" - name: Symlink python raw: ln -fs /usr/local/bin/python2.7 /usr/bin/python changed_when: False # Can't tell if a change was made. tags: - skip_ansible_lint - name: Gather facts setup: - name: Symlink python file: path: /usr/bin/python src: /usr/local/bin/python2.7 state: link owner: root group: 0 mode: 0o0755 - name: Configure pkg lineinfile: dest: /etc/pkg.conf Loading vars/main.yml +1 −0 Original line number Diff line number Diff line --- # vars file for ansible-role-openbsd-bootstrap ansible_python_interpreter: '/usr/local/bin/python2.7' Loading
tasks/main.yml +9 −6 Original line number Diff line number Diff line Loading @@ -7,15 +7,18 @@ failed_when: "'error' in openbsd_pkg_add_python.stdout|lower" changed_when: "'py-pip' in openbsd_pkg_add_python.stdout" - name: Symlink python raw: ln -fs /usr/local/bin/python2.7 /usr/bin/python changed_when: False # Can't tell if a change was made. tags: - skip_ansible_lint - name: Gather facts setup: - name: Symlink python file: path: /usr/bin/python src: /usr/local/bin/python2.7 state: link owner: root group: 0 mode: 0o0755 - name: Configure pkg lineinfile: dest: /etc/pkg.conf Loading
vars/main.yml +1 −0 Original line number Diff line number Diff line --- # vars file for ansible-role-openbsd-bootstrap ansible_python_interpreter: '/usr/local/bin/python2.7'