Files
Watari-Ansible/firstrun.sh
2026-08-02 07:43:30 +00:00

8 lines
474 B
Bash

#!/bin/bash
# This script is stored in the template and is executed the first time a new container boots. |
# Setup-lxc should contain all basic setup requirements needed
# ie
# docker setup, docker-compose install
# restic restore from misamisa
ansible-pull --clean --vault-password-file ./vault.pass --inventory ./inventory.yml --private-key ~/.ssh/github_ro -U git@github.com:tolerryan/Watari-Ansible.git playbooks/setup-lxc.yaml
systemctl disable firstrun.service