Skip to content
Snippets Groups Projects
Commit df2b2d74 authored by Özgür Caner's avatar Özgür Caner Committed by Antoine Legrand
Browse files

Added bootstrap script for Ubuntu 16.04 LTS and later

parent 2606e8e1
No related branches found
No related tags found
No related merge requests found
---
bootstrap_versions: Ubuntu 1[6-9]\|2[0-9]\.
\ No newline at end of file
---
# raw: cat /etc/issue.net | grep '{{ bootstrap_versions }}'
- name: Bootstrap | Check if bootstrap is needed
raw: which python
register: need_bootstrap
ignore_errors: True
- name: Bootstrap | Install python 2.x
raw: DEBIAN_FRONTEND=noninteractive apt install -y python-minimal
when: need_bootstrap | failed
- set_fact:
ansible_python_interpreter: "/usr/bin/python"
\ No newline at end of file
---
- hosts: all
gather_facts: False
roles:
- ubuntu-bootstrap
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment