Najib Radzuan
Apr 25, 2023

--

Yes, you can use hostname/domain/dns instead of IP address, you may use like below:

ansible_host=<YOUR-DB-SERVER-IP>

So you can change to your server's hostname or your domain name which Ansible can access it.

--

--

Najib Radzuan
Najib Radzuan

Written by Najib Radzuan

DevOps | DevSecOps | Global DevOps Ambassador | CDF Ambassador | Digital Transformation [https://linktr.ee/devops4me]

No responses yet