--- - name: Install asdf git: repo: https://github.com/asdf-vm/asdf.git dest: ~/.asdf - name: Ensure asdf got installed file: path: ~/.asdf state: directory - name: asdf - python shell: ~/.asdf/bin/asdf plugin-add python args: creates: ~/.asdf/plugins/python - name: asdf - ruby shell: ~/.asdf/bin/asdf plugin-add ruby args: creates: ~/.asdf/plugins/ruby - name: setup default gems file: src: ~/.dotfiles/defaults/default-gems dest: ~/.default-gems state: link force: yes - name: asdf - nodejs shell: ~/.asdf/bin/asdf plugin-add nodejs args: creates: ~/.asdf/plugins/nodejs - name: asdf - erlang shell: ~/.asdf/bin/asdf plugin-add erlang args: creates: ~/.asdf/plugins/erlang - name: asdf - elixir shell: ~/.asdf/bin/asdf plugin-add elixir args: creates: ~/.asdf/plugins/elixir