DEV Community

Büşra
Büşra

Posted on

1

Ubuntu 22.04'de Ansible Kurulumu ve Örnek Playbook Repositorie

  • sudo apt güncelleme -y && sudo apt yükseltme -y
  • sudo apt install ansible sshpass -y
  • sudo nano /etc/ansible/hosts
[servers]
server1 ansible_host=192.168.56.103
server2 ansible_host=192.168.56.105

[all:vars]
ansible_python_interpreter=/usr/bin/python3
Enter fullscreen mode Exit fullscreen mode
  • ansible-envanter --list -y

Image description

  • sudo nano /etc/ansible/ansible.cfg
[defaults]
host_key_checking = False
ansible_user = sysadmin
ask_pass = True
ask_become_pass = True
Enter fullscreen mode Exit fullscreen mode
  • Ping Test:

ansible all -m ping -u sysadmin --ask-pass

Image description

  • Run Command Playbooks:

ansible-playbook -i /etc/ansible/hosts ymlname.yml --ask-pass --ask-become-pass

Image of AssemblyAI tool

Challenge Submission: SpeechCraft - AI-Powered Speech Analysis for Better Communication

SpeechCraft is an advanced real-time speech analytics platform that transforms spoken words into actionable insights. Using cutting-edge AI technology from AssemblyAI, it provides instant transcription while analyzing multiple dimensions of speech performance.

Read full post

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay