diff --git a/.drone.yml b/.drone.yml index 9bd04ce..e0510b9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,6 +17,7 @@ steps: --extra-vars "cifs_username=$${cifs_username} cifs_password=$${cifs_password}" \ playbook.yml environment: + ANSIBLE_HOST_KEY_CHECKING: false cifs_username: from_secret: cifs_username cifs_password: diff --git a/roles/dockerhost/tasks/main.yml b/roles/dockerhost/tasks/main.yml index bd0e0e9..53367f7 100644 --- a/roles/dockerhost/tasks/main.yml +++ b/roles/dockerhost/tasks/main.yml @@ -37,23 +37,6 @@ repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ releasename.stdout }} stable state: present -# # Pinning versions due to odd DNS issue in 20.x -# - name: Pin Docker engine to specific version -# copy: -# dest: "{{ item.dest }}" -# content: "{{ item.content }}" -# with_items: -# - dest: /etc/apt/preferences.d/docker-ce -# content: | -# Package: docker-ce -# Pin: version 5:19.03.13~3-0~ubuntu-focal -# Pin-Priority: 1001 -# - dest: /etc/apt/preferences.d/docker-ce-cli -# content: | -# Package: docker-ce-cli -# Pin: version 5:19.03.13~3-0~ubuntu-focal -# Pin-Priority: 1001 - - name: Install Docker engine ansible.builtin.apt: update_cache: yes