From 9309f6e02d1add8a4ac58c5fb045c140ad6d31de Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 5 Feb 2017 11:00:37 +0200 Subject: [PATCH] - For Ansible to work of the box, the python symlink MUST be at /usr/bin/python. --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 0dca410..c13085f 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 -- GitLab