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