mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-10 12:18:52 +03:00
Revert "Drop linux capabilities and rework users/groups"
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
---
|
||||
- name: "Pre-upgrade | check for etcd-proxy unit file"
|
||||
stat:
|
||||
path: /etc/systemd/system/etcd-proxy.service
|
||||
@@ -50,7 +49,3 @@
|
||||
awk -F"[: =]" '{print "{{ bin_dir }}/etcdctl --peers={{ etcd_access_addresses | regex_replace('https','http') }} member update "$1" https:"$7":"$8}' | bash
|
||||
run_once: true
|
||||
when: 'etcd_member_list.rc == 0 and "http://" in etcd_member_list.stdout'
|
||||
|
||||
- name: "Pre-upgrade | share access to etcd certs for its users"
|
||||
shell: chmod g+r {{ etcd_cert_dir }}/*.pem
|
||||
failed_when: false
|
||||
|
||||
Reference in New Issue
Block a user