|
|
@ -4,6 +4,12 @@ |
|
|
|
become_method: sudo |
|
|
|
become_method: sudo |
|
|
|
become_user: root |
|
|
|
become_user: root |
|
|
|
tasks: |
|
|
|
tasks: |
|
|
|
|
|
|
|
- name: Remove apparmor for sanity reasons |
|
|
|
|
|
|
|
apt: |
|
|
|
|
|
|
|
name: "apparmor" |
|
|
|
|
|
|
|
state: absent |
|
|
|
|
|
|
|
autoremove: yes |
|
|
|
|
|
|
|
purge: yes |
|
|
|
- name: Check if keyring exists |
|
|
|
- name: Check if keyring exists |
|
|
|
stat: |
|
|
|
stat: |
|
|
|
path: /etc/apt/keyrings/kubernetes-apt-keyring{{ K8S_TARGET_VERSION}}.gpg |
|
|
|
path: /etc/apt/keyrings/kubernetes-apt-keyring{{ K8S_TARGET_VERSION}}.gpg |
|
|
|