20251216T011536CET
This commit is contained in:
12
user-data
12
user-data
@@ -19,18 +19,9 @@ packages:
|
||||
- pwgen
|
||||
- git
|
||||
|
||||
ansible:
|
||||
package_name: ansible-core
|
||||
install_method: pip
|
||||
# run_user: ghost
|
||||
pull:
|
||||
accept_host_key: true
|
||||
url: https://git.svdb.dev/svdb/debian.git
|
||||
playbook_name: provision.yml
|
||||
|
||||
runcmd:
|
||||
- ps -u ghost
|
||||
- deluser --remove-all-files linuxuser
|
||||
- deluser --quiet --remove-all-files linuxuser
|
||||
- usermod --uid 1000 ghost
|
||||
- groupmod --gid 1000 ghost
|
||||
- git clone https://git.svdb.dev/svdb/debian.git /tmp/debian
|
||||
@@ -42,3 +33,4 @@ runcmd:
|
||||
- uv cache clean
|
||||
- rm --recursive --force $(uv python dir)
|
||||
- rm --recursive --force $(uv tool dir)
|
||||
- rm --recursive --force /tmp/debian
|
||||
|
||||
Reference in New Issue
Block a user