From b9a96819acd95661f9cc82b195f97d8d1aa4dd3b Mon Sep 17 00:00:00 2001 From: Matt Boersma Date: Mon, 29 Apr 2024 14:16:57 -0600 Subject: [PATCH] Fix linter errors --- images/capi/ansible/roles/providers/tasks/debian.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/images/capi/ansible/roles/providers/tasks/debian.yml b/images/capi/ansible/roles/providers/tasks/debian.yml index 1ea5516219..b4bd04850a 100644 --- a/images/capi/ansible/roles/providers/tasks/debian.yml +++ b/images/capi/ansible/roles/providers/tasks/debian.yml @@ -18,14 +18,16 @@ state: present - name: Find Ubuntu Version - ansible.builtin.shell: + ansible.builtin.command: cmd: lsb_release -cs register: ubuntu_version + changed_when: false - name: Find Host Architecture - ansible.builtin.shell: + ansible.builtin.command: cmd: dpkg --print-architecture register: host_arch + changed_when: false - name: Add Microsoft Package Repository ansible.builtin.apt_repository: @@ -37,4 +39,3 @@ ansible.builtin.apt: name: azure-cli state: present -