Compare commits
13 Commits
54228104d7
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| a5a4c6ab90 | |||
| 8336445ae8 | |||
| 18f2d62a24 | |||
| f1fea14b41 | |||
| e136006c1c | |||
| 70d8e574b9 | |||
| 46f876f5a4 | |||
| d84517026d | |||
| cb3785236d | |||
| 98f646a3e6 | |||
| e51d53adbf | |||
| 7a237d6ac9 | |||
| 4a4e754f14 |
BIN
files/usertwist
(Stored with Git LFS)
BIN
files/usertwist
(Stored with Git LFS)
Binary file not shown.
@@ -2,8 +2,8 @@
|
||||
Description=Simple Web Service
|
||||
|
||||
[Service]
|
||||
User=caddy
|
||||
Group=caddy
|
||||
User=usertwist
|
||||
Group=usertwist
|
||||
ExecStart=/usr/local/bin/usertwist
|
||||
|
||||
[Install]
|
||||
|
||||
@@ -29,6 +29,12 @@
|
||||
src: ../templates/Caddyfile.j2
|
||||
dest: /etc/caddy/Caddyfile
|
||||
|
||||
- name: Create the usertwist user
|
||||
ansible.builtin.user:
|
||||
name: usertwist
|
||||
group: usertwist
|
||||
system: true
|
||||
|
||||
- name: Put the service binary on the remote server
|
||||
ansible.builtin.copy:
|
||||
src: ../files/usertwist
|
||||
|
||||
Reference in New Issue
Block a user