mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-22 21:46:02 -03:30
Normalize tags in all places to prepare for tag fixing in future (#1739)
This commit is contained in:
committed by
Matthew Mosesohn
parent
cb611b5ed0
commit
9c86da1403
@@ -3,7 +3,8 @@
|
||||
raw: stat /opt/bin/.bootstrapped
|
||||
register: need_bootstrap
|
||||
failed_when: false
|
||||
tags: facts
|
||||
tags:
|
||||
- facts
|
||||
|
||||
- name: Bootstrap | Run bootstrap.sh
|
||||
script: bootstrap.sh
|
||||
@@ -11,7 +12,8 @@
|
||||
|
||||
- set_fact:
|
||||
ansible_python_interpreter: "/opt/bin/python"
|
||||
tags: facts
|
||||
tags:
|
||||
- facts
|
||||
|
||||
- name: Bootstrap | Check if we need to install pip
|
||||
shell: "{{ansible_python_interpreter}} -m pip --version"
|
||||
@@ -20,7 +22,8 @@
|
||||
changed_when: false
|
||||
check_mode: no
|
||||
when: need_bootstrap.rc != 0
|
||||
tags: facts
|
||||
tags:
|
||||
- facts
|
||||
|
||||
- name: Bootstrap | Copy get-pip.py
|
||||
copy:
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
with_items:
|
||||
- python
|
||||
- pip
|
||||
tags: facts
|
||||
tags:
|
||||
- facts
|
||||
|
||||
- name: Bootstrap | Install python 2.x and pip
|
||||
raw:
|
||||
@@ -19,4 +20,5 @@
|
||||
|
||||
- set_fact:
|
||||
ansible_python_interpreter: "/usr/bin/python"
|
||||
tags: facts
|
||||
tags:
|
||||
- facts
|
||||
|
||||
Reference in New Issue
Block a user