diff --git a/deploy/ansible/install-docker.yml b/deploy/ansible/install-docker.yml index e06f384..234c709 100644 --- a/deploy/ansible/install-docker.yml +++ b/deploy/ansible/install-docker.yml @@ -1,9 +1,10 @@ -- name: Install Docker on Platfom test server +- name: Install Docker on Platfom test servers hosts: test become: true gather_facts: true tasks: + - name: Install prerequisites ansible.builtin.apt: name: @@ -27,10 +28,10 @@ - name: Add Docker repository ansible.builtin.apt_repository: repo: >- - deb [arch={{ ansible_architecture | replace('x86_64', 'amd64') }} + deb [arch={{ ansible_facts['architecture'] | replace('x86_64', 'amd64') }} signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu - {{ ansible_distribution_release }} stable + {{ ansible_facts['distribution_release'] }} stable state: present filename: docker