Update local.yml

This commit is contained in:
2022-07-28 21:11:06 +00:00
committed by GitHub
parent 2ff3c1d601
commit 5af878b3a1

View File

@@ -1,7 +1,19 @@
---
- hosts: localhost
connection: local
- hosts: all
tags: always
become: true
pre_tasks:
- name: pre-run | update package cache (arch)
tags: always
pacman: update_cache=yes
changed_when: False
when: ansible_distribution == "Archlinux"
- name: pre-run | update package cache (debian, etc)
tags: always
apt: update_cache=yes
changed_when: False
when: ansible_distribution in ["Debian", "Ubuntu"]
tasks:
- name: install packages
@@ -13,7 +25,7 @@
become_user: user
dconf:
key: "/org/gnome/desktop/background/picture-uri"
value: "'file:///usr/share/backgrounds/pop/kate-hazen-pop-retro1.png'"
value: "file:///usr/share/backgrounds/pop/kate-hazen-pop-retro1.png"
- name: set wallpaper position
become_user: user