automatrop: Run ansible-lint --fix

This commit is contained in:
Geoffrey Frogeye 2023-11-02 19:51:54 +01:00
parent d60f5aaa9d
commit 9c3dcba2e5
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
18 changed files with 342 additions and 333 deletions

View file

@ -1,23 +1,24 @@
---
- name: Create and install meta package for Arch Linux
when: arch_based
block:
- name: Generate meta package PKGBUILD
template:
ansible.builtin.template:
src: PKGBUILD.j2
dest: "{{ ansible_user_dir }}/.cache/automatrop/PKGBUILD"
listen: "software changed"
listen: software changed
- name: Install meta package
aur:
name: "automatrop-packages-{{ inventory_hostname_short }}"
name: automatrop-packages-{{ inventory_hostname_short }}
local_pkgbuild: "{{ ansible_user_dir }}/.cache/automatrop"
use: makepkg
state: latest
listen: "software changed"
listen: software changed
when: root_access
when: arch_based
- name: update pacman cache
pacman:
update_cache: yes
become: yes
- name: Update pacman cache
community.general.pacman:
update_cache: true
become: true
when: arch_based