Hello Bernard, what version of foreman-ansible are you running? As far as I know there wasn't a new release since the winrm support was added, so unless you're running from git checkout it won't work.
Briefly looking at the code, the commit adding winrm support should also enable using the local connection adapter, but I would refrain from doing that. You might end up with roles being applied on wrong host, depending on whether you use smart proxies for ansible or not I think there's no support for vaults yet, but it would be a great addition. Adam On Mon, Jan 2, 2017 at 11:59 PM, Bernard Landon <[email protected]> wrote: > Hello all :-D > > Quick question, I see there's a commit on foreman-ansible to support winrm. > I've been trying to use it with no success. I'm setting the parameter > "ansible_connection" to winrm, but when running the role, the foreman still > tries to connect over ssh. > Do I need to configure anything else? > Also, should the "local" connection type be also supported? When trying to > use local connection, the foreman also tries to connect over ssh... > > Quick yes/no question on an unrelated topic, does the plugin support using > vault password / vault password files? > Could be handy and I would be willing to work on it if someone's willing > to give me some help (I'm new to Ruby). > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
