[ansible-project] dynamic inventory

2019-08-01 Thread Sloan Miller
I am trying to get dynamic inventory working. I have not found much on the internet or in the docs that give a high level overview as to how the configs and files relate. Any tips? Can I get some suggestions on my dynamic inventory config? Is there a simple way to test and determine

[ansible-project] Simple Ad Hoc commands results in many UNREACHABLE hosts

2018-12-11 Thread Sloan Miller
I have about 200 servers in my hosts file. I can ssh to those servers without entering a password. ssh and no errors or trouble. When i attempt to run a simple Ad Hoc uptime command more that 50% of the servers show up as UNREACHABLE.Are there any setting I can use to improve this?

[ansible-project] A couple of thousand new servers to add into ansible

2018-11-20 Thread Sloan Miller
I am currently setting up to add a couple of thousand servers into ansible config mgmt. Does anyone know of any blogs scripts etc that could be helpful. specifically I am looking into automated login scripts like expect or ?? .I am adding a new local ansible user and a public key with a

[ansible-project] Debugging Roles vs Debugging plays

2018-09-17 Thread Sloan Miller
I am having issues formatting a role, I am trying to use register: and debug. Can anyone show the the formatting for debugging roles with register in ansible. This is not working in a role: - name: Generate Hostnames for AD Group Names - debug: msg: "before we run our role"