|
|
@ -20,7 +20,7 @@ |
|
|
|
mode: '755' |
|
|
|
mode: '755' |
|
|
|
- name: Check if keyring exists |
|
|
|
- name: Check if keyring exists |
|
|
|
stat: |
|
|
|
stat: |
|
|
|
path: /etc/apt/keyrings/kubernetes-apt-keyring.gpg Release.key |
|
|
|
path: /etc/apt/keyrings/kubernetes-apt-keyring.gpg |
|
|
|
register: keyring_file |
|
|
|
register: keyring_file |
|
|
|
- name: Install certificate |
|
|
|
- name: Install certificate |
|
|
|
command: "{{ item }} chdir=/tmp" |
|
|
|
command: "{{ item }} chdir=/tmp" |
|
|
|