Update local.yml
This commit is contained in:
18
local.yml
18
local.yml
@@ -1,7 +1,19 @@
|
|||||||
---
|
---
|
||||||
- hosts: localhost
|
- hosts: all
|
||||||
connection: local
|
tags: always
|
||||||
become: true
|
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:
|
tasks:
|
||||||
- name: install packages
|
- name: install packages
|
||||||
@@ -13,7 +25,7 @@
|
|||||||
become_user: user
|
become_user: user
|
||||||
dconf:
|
dconf:
|
||||||
key: "/org/gnome/desktop/background/picture-uri"
|
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
|
- name: set wallpaper position
|
||||||
become_user: user
|
become_user: user
|
||||||
|
|||||||
Reference in New Issue
Block a user