Skip to content

rhoriguchi/ansible-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible setup

Default Ports

  • Glances - 61208
  • Home Assistant - 443
  • Plex - 32400
  • Portainer - 9000
  • Price Tracker - 80/443
  • Resilio Sync - 8888
  • SSH - 22
  • Tautulli - 8181

Setup

Clone repo

git clone https://github.com/rhoriguchi/ansible_setup.git /tmp/ansible_setup

Edit .env and all missing variables.

docker-compose up --detach --build
docker exec -it ansible zsh

Create vault_password.txt file

echo "VAULT_PASSWORD" > vault_password.txt

Init wifi

ansible-playbook --vault-password-file vault_password.txt init_wifi.yaml

Init system

ansible-playbook --vault-password-file vault_password.txt init_system.yaml

Setup for XXLPitu JCRK

ansible-playbook --vault-password-file vault_password.txt xxlpitu-jcrk.yaml

Setup for XXLPitu Home

ansible-playbook --vault-password-file vault_password.txt xxlpitu-home.yaml

Update Home Assistant version and files

ansible-playbook --vault-password-file vault_password.txt homeassistant_update.yaml

Ansible

Vault

Encrypt

ansible-vault encrypt --vault-password-file vault_password.txt vars/vault.yaml

Decrypt

ansible-vault decrypt --vault-password-file vault_password.txt vars/vault.yaml

Edit

ansible-vault edit --vault-password-file vault_password.txt vars/vault.yaml

Show all variables

ansible -m setup HOST

Find PARTUUID for drives

sudo blkid | grep -i "PARTUUID="

Encrypt password

mkpasswd -m sha-512 -S "SALT" -s <<< "PASSWORD"

USB boot Raspberry

Instructions

Harddrive

If superblock can't be read

sudo fsck /dev/sda1

Format drive

Instructions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published