mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-20 04:30:10 -03:30
Allowing etcd to run via rkt
This commit is contained in:
@@ -14,12 +14,6 @@
|
||||
skip: true
|
||||
tags: facts
|
||||
|
||||
#- name: download rkt pkg
|
||||
# get_url:
|
||||
# url: "{{ rkt_download_url }}/{{rkt_pkg_name}}"
|
||||
# dest: "{{ local_release_dir }}"
|
||||
# when: (ansible_os_family != "CoreOS") and "rkt" in [ etcd_deployment_type, kubelet_deployment_type ]
|
||||
|
||||
- name: install rkt pkg on ubuntu
|
||||
apt:
|
||||
deb: "{{ rkt_download_url }}/{{ rkt_pkg_name }}"
|
||||
@@ -28,9 +22,9 @@
|
||||
until: rkt_task_result|success
|
||||
retries: 4
|
||||
delay: "{{ retry_stagger | random + 3 }}"
|
||||
when: ansible_os_family == "Debian" and "rkt" in [ etcd_deployment_type, kubelet_deployment_type ]
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: "install rkt pkg on centos"
|
||||
- name: install rkt pkg on centos
|
||||
yum:
|
||||
pkg: "{{ rkt_download_url }}/{{ rkt_pkg_name }}"
|
||||
state: present
|
||||
@@ -38,4 +32,4 @@
|
||||
until: rkt_task_result|success
|
||||
retries: 4
|
||||
delay: "{{ retry_stagger | random + 3 }}"
|
||||
when: ansible_os_family == "RedHat" and "rkt" in [ etcd_deployment_type, kubelet_deployment_type ]
|
||||
when: ansible_os_family == "RedHat"
|
||||
|
||||
Reference in New Issue
Block a user