Skip to content

sebdanielsson/infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infra

GitOps all the things!

Installing the requirements

ansible-galaxy install -r requirements.yml --force

Running the playbooks

Run Ansible group playbook

export OP_CREDENTIAL="op://Private/onkb65jhnceyyid7ope2zg5s2m/credential"
op run -- ansible-playbook -i ./inventory.yml ./proxmox_nodes.yml

Run Ansible playbook for the host hogsmeade

export OP_CREDENTIAL="op://Private/onkb65jhnceyyid7ope2zg5s2m/credential"
op run -- ansible-playbook -i ./inventory.yml ./hogsmeade.yml

Run Ansible playbook for the host er-x

export OP_CREDENTIAL="op://Private/onkb65jhnceyyid7ope2zg5s2m/credential"
op run -- ansible-playbook -i ./inventory.yml ./openwrt.yml

Run Ansible playbook for sebastian-mba

export OP_CREDENTIAL="op://Private/onkb65jhnceyyid7ope2zg5s2m/credential"
op run -- ansible-playbook sebastian-mba.yml --ask-become-pass