First steps on Ansible

 https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-ansible-on-ubuntu


https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html


Ping remote server with ansible

ansible all -i 122.248.226.169,  -m ping -u ubuntu


122.248.266.169 is the remote host

-m ping: is ping

-u ubuntu: is remote user


Comments

Popular posts from this blog

Fixing the DeepSpeed Import Error While Fine-Tuning the Qwen Model

Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster

How to create ISM policy and rotate logs in opensearch