> > I'd like to have a multi-user ansible controller vm (partly for training > purposes). This vm should run site.yml using the credentials and other > settings of the current user. > Sometimes, it is less translation work to use existing .ini style files (like .gitconfig) to populate those settings.
One use case is setting up a bunch of git repositories (we haven't got a workflow around a local git mirror yet) with a particular users github credentials. Another is adding plugins and patches to distribute a "tweaked" distro of ansible itself . For this i need access to variables like "lookup_plugins" defined in .ansible.cfg. I see many ways of loading variables via .yml files, but on the controller machine itself, i'm not sure how to load a .ini file that will keep those vars available throughout the playbook. My ideal solution would have the .ini style variables loaded like ansible_managed (automatically regardless of starting location). kesten -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
