Set up gatekeeper user (pi)
This is the user that will manage door and shutters
This commit is contained in:
parent
2b800e247c
commit
fbde9090a9
2 changed files with 12 additions and 0 deletions
|
@ -77,6 +77,7 @@ all:
|
||||||
platon.n39.eu:
|
platon.n39.eu:
|
||||||
server_admin: "admin+platon@netz39.de"
|
server_admin: "admin+platon@netz39.de"
|
||||||
mac: "b8:27:eb:8f:98:2f"
|
mac: "b8:27:eb:8f:98:2f"
|
||||||
|
gatekeeper_user: pi
|
||||||
radon.n39.eu:
|
radon.n39.eu:
|
||||||
server_admin: "admin+radon@netz39.de"
|
server_admin: "admin+radon@netz39.de"
|
||||||
krypton.n39.eu:
|
krypton.n39.eu:
|
||||||
|
|
11
platon.yml
11
platon.yml
|
@ -45,3 +45,14 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: files/platon/sesam-door-open.sh
|
src: files/platon/sesam-door-open.sh
|
||||||
dest: /home/sesam/door-open.sh
|
dest: /home/sesam/door-open.sh
|
||||||
|
|
||||||
|
|
||||||
|
### Gatekeeper user (pi for now)
|
||||||
|
#
|
||||||
|
# All the gatekeeping / door control stuff is here!
|
||||||
|
|
||||||
|
- name: Ensure gatekeeper user is there
|
||||||
|
ansible.builtin.user:
|
||||||
|
name: "{{ gatekeeper_user }}"
|
||||||
|
groups: dialout,audio,plugdev,input,netdev,i2c,gpio
|
||||||
|
append: yes
|
||||||
|
|
Loading…
Reference in a new issue