fix: consolidate under main branch, remove bones.yml, update README fleet map, fix service files to pull main
This commit is contained in:
12
ansible-pull.service
Normal file
12
ansible-pull.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Ansible Pull — Iron Legion fleet baseline
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/var/lib/ansible/local
|
||||
ExecStartPre=/bin/bash -c 'if [ ! -d /var/lib/ansible/local/.git ]; then git clone -b main https://gitea.nb.bobbysh.me/Iron-Legion/ansible-pull-deploy.git /var/lib/ansible/local; else git -C /var/lib/ansible/local pull origin main; fi'
|
||||
ExecStart=/usr/bin/ansible-playbook /var/lib/ansible/local/local.yml
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
Reference in New Issue
Block a user