Finish update playbook

main
earnest ma 2022-01-26 22:30:17 -05:00
parent 5943da9cef
commit 06d713b1e6
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
3 changed files with 16 additions and 1 deletions

5
.ansible-lint Normal file
View File

@ -0,0 +1,5 @@
# .ansible-lint
skip_list:
- command-instead-of-shell # Use shell only when shell functionality is required
- no-changed-when # Commands should not change things if nothing needs doing
- package-latest # Package installs should not use latest

View File

@ -1,4 +1,9 @@
- name: Update packages installed through dnf - name: Update packages installed through dnf
dnf: dnf:
name: "*" name: "*"
state: present state: latest
- name: Update flatpaks
shell:
cmd: flatpak update --noninteractive
become: true

5
update.yml Normal file
View File

@ -0,0 +1,5 @@
---
- hosts: all
become: yes
tasks:
- import_tasks: tasks/update-packages.yml