22 lines
613 B
Markdown
22 lines
613 B
Markdown
# Infrastructure
|
|
Master Node runs on Plex VM
|
|
|
|
# Example Commands
|
|
`ansible VMs -m ping`
|
|
This runs the ping module on all hosts in the VMs group
|
|
|
|
`ansible vpn -m ping`
|
|
Runs the ping module on the host named vpn
|
|
|
|
`ansible vpn -m ansible.builtin.copy -a "src=/home/jerick/plex/docker-compose.yml dest=/home/jerick/"`
|
|
Copied the Plex docker-compose file from plex to vpn
|
|
|
|
`ansible-playbook update.yaml -kK`
|
|
Runs the update.yml playbook
|
|
|
|
/etc/ansible for app directory
|
|
|
|
|
|
#update.yaml
|
|
ansible-playbook -i inventories/inventory.linux.proxmox.yml update.yaml -kK
|
|
this will update all runningVMs and LXCs with the linux tag |