[ansible-project] Issue with redhat_subscription module #48302

2018-11-07 Thread fabietto82
Hi, I'm trying to register new machines with ansible. Prior using ansible I used to run: subscription-manager register --org="MYCOMPANY" --activationkey="MYKEY" In my ansible playbook i used redhat_subscription module in this way: - name: Register and subscribe to Satellite server

Re: [ansible-project] Alternate solution needed for winrm connections

2018-11-07 Thread S C Rigler
Try adding a mapping in your domain_realms section to associate lowercase ops68.isyntax.net to realm OPS68.ISYNTAX.NET. On Wed, Nov 7, 2018 at 12:35 PM sase kumar wrote: > > Hi Team, > > In our environment , basic , ntlm ,credssp is disabled by default in > windows2012 machines and I tried it

[ansible-project] Re: How to deploy Microsoft Office using Ansible?

2018-11-07 Thread Jordan Borean
You have 3 options; - Use win_chocolatey - Use win_package - Use win_command There are some Office packages on the public chocolatey repo https://chocolatey.org/packages/Office365ProPlus but if using this internally you probably want your own package which is a bit more complicated.

Re: [ansible-project] Alternate solution needed for winrm connections

2018-11-07 Thread Jordan Borean
Your realms don't really make sense, the realm should be the domain part and not a hostname whereas you are using the same realm for the KDC hostname. The KDC is the FQDN of the domain controller whereas the realm is the domain part of that controller. When you go to log in with a UPN do you

[ansible-project] Alternate solution needed for winrm connections

2018-11-07 Thread sase kumar
Hi Team, In our environment , basic , ntlm ,credssp is disabled by default in windows2012 machines and I tried it out with last option that is kerberos . Scenario - centos machine has ansible controller new domain has been created and it has few servers with it I added the domain fqdn in

Re: [ansible-project] Re: S3 list result to file or variable

2018-11-07 Thread Karl Auer
That must be irritating, since every example has leading slashes on the prefix! Regards, K. On Thu, Nov 8, 2018 at 1:27 AM wrote: > ANd if i enter prefix without / \ then i get the correct data. > max_keys has no effect tho. > > > kolmapäev, 7. november 2018 15:57.20 UTC+2 kirjutas

[ansible-project] Re: How to deploy Microsoft Office using Ansible?

2018-11-07 Thread Tuyen Nguyen
Hi Thank you. We want it internal so win_chocolatey is not an option, and I have an XML for an unattended install that was are using for our current user installation process. I was able to get win_package to work to deploy an Office 2016 installation, but I needed to have the software

[ansible-project] How to reopen issue in ansible (github)

2018-11-07 Thread ProfHase
Hi @all, could someone please tell me and/or reopen the following issue: https://github.com/ansible/ansible/issues/25046 The issue is closed and is supposed to be fixed for 2.3 , it still exists in 2.6, though Thanks a lot -- You received this message because you are subscribed to the

[ansible-project] Re: Ansible to automate Docker Datacenter backup

2018-11-07 Thread Muhammad Ahmed
I faced the same error in ubuntu machine you should install python not python3 ansible host -m ping maf | FAILED! => { "changed": false, "module_stderr": "Shared connection to xxx closed.\r\n", "module_stdout": "/bin/sh: 1: /usr/bin/python: not found\r\n", "msg": "MODULE

[ansible-project] Re: Delegate_to register when

2018-11-07 Thread Kristofer Borgström
Hey! Although this post is very old, I have run into much the same problem. did you ever find a solution? Cheers, Kristofer -- 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,

[ansible-project] S3 list result to file or variable

2018-11-07 Thread tonitsh
Hi. Im trying to automate our restore machine testing. At one point i need to connect to amason S3 and download the latest data from a bucket. s3://bucet.name/application_name/DATE/version/files1-3 What i have tried thus far: - name: List s3 objects aws_s3: bucket:

[ansible-project] Re: S3 list result to file or variable

2018-11-07 Thread tonitsh
> > hmm i see that i have one thing wrong. > prefix is not what i thought it was. If i remove it i get the list for all the applications. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving

[ansible-project] copying file.j2 to the mahine returning error

2018-11-07 Thread nadim mansour
I have a configuration file.j2 , I am trying to copy the file from ansible templates to destination(server) it keeps giving the below error fatal: [uat_cdxdb]: FAILED! => {"changed": false, "msg": "Template source files must be utf-8 encoded"} please advice ? -- You received this message

Re: [ansible-project] How to reopen issue in ansible (github)

2018-11-07 Thread Toshio Kuratomi
Open a new issue. If you think it is related to the old issue, link to the old issue in the new one. Since that issue says that the issue was fixed, testing with the version containing the fix could tell us if there was a regression versus a new and unrelated problem. On Wed, Nov 7, 2018, 4:29

[ansible-project] Re: S3 list result to file or variable

2018-11-07 Thread tonitsh
ANd if i enter prefix without / \ then i get the correct data. max_keys has no effect tho. kolmapäev, 7. november 2018 15:57.20 UTC+2 kirjutas ton...@gmail.com: > > hmm i see that i have one thing wrong. >> > prefix is not what i thought it was. If i remove it i get the list for all > the

Re: [ansible-project] Re: Prevent ansible from re-ordering JSON?

2018-11-07 Thread Brian Coca
To 'keep it a string' content: "{{ my_var|string }}" , from_json actually forces conversion (which would be happening anyways) -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and

[ansible-project] How to deploy Microsoft Office using Ansible?

2018-11-07 Thread Tuyen Nguyen
Hi How can we deploy Microsoft Office through Ansible? Should I use the win_package module? What options should I use? -- 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

[ansible-project] Apply action for each regexp match found on same line

2018-11-07 Thread John Harmon
Assume the following line: vif = ['mac=00:21:f6:04:16:f3,bridge=101498d8ff', 'mac=00:21:f6:80:0b:d9,bridge=1017dc5841'] If I use lineinfile, replace, etc to do a regular expression match, can I somehow apply the following to each instances (instead of just once for both instances): Action: