From 6026201b75ec8f8f360304e7fb1c9b6b62872300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D1=80=D1=81=D0=B5=D0=BD=D1=82=D1=8C=D0=B5=D0=B2=20=D0=BB?= =?UTF-8?q?=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80?= Date: Sat, 15 Aug 2026 19:41:31 +0300 Subject: [PATCH] Update Ansible facts syntax --- deploy/ansible/install-docker.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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