Make all templates local, ensure ssh keys for amd64 builds are generated on first boot
This commit is contained in:
parent
0fa18af48e
commit
c22e6ed557
14 changed files with 459 additions and 59 deletions
15
ansible/templates/change-manager.service.j2
Normal file
15
ansible/templates/change-manager.service.j2
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Butterbox setting management service
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
User=root
|
||||
ExecStart=/bin/bash -c "chmod 600 /etc/ssh/*key && python3 change_manager.py"
|
||||
WorkingDirectory=/home/{{ butter_user }}/butter-portal
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue