Move user-related tasks together
This commit is contained in:
10
playbook.yml
10
playbook.yml
@@ -749,11 +749,6 @@
|
||||
when:
|
||||
- machine.gpu is defined
|
||||
|
||||
- set_fact:
|
||||
users: "{{ machine.users }}"
|
||||
tags:
|
||||
- always
|
||||
|
||||
# See https://bbs.archlinux.org/viewtopic.php?id=259764
|
||||
- block:
|
||||
- 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"
|
||||
become: true
|
||||
|
||||
- set_fact:
|
||||
users: "{{ machine.users }}"
|
||||
tags:
|
||||
- always
|
||||
|
||||
- include_tasks: user.yml
|
||||
args:
|
||||
apply:
|
||||
|
||||
Reference in New Issue
Block a user