orion updates
Move orion to "laptop" category, which is effectively a desktop. Ensure system groups are created.
This commit is contained in:
parent
f5d10f1ccc
commit
7e5dbfeb14
|
@ -1,11 +1,12 @@
|
||||||
[laptop]
|
[laptop]
|
||||||
petrichor
|
petrichor
|
||||||
|
orion
|
||||||
|
|
||||||
[worklaptop]
|
[worklaptop]
|
||||||
kisom-x1
|
kisom-x1
|
||||||
|
|
||||||
[build]
|
# [build]
|
||||||
orion
|
# orion
|
||||||
|
|
||||||
[personal]
|
[personal]
|
||||||
petrichor
|
petrichor
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
|
- name: ensure system groups exist
|
||||||
|
become: true
|
||||||
|
ansible.builtin.group:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: present
|
||||||
|
system: true
|
||||||
|
with_items:
|
||||||
|
- adm
|
||||||
|
- cdrom
|
||||||
|
- dialout
|
||||||
|
- dip
|
||||||
|
- lpadmin
|
||||||
|
- plugdev
|
||||||
|
- sambashare
|
||||||
|
- sudo
|
||||||
|
|
||||||
- name: set up user
|
- name: set up user
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
|
|
Loading…
Reference in New Issue