diff --git a/playbooks/launch b/playbooks/launch index 72d2140..7d88bc9 100755 --- a/playbooks/launch +++ b/playbooks/launch @@ -15,7 +15,7 @@ elif [[ $(uname) == "Linux" ]]; then elif [[ $(command -v apt) ]]; then sudo apt install -y ansible python3-apt # ubuntu doesn't create a /usr/bin/python, so we have to make one ourselves - ln -s /usr/bin/python3 /usr/bin/python + ln -sf /usr/bin/python3 /usr/bin/python elif [[ $(command -v dnf) ]]; then sudo dnf install ansible -y fi diff --git a/playbooks/roles/anyenv/tasks/main.yml b/playbooks/roles/anyenv/tasks/main.yml index cc85b55..51729ff 100644 --- a/playbooks/roles/anyenv/tasks/main.yml +++ b/playbooks/roles/anyenv/tasks/main.yml @@ -45,9 +45,9 @@ creates: ~/.anyenv/envs/exenv - name: anyenv plugin dir - shell: mkdir ~/.anyenv/plugins - args: - creates: ~/.anyenv/plugins + file: + path: ~/.anyenv/plugins + state: directory - name: anyenv update plugin shell: git clone https://github.com/znz/anyenv-update.git ~/.anyenv/plugins/anyenv-update