diff --git a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/tasks/support-packages.yaml b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/tasks/support-packages.yaml index a0c00cf79..f7b4f3c8c 100644 --- a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/tasks/support-packages.yaml +++ b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/tasks/support-packages.yaml @@ -16,26 +16,26 @@ - name: ubuntu | ensure community ceph repository key is installed when: ansible_distribution == 'Ubuntu' apt_key: - id: "460F3994" - keyserver: "keyserver.ubuntu.com" - state: present + id: "460F3994" + keyserver: "keyserver.ubuntu.com" + state: present - name: ubuntu | ensure community ceph repository exists when: ansible_distribution == 'Ubuntu' apt_repository: - repo: "deb https://download.ceph.com/debian-mimic/ {{ ansible_lsb.codename }} main" - state: present - update_cache: yes + repo: "deb https://download.ceph.com/debian-mimic/ {{ ansible_lsb.codename }} main" + state: present + update_cache: yes - name: centos | ensure community ceph repository exists when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux' yum_repository: - name: ceph - description: "Ceph community packages for Redhat/Centos" - gpgkey: "https://download.ceph.com/keys/release.asc" - baseurl: "https://download.ceph.com/rpm-mimic/el7/$basearch" - gpgcheck: yes - state: present + name: ceph + description: "Ceph community packages for Redhat/Centos" + gpgkey: "https://download.ceph.com/keys/release.asc" + baseurl: "https://download.ceph.com/rpm-mimic/el7/$basearch" + gpgcheck: yes + state: present - name: centos | installing epel-release when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'