štvrtok 27. januára 2022

Installation ansible on Centos8

 Installation ansible on Centos8:

just try yum: 




1. yum install ansible 

2. list of servers: 


vi /etc/ansible/hosts

for dns: 

- /etc/hosts

3. Try connection via ping

correct: 


[root@localhost ~]# ansible all -m ping

10.0.2.5 | SUCCESS => {

    "ansible_facts": {

        "discovered_interpreter_python": "/usr/bin/python"

    },

    "changed": false,

    "ping": "pong"

}

[root@localhost ~]#

 



Žiadne komentáre:

Zverejnenie komentára