Move user-related tasks together
This commit is contained in:
10
playbook.yml
10
playbook.yml
@@ -749,11 +749,6 @@
|
|||||||
when:
|
when:
|
||||||
- machine.gpu is defined
|
- machine.gpu is defined
|
||||||
|
|
||||||
- set_fact:
|
|
||||||
users: "{{ machine.users }}"
|
|
||||||
tags:
|
|
||||||
- always
|
|
||||||
|
|
||||||
# See https://bbs.archlinux.org/viewtopic.php?id=259764
|
# See https://bbs.archlinux.org/viewtopic.php?id=259764
|
||||||
- block:
|
- block:
|
||||||
- name: configure pacman to skip installing nextcloud dbus file
|
- name: configure pacman to skip installing nextcloud dbus file
|
||||||
@@ -797,6 +792,11 @@
|
|||||||
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video $sys$devpath/brightness", RUN+="/bin/chmod g+w $sys$devpath/brightness"
|
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video $sys$devpath/brightness", RUN+="/bin/chmod g+w $sys$devpath/brightness"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- set_fact:
|
||||||
|
users: "{{ machine.users }}"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- include_tasks: user.yml
|
- include_tasks: user.yml
|
||||||
args:
|
args:
|
||||||
apply:
|
apply:
|
||||||
|
|||||||
Reference in New Issue
Block a user