diff --git a/os-config/ansible/linux-packages-playbook.yaml b/os-config/ansible/linux-packages-playbook.yaml index ed146a9b21..4b562dd550 100644 --- a/os-config/ansible/linux-packages-playbook.yaml +++ b/os-config/ansible/linux-packages-playbook.yaml @@ -48,6 +48,9 @@ ansible.builtin.command: gsettings set org.gnome.desktop.session idle-delay 0 - name: Systemd turn off suspend ansible.builtin.command: systemctl mask suspend.target + - name: Install docker + import_role: + name: geerlingguy.docker - name: OS specific tasks hosts: host diff --git a/os-config/ansible/os-specific-tasks/201.yaml b/os-config/ansible/os-specific-tasks/201.yaml index e77cb6feeb..740e9bbae0 100644 --- a/os-config/ansible/os-specific-tasks/201.yaml +++ b/os-config/ansible/os-specific-tasks/201.yaml @@ -13,34 +13,3 @@ - name: Install UEFI Shell ansible.builtin.command: /tmp/deploy-shell-efi.sh /tmp/Shell.efi - -- name: Install docker required packages - ansible.builtin.apt: - name: - - apt-transport-https - - ca-certificates - - curl - - software-properties-common - state: present - update_cache: true - -- name: Add Docker's official GPG key - ansible.builtin.apt_key: - url: https://download.docker.com/linux/ubuntu/gpg - state: present - -- name: Add Docker repository - ansible.builtin.apt_repository: - repo: "deb https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable" - state: present - -- name: Install Docker - ansible.builtin.apt: - pkg: - - docker-ce - - docker-ce-cli - - containerd.io - - docker-buildx-plugin - - docker-compose-plugin - state: latest - update_cache: true