diff --git a/tasks/main.yml b/tasks/main.yml index 0dca410f2eb3bda1c13ac318bace1aad041ee42b..c13085f72c6000212e738c91e918503e608b368d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -21,11 +21,11 @@ - name: Symlink python with_items: - - python - - python2 + - /usr/bin/python + - /usr/local/bin/python2 ignore_errors: '{{ ansible_check_mode }}' file: - path: '/usr/local/bin/{{ item }}' + path: '{{ item }}' src: /usr/local/bin/python2.7 state: link owner: root