rvm / rvm1-ansible

The official ansible RVM role to install and manage your Ruby versions.
MIT License
270 stars 136 forks source link

I don't get it. #203

Closed tvw closed 2 years ago

tvw commented 5 years ago

My playbook looks like this:

  roles:
    - my_first_role
    - my_second_role
    - my_third_role

with a file-system like this:

roles/
  my_first_role/
    tasks/
      main.yml
  my_second_role/
    tasks/
      main.yml
  my_third_role/
    tasks/
      main.yml

How can I install rvm and some rubies from within one of my roles?

Also the yaml used in the examples looks very strange to me and not very yaml.

tchia04 commented 5 years ago

You can always use a yaml syntax checker such as this one here to see if it has valid yaml syntax http://www.yamllint.com/

You can also look at the following link for the yaml syntax https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html

thbar commented 2 years ago

This sounds like a general Ansible question, more than something specific to the role. I will close for now, but please re-open if you have more interrogations.