main.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ---
  2. galaxy_info:
  3. author: {{cookiecutter.full_name}}
  4. description: {{ cookiecutter.short_description }}
  5. company: {{ cookiecutter.company_name }}
  6. min_ansible_version: {{cookiecutter.min_ansible_version}}
  7. # If this a Container Enabled role, provide the minimum Ansible Container version.
  8. # min_ansible_container_version:
  9. # Optionally specify the branch Galaxy will use when accessing the GitHub
  10. # repo for this role. During role install, if no tags are available,
  11. # Galaxy will use this branch. During import Galaxy will access files on
  12. # this branch. If Travis integration is configured, only notifications for this
  13. # branch will be accepted. Otherwise, in all cases, the repo's default branch
  14. # (usually master) will be used.
  15. #github_branch:
  16. #
  17. # platforms is a list of platforms, and each platform has a name and a list of versions.
  18. #
  19. platforms:
  20. - name: {{ cookiecutter.target_os }}
  21. versions:
  22. - all
  23. # - 25
  24. # - name: SomePlatform
  25. # versions:
  26. # - all
  27. # - 1.0
  28. # - 7
  29. # - 99.99
  30. {% if cookiecutter.galaxy_tags == "" %}
  31. galaxy_tags: []
  32. {% else %}
  33. galaxy_tags:
  34. {% for tag in cookiecutter.galaxy_tags.split(',') -%}
  35. - {{ tag }}
  36. {% endfor -%}
  37. {% endif %}
  38. {% if cookiecutter.dependencies == "" %}
  39. dependencies: []
  40. {% else %}
  41. dependencies:
  42. {% for tag in cookiecutter.dependencies.split(',') -%}
  43. - {{ tag }}
  44. {% endfor -%}
  45. {% endif %}