From 767ebb022ba79e7e99cf8ed053777c6b4567e289 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 4 Nov 2025 21:11:05 +0100 Subject: [PATCH] =?UTF-8?q?refactor=20=E2=99=BB=EF=B8=8F:=20Simplify=20Sam?= =?UTF-8?q?ba=20version=20verification=20and=20display=20logic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renamed debug block to use Ansible debug output, removing unnecessary variables and improving readability. This change aims to make the code more maintainable and efficient. --- tasks/install.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 2690d2d..194b64a 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -81,14 +81,14 @@ # state: latest # when: "'4.22.4' in samba_version.stdout" -- name: Verify installed Samba version - ansible.builtin.command: samba --version - register: samba_version - changed_when: false +# - name: Verify installed Samba version +# ansible.builtin.command: samba --version +# register: samba_version +# changed_when: false -- name: Display upgraded Samba version - ansible.builtin.debug: - msg: "✅ Samba version after upgrade: {{ samba_version.stdout }}" +# - name: Display upgraded Samba version +# ansible.builtin.debug: +# msg: "✅ Samba version after upgrade: {{ samba_version.stdout }}" - name: Stop Samba services before provisioning ansible.builtin.service: