aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/yay.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
commit0df015e9b5c4aefd4245c94ee98021d2af80ed99 (patch)
treed9dbf4259500857daf41b627dbc2d116ba92dbc1 /roles/workstation/tasks/yay.yml
parent1cd2d31e0d5f81ce066121de78c0ed042fc3b6aa (diff)
downloadrules-0df015e9b5c4aefd4245c94ee98021d2af80ed99.tar.gz
lint: pass ansible-lint + yamllint
Diffstat (limited to 'roles/workstation/tasks/yay.yml')
-rw-r--r--roles/workstation/tasks/yay.yml7
1 files changed, 4 insertions, 3 deletions
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 }}"
remember that computers suck.