Библиотека ansible плейбуков на разные случаи
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

project.yml 286B

1234567891011121314
  1. ---
  2. # special task with python3 interpreter to install python2
  3. - name: Checkout python2
  4. hosts: project
  5. vars:
  6. ansible_python_interpreter: /usr/bin/python3
  7. roles:
  8. - python2
  9. # next tasks you can run as usual
  10. - name: Configure platform
  11. hosts: project
  12. roles:
  13. - system