2 votes

Ansible - How to create dynamic inventory that fetches hosts from microsoft AD

The file name needs to be either microsoft.ad.ldap.yml or microsoft.ad.ldap.yaml. File should be inside the inventories directory. inventories/microsoft.ad.ldap.yml Here's an example if you're using ...
Robert Rathbun's user avatar
1 vote

Where does the command "ssh-keygen -A" generate host keys?

ssh-keygen -A by default generates in /etc/ssh on Debian and some other systems. The location may differ on other systems where it is compiled differently. Usually the files end up being these: /etc/...
bk2204's user avatar
  • 2,606
1 vote
Accepted

How to properly modify host file?

Despite a comment suggesting that you should not copy the hostsfile and put it back, this is exactly what I do too. There is however one important thing to note. If you download a hosts file from ...
LPChip's user avatar
  • 61.1k

Only top scored, non community-wiki answers of a minimum length are eligible