Showing posts with label Hostfile. Show all posts
Showing posts with label Hostfile. Show all posts

Monday, February 13, 2023

Host File

 Host file can be like any of this format 

 how to open host file with default location

vi /etc/ansible/host





[dev]

node1

node2

node3

[test]

node4:22 ansible_connection=ssh ansible_user=jamesbond

[ipbase]

192.168.2.[0:10]

# from IP 192.168.2.0 to IP 192.168.2.10 IP will be covered




[serversname]

server[01:25].mydomain.com

#servername will shows from server01.mydomain.com to server05.mydomain.com




Menu Creation

 <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="view...