adding updates and readme

pull/20/head
Cian Hatton 3 years ago
parent 0e0c6886d0
commit b57f8c54c7

@ -1 +1,18 @@
# HomeLab
An ansible specific private key is used in these playbooks.
This key can be generated by running
### Generate the keyfile
```bash
ssh-keygen -t ed25519 -C "ansible"
```
### Add to authorized host
```bash
# replace the user/hostname with whatever you need to connect to.
ssh-copy-id -i ~/.ssh/ansible.pub cianhatton@qnap
```

@ -4,3 +4,4 @@ inventory=hosts.ini
vault_password_file=.vault-pass.sh
host_key_checking = False
enable_plugins = linode
private_key_file=~/.ssh/ansible

@ -9,5 +9,4 @@ cianhatton@qnap
# BEGIN ANSIBLE MANAGED BLOCK
[linode]
root@172.104.8.72
# END ANSIBLE MANAGED BLOCK

@ -6,6 +6,11 @@
- name: Include vault variables.
include_vars: "{{vault_file}}"
tags: ["always"]
- name: Update Packages
apt:
upgrade: dist
update_cache: true
tags: ["always"]
roles:
- role: 'roles/setup_mergerfs'

Loading…
Cancel
Save