Revert "Drop linux capabilities and rework users/groups"

This commit is contained in:
Matthew Mosesohn
2017-02-06 15:58:54 +03:00
committed by GitHub
parent b7bf502e02
commit fd30131dc2
48 changed files with 81 additions and 413 deletions

View File

@@ -23,12 +23,6 @@
- include: set_facts.yml
tags: facts
- include: set_resolv_facts.yml
tags: [bootstrap-os, resolvconf, facts]
- include: set_uid_facts.yml
tags: [bootstrap-os, facts]
- name: gather os specific variables
include_vars: "{{ item }}"
with_first_found:
@@ -48,7 +42,7 @@
file:
path: "{{ kube_config_dir }}"
state: directory
owner: "{{ kubelet_user }}"
owner: kube
when: "{{ inventory_hostname in groups['k8s-cluster'] }}"
tags: [kubelet, k8s-secrets, kube-controller-manager, kube-apiserver, bootstrap-os, apps, network, master, node]
@@ -56,7 +50,7 @@
file:
path: "{{ kube_script_dir }}"
state: directory
owner: "{{ kubelet_user }}"
owner: kube
when: "{{ inventory_hostname in groups['k8s-cluster'] }}"
tags: [k8s-secrets, bootstrap-os]
@@ -64,7 +58,7 @@
file:
path: "{{ kube_manifest_dir }}"
state: directory
owner: "{{ kubelet_user }}"
owner: kube
when: "{{ inventory_hostname in groups['k8s-cluster'] }}"
tags: [kubelet, bootstrap-os, master, node]
@@ -86,7 +80,7 @@
file:
path: "{{ item }}"
state: directory
owner: "{{ kubelet_user }}"
owner: kube
with_items:
- "/etc/cni/net.d"
- "/opt/cni/bin"