Browse Source

Merge branch 'hotfix-release-2020-04-20'

main
Georg Krause 2 months ago
parent
commit
5f9bc4fb5e
No known key found for this signature in database GPG Key ID: 2970D504B2183D22
  1. 12
      tasks/main.yml

12
tasks/main.yml

@ -1,6 +1,6 @@
- name: Ensure packages are installed
become: true
ansible.builtin.apt:
apt:
name:
- python3-pip
- apt-transport-https
@ -12,13 +12,13 @@
- name: Trust dockers GPG key
become: true
ansible.builtin.apt_key:
apt_key:
url: https://download.docker.com/linux/debian/gpg
state: present
- name: Ensure docker repository is available
become: true
ansible.builtin.apt_repository:
apt_repository:
repo: deb https://download.docker.com/linux/debian buster stable
state: present
# notify: Update apt cache
@ -28,7 +28,7 @@
- name: Ensure packages are installed
become: true
ansible.builtin.apt:
apt:
name:
- docker-ce
- docker-ce-cli
@ -39,14 +39,14 @@
- name: Install docker python module
become: true
ansible.builtin.pip:
pip:
executable: pip3
name:
- docker
- name: Change docker root
become: true
ansible.builtin.template:
template:
src: templates/daemon.json.j2
dest: /etc/docker/daemon.json
mode: 0644

Loading…
Cancel
Save