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 ...
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/...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
hosts × 388dns × 76
windows × 70
networking × 69
hosts-file × 39
windows-7 × 37
linux × 36
macos × 33
ip × 19
localhost × 19
hostname × 19
ssh × 16
windows-10 × 15
ubuntu × 15
blocking × 14
router × 12
redirection × 12
mac × 11
firefox × 11
virtualbox × 10
ping × 10
windows-xp × 9
apache-http-server × 9
virtual-machine × 8
browser × 8