feat(ansible): update playbook to install ssh_locker service and create shared socket directory

This commit is contained in:
2025-05-19 20:09:09 +02:00
parent 2ba2df5cf7
commit f6be1d5dbe
2 changed files with 54 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=AWS Encryption Provider
After=network.target
[Service]
Type=simple
User={{ ansible_user }}
Environment="HOME=/home/{{ ansible_user }}"
ExecStart=/usr/local/bin/ssh_locker -s /var/run/ssh_locker/provision.sock -t {{ ssh_locker_timeout }}
Restart=on-failure
[Install]
WantedBy=multi-user.target