Ansible troubleshooting - Failed to connect to the host via ssh host localhost port 22

Поділитися
Вставка
  • Опубліковано 22 сер 2024
  • How to solve the error connection failed fatal error when connecting via ssh host localhost port 22 when testing your code on your local machine using ansible_connection local parameter.
    www.ansiblepil...
    FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress - dashboard.mail...
    BUY the Complete PDF BOOK to easily Copy and Paste the 200+ Ansible code
    200+ Automation Examples For Linux and Windows System Administrator and DevOps
    leanpub.com/an...
    my VIDEO COURSE: Ansible by Examples
    200+ Automation Examples For Linux and Windows System Administrator and DevOps
    www.udemy.com/...

КОМЕНТАРІ • 8

  • @arielkibrik1232
    @arielkibrik1232 2 місяці тому

    Thank you!!

  • @chokumYnai
    @chokumYnai Рік тому

    Thank you for the video. I'm actually working with Ansible RHAAP v2.14
    I was having trouble finding help for this version of Ansible. When trying to make changes to the inventory file, I was still not able to connect via SSH.
    I needed to add the ansible_connection=local change to the /etc/ansible/hosts file instead.
    Thank you for posting this video.
    I've been stumped for a few days.

    • @BertonLuca
      @BertonLuca  Рік тому

      I'm happy to hear your successful story. Subscribe to the channel for the latest updates

  • @dhivyabharathy8968
    @dhivyabharathy8968 Рік тому

    Thanks :) That was so helpful.

  • @fkhan990
    @fkhan990 7 місяців тому +1

    This didnt work for me

  • @paragchaudhari4370
    @paragchaudhari4370 Рік тому +1

    no use

  • @rakibhai4388
    @rakibhai4388 Рік тому +1

    Nothing understood no useful

    • @BertonLuca
      @BertonLuca  Рік тому

      Sorry for that. What is your scenario?