diff --git a/README.md b/README.md index dfa698f..0b6853b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,20 @@ # ansible_home -My own home services automation repository \ No newline at end of file +## How to use it? + +It's better to use a virtual environment to avoid incompitability issues + +```bash +git clone https://git.vmn.su/max/vmn-ansible +cd vmn-ansible +python3 -m venv .venv +source .venv/bin/activate +pip install -r requirements.txt +ansible-galaxy collection install -r requirements.yaml +ansible-galaxy role install -r requirements.yaml +ansible-playbook playbooks/deploy_and_set_up_lxc_on_proxmox.yaml --vault-pass-file $VAULT_PASS_PATH -i inventory/localhost.yaml --private-key $SSH_KEY +``` + +**deploy** playbooks must be used with `inventory/localhost.yaml`, they need access to proxmox host only + +There are also a systemd service and timer under `systemd` directory \ No newline at end of file