xmpls
  • Home

Ansible

Last updated on  Mar 18, 2023

Create inventory

server1  ansible_host=10.1.0.50 ansible_user=jommy

Create ansible.cfg

[defaults]
inventory = inventory

Commands

ansible all --list-hosts
ansible all -m ping
ansible all -m gather_facts
Previous Browser Privacy Extensions
Next Ansible - Ubuntu, update, upgrade, dist-upgrade, autoremove
xmpls © 2023
Powered by Ghost