Home - ejbaling/home-assistant-guide-and-maintenance GitHub Wiki

Ansible

  • Proxmox server: 100 (ubuntu-server)

image

  • Configuration file: emmanuel@ubuntu-server:~/ansible$ sudo nano inventory.yaml
  • emmanuel@ubuntu-server:~/ansible$ ansible auckland -i inventory.yaml -m command -a "sudo reboot" -u emmanuel --ask-pass
  • emmanuel@ubuntu-server:~/ansible$ ansible iloilo1,iloilo2 -i inventory.yaml -m ping -u emmanuel --ask-pass