Unfortunately, I am under the constraint that I must use the password store that the company has chosen to use (Passwordstate). I have that part working fine. I am able to push passwords into it and pull them back out with no problem. But the general structure of your code will probably be useful in laying out my playbook. The problem I have is in grouping servers within the playbook. I need to be able to separate out servers in an inventory file by their environment group and run the play once for each of those groups. This all works fine if I run the playbook multiple times, limiting each run to just one environment group at a time, but we want to run the playbook just once for each inventory file and let it separate out the servers by environment group. The "group_by" module looks like it should do this, but only if there is a way to dynamically specify what is specified in the following "hosts:" statement. Or maybe it is a data structure problem. I tried to set up a structure that looks like this:
structure: envgroup: account: password: some_password Then I can refer to it as: {{structure['INV1_PRD'][account].password}} Unfortunately, every server gets its own private copy of "structure", not a shared copy. I need some way sharing that between all servers within an environment group. ANy suggestions for this method? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/72892b58-7add-4362-a2ae-4bfd5d6ead70o%40googlegroups.com.