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.

16 lines
436 B

  1. ---
  2. # raw: cat /etc/issue.net | grep '{{ bootstrap_versions }}'
  3. - name: Bootstrap | Check if bootstrap is needed
  4. raw: which python
  5. register: need_bootstrap
  6. failed_when: false
  7. tags: facts
  8. - name: Bootstrap | Install python 2.x
  9. raw: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python-minimal
  10. when: need_bootstrap | failed
  11. - set_fact:
  12. ansible_python_interpreter: "/usr/bin/python"
  13. tags: facts