[ansible-project] Re: ansible-pull configuration

2019-06-10 Thread Roman
Hello, actually my purpose is to configure remote client server from control server (both located in AWS cloud) using ansible-pull running on control node. I'm stuck with parsing host file when executing ansible-pull. Here is the command which I'm running: *ansible-pull* -U *g...@bitbucket.org:

Re: [ansible-project] 2019-Jun-06 devel branch and random hangs using winrm?

2019-06-10 Thread Bob Tanner
Hi Bob, > > Does it just hang on chocolatey or on other things too? > > I think there's been a recent change which may have broken the > ansible<->chocolatey integration although iirc its been fixed by latest > chocolatey. > > Anything in the event logs on the target machine(s)? I don't use ch

[ansible-project] tower ansible template: how to pass parameters to a python script

2019-06-10 Thread Gilles
I am using a template to run a python script. This works fine. --- > - hosts: ISE > connection: local > args: > tasks: > - script: /usr/bin/python3 ../scripts/ise_add.py > register: output > - debug: var=output.stdout_lines > > > > Now I would like to pass 2 parameters to the p

[ansible-project] ansible and AWX

2019-06-10 Thread Alfredo De Luca
Hi all. for evaluating purposes I want to integrate ansible with AWX. I ve installed AWX but not sure how to configure my ansible env with AWX in order to see all the ansible playbook/run/issue etc etc. Is there something I need to add on ansible.cfg? Cheers -- *Alfredo* -- You received this

Re: [ansible-project] ansible and AWX

2019-06-10 Thread Jonathan Lozada De La Matta
What do you mean integrate ansible with AWX? they are together already. I think you should look at the documentation to understand how it works. Although this documents say tower, its the same with AWX https://docs.ansible.com/ On Mon, Jun 10, 2019 at 10:56 AM Alfredo De Luca wrote: > Hi all. >

Re: [ansible-project] ansible and AWX

2019-06-10 Thread Alfredo De Luca
thanks Jonathan. What I mean is, without running playbooks from awx but running ansible either from a CLI or jenkins, I d like to see the reports on AWX of those runnings. Basically, at least for now, using AWX as graphic report. Is is possible? Cheers On Mon, Jun 10, 2019 at 4:59 PM Jonathan L

[ansible-project] remote module (vmware_guest_find) does not support check mode

2019-06-10 Thread Kishore Hejmady
I am trying to connect to vshpere and get the below message #- name: "Find more info on {{vcenter_info[vsphere-env].vcenter_hostname}} {{vsphere_login}} VM - {{ vm_name }} {{vsphere_passwd}} " - name: "Find more info on {{ vsphere_env }} {{vsphere_login}} {{ vm_name }} " vmware_guest_find:

Re: [ansible-project] ansible and AWX

2019-06-10 Thread Jonathan Lozada De La Matta
You won't be able to see the reports or output from the UI if you don't run it from the UI. On Mon, Jun 10, 2019 at 11:12 AM Alfredo De Luca wrote: > thanks Jonathan. What I mean is, without running playbooks from awx but > running ansible either from a CLI or jenkins, I d like to see the report

Re: [ansible-project] ansible and AWX

2019-06-10 Thread Alfredo De Luca
oh ok. I though you could. Is there any other tool I can use to do so? Cheers On Mon, Jun 10, 2019 at 5:32 PM Jonathan Lozada De La Matta < jloza...@redhat.com> wrote: > You won't be able to see the reports or output from the UI if you don't > run it from the UI. > > On Mon, Jun 10, 2019 at 11:

Re: [ansible-project] ansible and AWX

2019-06-10 Thread Jonathan Lozada De La Matta
You could try ansible ARA On Mon, Jun 10, 2019 at 11:49 AM Alfredo De Luca wrote: > oh ok. I though you could. > Is there any other tool I can use to do so? > > Cheers > > > On Mon, Jun 10, 2019 at 5:32 PM Jonathan Lozada De La Matta < > jloza...@redhat.com> wrote: > >> You won't be able to see

Re: [ansible-project] ansible and AWX

2019-06-10 Thread Alfredo De Luca
thanks Jonathanappreciated. On Mon, Jun 10, 2019 at 5:52 PM Jonathan Lozada De La Matta < jloza...@redhat.com> wrote: > You could try ansible ARA > > On Mon, Jun 10, 2019 at 11:49 AM Alfredo De Luca > wrote: > >> oh ok. I though you could. >> Is there any other tool I can use to do so? >>

[ansible-project] Iterating over parts complex data structures while still referring to other parts of the structure

2019-06-10 Thread Josh Smift
I have a data structure like this: part: eyes: where: faces colors: - blue - brown - green hair: where: heads colors: - black - blond - brown - red toenails: where: feet colors: - pink - red - teal I want to

