From 0df015e9b5c4aefd4245c94ee98021d2af80ed99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 22 Oct 2022 16:41:45 +0200 Subject: lint: pass ansible-lint + yamllint --- roles/workstation/tasks/yay.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'roles/workstation/tasks/yay.yml') diff --git a/roles/workstation/tasks/yay.yml b/roles/workstation/tasks/yay.yml index cafbc9c..8581bfd 100644 --- a/roles/workstation/tasks/yay.yml +++ b/roles/workstation/tasks/yay.yml @@ -1,5 +1,5 @@ - name: clone yay repository - git: + ansible.builtin.git: repo: "{{ workstation_yay_repo }}" dest: "{{ workstation_yay_dir }}" version: origin/master @@ -7,13 +7,14 @@ become_user: "{{ workstation_user }}" - name: make yay package # noqa: no-changed-when - command: + # possible ambiguous replacement: command : ansible.builtin.command | community.ciscosmb.command | community.routeros.command + ansible.builtin.command: cmd: makepkg -fs chdir: "{{ workstation_yay_dir }}" become: true become_user: "{{ workstation_user }}" - name: install yay package # noqa: no-changed-when - shell: + ansible.builtin.shell: cmd: pacman --noconfirm -U *.zst chdir: "{{ workstation_yay_dir }}" -- cgit v1.2.3