# yamllint disable rule:line-length
command: apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
# yamllint disable rule:line-length
ignore_errors: yes
when: result is failed and ansible_architecture == 'aarch64'
# yamllint disable rule:line-length
command: apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
# yamllint disable rule:line-length
ignore_errors: yes
when: result is failed and ansible_architecture == 'aarch64'
shell: curl -sL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
when: result is failed and ansible_architecture == 'aarch64'
shell: curl -sL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
when: result is failed and ansible_architecture == 'aarch64'
# yamllint disable rule:line-length
shell: sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
# yamllint disable rule:line-length
# yamllint disable rule:line-length
shell: sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
# yamllint disable rule:line-length
command: apt-get install -y docker-ce docker-ce-cli containerd.io
ignore_errors: yes
when: result is failed and ansible_architecture == 'aarch64'
command: apt-get install -y docker-ce docker-ce-cli containerd.io
ignore_errors: yes
when: result is failed and ansible_architecture == 'aarch64'