Re: [ansible-project] Iterating over parts complex data structures while still referring to other parts of the structure

2019-06-10 Thread Matt Martz
It would be easier to rewrite your var to something like: part: - name: eyes where: faces colors: - blue - brown - green And then use: - debug: msg: "{{ item.0.name }}_{{ item.1 }}" loop: "{{ part|subelements('colors') }}"

Re: [ansible-project] ansible and AWX

2019-06-10 Thread Игорь Туровский
You could still use AWX but work with its API instead of WebUI ( https://docs.ansible.com/ansible-tower/latest/html/towerapi/api_ref.html ) from Jenkins or whatever you want. There is also API client that could make API usage easier - https://docs.ansible.com/ansible-tower/latest/html/towerapi/to

[ansible-project] Complex variables and a key with a hyphen

2019-06-10 Thread Gregory Skelton
Hello Everyone, I'm trying to reference a complex variable, but one of the words has a hyphen which breaks things. Is there a way to set a fact the "specificVar" value from the last line in 1 set_fact statement? So right now I've split up the setting the vars into two different set_fact statement

Re: [ansible-project] Complex variables and a key with a hyphen

2019-06-10 Thread Kai Stian Olstad
On 10.06.2019 22:11, Gregory Skelton wrote: > Hello Everyone, > > I'm trying to reference a complex variable, but one of the words has a > hyphen which breaks things. Breaks what? With [] notation hyphen is allowed. > Is there a way to set a fact the "specificVar" value from the last line in >

Re: [ansible-project] Complex variables and a key with a hyphen

2019-06-10 Thread Gregory Skelton
I was trying to use all square brackets instead of mixing dot notation and brackets. Thanks for the quick answer Kia, works great. On Monday, June 10, 2019 at 3:27:17 PM UTC-5, Kai Stian Olstad wrote: > > On 10.06.2019 22:11, Gregory Skelton wrote: > > Hello Everyone, > > > > I'm trying to

Re: [ansible-project] 2019-Jun-06 devel branch and random hangs using winrm?

2019-06-10 Thread Jordan Borean
There's hasn't been any changes to the winrm or exec process for the devel branch that isn't in 2.8 and I haven't seen any big issues where it is hanging. Some things to check; - Do you see the module process actually running on the remote host - When it hangs, is the process still running

[ansible-project] Ansible Tower with windows AD

2019-06-10 Thread Barun kumar
All, Any idea how to integrate ansible tower with windows AD for AD user accounts login ?? Regards, Barun Kumar -- 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

[ansible-project] Download multiple artifacts from same groupId and artifactId using ansible maven_artifact module

2019-06-10 Thread srikanth gali
I have 2 artfacts in maven repository. app.ear and app.zip in the same artifactId and groupId. but when i want to download both artifacts, it is failing to download app.ear file as it is pointing to app.zip location. it is because I upload app.ear then app.zip to nexus repository. this issue i

Re: [ansible-project] Ansible Tower with windows AD

2019-06-10 Thread Kai Stian Olstad
On 11.06.2019 04:11, Barun kumar wrote: Any idea how to integrate ansible tower with windows AD for AD user accounts login ?? This is not the list for Tower, please contact RedHat for Tower support. -- Kai Stian Olstad -- You received this message because you are subscribed to the Google Gro

Re: [ansible-project] Complex variables and a key with a hyphen

2019-06-10 Thread Kai Stian Olstad
On 10.06.2019 23:00, Gregory Skelton wrote: I was trying to use all square brackets instead of mixing dot notation and brackets. That would be {{ example_text['json']['output-parameters'][0]['value']['string']['value'] }} -- Kai Stian Olstad -- You received this message because you are s

[ansible-project] ansible nexus upload

2019-06-10 Thread CORLEONE##
hello guys i am trying to put some artifacts in a folder into nexus using ansible. i have tried with put and post of uri module. however i didn't set the content type option. if i have to set that what shoukf i set. can u guys help me -- You received this message because you are subscribed to th

Re: [ansible-project] Ansible Tower with windows AD

2019-06-10 Thread Barun kumar
Hi Jlozadad, Can you help us to integrate ansible tower to windows AD? On Tue, 11 Jun 2019, 10:34 Kai Stian Olstad, < ansible-project+l...@olstad.com> wrote: > On 11.06.2019 04:11, Barun kumar wrote: > > Any idea how to integrate ansible tower with windows AD for AD user > > accounts login ??

Re: [ansible-project] remote module (vmware_guest_find) does not support check mode

2019-06-10 Thread Martin Krizek
Hello, how are you running 'ansible-playbook' command? If you are passing "-C" or "--check" then the message is expected; you might want to create a feature request for vmware_guest_find to support check_mode. Otherwise it might be a bug. Thanks, Martin On Mon, Jun 10, 2019 at 5:30 PM Kishore He