system-config/playbooks/roles/configure-kubectl/tasks/main.yaml
James E. Blair 6368113ec9 Add kube config to nodepool servers
This adds connection information for an experimental kubernetes
cluster hosted in vexxhost-sjc1 to the nodepool servers.

Change-Id: Ie7aad841df1779ddba69315ddd9e0ae96a1c8c53
2018-11-28 16:24:53 -08:00

16 lines
401 B
YAML

- name: Ensure kube config directory
file:
group: '{{ kube_config_group }}'
owner: '{{ kube_config_owner }}'
mode: 0750
path: '{{ kube_config_dir }}'
state: directory
- name: Install the kube config file
template:
src: '{{ kube_config_template }}'
dest: '{{ kube_config_file }}'
group: '{{ kube_config_group }}'
owner: '{{ kube_config_owner }}'
mode: 0640