diff options
| author | Scott Dodson <sdodson@redhat.com> | 2016-08-11 17:37:16 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-11 17:37:16 -0400 | 
| commit | 2fcfbb350a888dfeb82913f2e043bf2fea760cd6 (patch) | |
| tree | dd8141baaae3cff0dd4f048f6e2d2c959dcd8799 /roles/openshift_master/tasks | |
| parent | cac26a48c10aac5ce2b27b31c3d5567f978bb72d (diff) | |
| parent | 3bd5ae21adbc1d5b3e5063408e30bb5adb14ba53 (diff) | |
| download | openshift-2fcfbb350a888dfeb82913f2e043bf2fea760cd6.tar.gz openshift-2fcfbb350a888dfeb82913f2e043bf2fea760cd6.tar.bz2 openshift-2fcfbb350a888dfeb82913f2e043bf2fea760cd6.tar.xz openshift-2fcfbb350a888dfeb82913f2e043bf2fea760cd6.zip  | |
Merge pull request #1142 from abutcher/new-certs-who-dis
Support for redeploying certificates
Diffstat (limited to 'roles/openshift_master/tasks')
| -rw-r--r-- | roles/openshift_master/tasks/main.yml | 34 | 
1 files changed, 0 insertions, 34 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml index e1efb4c2b..6259fd996 100644 --- a/roles/openshift_master/tasks/main.yml +++ b/roles/openshift_master/tasks/main.yml @@ -277,37 +277,3 @@  - name: Set the cluster user password    shell: echo {{ openshift_master_cluster_password | quote }} | passwd --stdin hacluster    when: install_result | changed - -- name: Lookup default group for ansible_ssh_user -  command: "/usr/bin/id -g {{ ansible_ssh_user }}" -  changed_when: false -  register: _ansible_ssh_user_gid - -- set_fact: -    client_users: "{{ [ansible_ssh_user, 'root'] | unique }}" - -- name: Create the client config dir(s) -  file: -    path: "~{{ item }}/.kube" -    state: directory -    mode: 0700 -    owner: "{{ item }}" -    group: "{{ 'root' if item == 'root' else _ansible_ssh_user_gid.stdout  }}" -  with_items: "{{ client_users }}" - -# TODO: Update this file if the contents of the source file are not present in -# the dest file, will need to make sure to ignore things that could be added -- name: Copy the admin client config(s) -  command: cp {{ openshift_master_config_dir }}/admin.kubeconfig ~{{ item }}/.kube/config -  args: -    creates: ~{{ item }}/.kube/config -  with_items: "{{ client_users }}" - -- name: Update the permissions on the admin client config(s) -  file: -    path: "~{{ item }}/.kube/config" -    state: file -    mode: 0700 -    owner: "{{ item }}" -    group: "{{ 'root' if item == 'root' else _ansible_ssh_user_gid.stdout  }}" -  with_items: "{{ client_users }}"  | 
