mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-05 10:41:12 -03:30
install docker on a largest number of linux distribution (based on https://github.com/marklee77/ansible-role-docker)
This commit is contained in:
12
roles/common/tasks/main.yml
Normal file
12
roles/common/tasks/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- include: download.yml
|
||||
delegate_to: localhost
|
||||
when: inventory_hostname == "{{ groups['kube-master'][0] }}"
|
||||
|
||||
- include: pip-bootstrap.yml
|
||||
|
||||
- name: Install httplib2 python module
|
||||
pip:
|
||||
executable: "{{ ansible_user_dir }}/bin/pip"
|
||||
name: "{{ item }}"
|
||||
with_items: pip_python_modules
|
||||
Reference in New Issue
Block a user