Ansible Adhoc Commands – Part-1

#ansible_in_tamil #tamiltutera #ansibleadhocommands #ansible #AnsibleTutorialsinTamil #devops

Ansible in Tamil – 08 – Adhoc Commands – Part-1 | Ansible in தமிழ்| Ansible DevOps Tutorial in தமிழ்
https://youtu.be/-21Ic77aRcY

Site: https://tamiltutera.com
Telegram Link: https://t.me/tamiltutera
Youtube Channel: https://www.youtube.com/TamilTutEra
Blog: https://tamiltutera.blogspot.com/
Like Facebook Page : https://www.facebook.com/tamiltutera
Follow us on Twitter: https://twitter.com/tamiltutera
Blog : https://tamiltutera.blogspot.com

ansible web -i inventory -m ping
ansible all --list-hosts
ansible web -i inventory -m command -a 'df -hk'
ansible-doc -l | more | wc -l
ansible-doc yum
ansible web -i inventory -m user -a "name={{username}} password={{ 'password' | password_hash('sha512') }}"
ansible web -i inventory -m yum -a "name=httpd state=present"
ansible web -i inventory -m service -a "name=httpd enabled=yes state=started"
ansible web -i inventory -m yum -a "name=httpd state=absent"
ansible web:db -i inventory -m service -a "name=httpd enabled=yes state=started"
ansible db -i inventory -m setup -a "filter=ansible_mounts"
ansible all -i inventory -m setup --tree ./setup
ansible prod -i hosts -a "hostname"
ansible prod -i hosts -a "df -hk"
ansible localhost -m debug -a 'var=groups.keys()'
ansible prod -m stat -a "path=/etc/environment"
ansible prod -m copy -a "src=/etc/hosts dest=/tmp/hosts"
ansible prod -m fetch -a "src=/etc/hosts dest=/root"
ansible prod -m file -a "dest=/tmp/test mode=644 state=directory"
ansible prod -m file -a "dest=/tmp/test state=absent"
ansible prod -m shell -a "tail /var/log/messages | grep ansible-command | wc -l

Ansible in Tamil – 07 – Setup Ansible master and node in tamil | Ansible DevOps Tutorial in தமிழ்
https://youtu.be/SHumFNfPoAE

Ansible in Tamil – 06 Install Ansible in Ubuntu Linux | Ansible | Ansible DevOps Tutorial in தமிழ்
https://youtu.be/h9a1PT-vlLM

Ansible in Tamil – 05 – Install Ansible in Oracle Linux | Ansible | Ansible DevOps Tutorial in தமிழ்
https://youtu.be/FX3hqQdsE9k

Ansible in Tamil – 04 – Ansible – Architecture | Ansible in தமிழ்| Ansible DevOps Tutorial in தமிழ்
https://youtu.be/PK6LCjPVeHs

Ansible in Tamil – 03 – Advantages in தமிழ் | Ansible in தமிழ்| Ansible DevOps Tutorial in தமிழ்
https://youtu.be/QARxogodRBM

Ansible in Tamil – 02- Why Ansible? in Tamil | Ansible in தமிழ் | Ansible DevOps Tutorial in Tamil
https://youtu.be/GVzSjnXkSiU

Ansible in Tamil – 01 – Ansible Introduction in தமிழ் | Ansible DevOps Tutorial in Tamil | Ansible
https://youtu.be/CPSC6X5S5_o

Leave a Reply

Your email address will not be published. Required fields are marked *