[ansible-project] Get details of installed iis websites

2018-02-04 Thread Suporter
I am using win_iis_website and would like to know whether it is possible to fetch the details of already installed websites like location, application pool and so on -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this

[ansible-project] To Login SOAP API

2018-02-04 Thread rajasekhar mutyala
Hi All, I am trying to login and perform some taks using SOAP API with ansible. Can you please let me know how to call SOAP API along with examples would really help. Thanks Rajasekhar -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

[ansible-project] Re: Creating multiple rules on an AWS load balancer listener

2018-02-04 Thread eshan TANDON
Hi There, Seems like the code is executing the entire block twice, ie the ELB creation is getting executed twice. Here is the reference document: http://docs.ansible.com/ansible/latest/playbooks_loops.html -- - name: add

[ansible-project] Re: New module return type

2018-02-04 Thread Jordan Borean
Sorry was a typo that meant dict, I’m not really sure how macOS works but would it be better to add the dict support types to the existing module instead of creating a new one? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe

Re: [ansible-project] Re: ansible conditions

2018-02-04 Thread eshan TANDON
Hi Sudhir, Try logging the actual values: - debug: var=vg_name verbosity=3 - debug: var=mtpt_size verbosity=3 Thanks, Eshan On Sun, Feb 4, 2018 at 3:04 PM, Sudhir Kumar wrote: > Hi All, > > Seems like some miscommunication here. I provided code in my first comment

[ansible-project] Re: ansible conditions

2018-02-04 Thread Sudhir Kumar
Hi All, Seems like some miscommunication here. I provided code in my first comment : # - name: Executing lvm script shell: /tmp/lvm-script.sh sdb {{ vg_name }} {{ mtpt_size }} args: chdir: /tmp/ when: vg_name is defined ## And using with jenkins +

[ansible-project] Re: New module return type

2018-02-04 Thread matzehollerbach
Thank you for your response! Actually the osx_defaults module you are referring to is very limited in scope because the command it uses doesn't support nested dictionaries. My module manipulates these defaults in another way. What do you mean by "rift type" ? I think I will follow you advice and

[ansible-project] New module return type

2018-02-04 Thread Jordan Borean
I don’t meant to burst your bubble but a module to do this already exists http://docs.ansible.com/ansible/latest/osx_defaults_module.html. It may be good to look into that and see if it does what you are looking to so. For this issue, complex usually means a rift type, you may be better off

[ansible-project] New module return type

2018-02-04 Thread matzehollerbach
I'm currently developing my first ansible module . It can read/write os x settings, since these settings can be nested the return type can be an integer, float, string, dict, list, etc... When I run

[ansible-project] socket_path: None Win10 Linux Emulator

2018-02-04 Thread ajay reddy m
Any help in finding reason why i get error "socket_path: None" ? COMPONENT NAME ios_command ANSIBLE VERSION ansible 2.4.3.0 config file = /mnt/c/Users/ajayr/Documents/overall_example/ansible.cfg configured module search path = [u'/home/ajayreddy28390/.ansible/plugins/modules',

[ansible-project] Using tower for automaed patching

2018-02-04 Thread Dhaval Joshi
Hello, I am new to tower, i have a plan to design patching as a services for automated patching on Linux box, i am also using satellite6 for patch information. Does anyone have implemented it ? If you can share your ideas/docs please ? I am aslo interested in RBAC so team2 does not have access

[ansible-project] Creating multiple rules on an AWS load balancer listener

2018-02-04 Thread george
Hi All, I have an application load balancer in AWS with an HTTP listener configured (another tool provisioned it, not ansible). Anyway my task is to add rules to its HTTP listener using Ansible by looping through a vars file. I first use Ansible's various AWS get_fact operations to discover

[ansible-project] Creating multiple rules for an AWS ALB listener

2018-02-04 Thread george
Hi All, I have an application load balancer in AWS with an HTTP listener configured (another tool provisioned it, not ansible). Anyway my task is to add rules to its HTTP listener using Ansible by looping through a vars file. I first use Ansible's various AWS get_fact operations to discover

[ansible-project] Re: ssh connection doesn't work

2018-02-04 Thread jonathan . recly
really ? just that ? I try with python installed in the managed machine And you know what ? It's work :) Thanks very much for your help. I pass two day to search on internet solution, and you save me with this simply response. Have a good day and thanks again. Le dimanche 4 février

[ansible-project] Re: ssh connection doesn't work

2018-02-04 Thread Varun Chopra
You need to have Python installed on the managed host. On Sunday, February 4, 2018 at 6:22:54 PM UTC+5:30, jonatha...@clearsys.re wrote: > > Hi everybody, > > I have some problems to use ansible. > > > I use ansible version 2.4.3.0 i > > I testing just one host with IP and port (I have port

[ansible-project] ssh connection doesn't work

2018-02-04 Thread jonathan . recly
Hi everybody, I have some problems to use ansible. I use ansible version 2.4.3.0 i I testing just one host with IP and port (I have port fowarding). I copying ssh pub key (ssh-copy-id). I try to install Git on the target serveur. tasks: - name: Installation de Git apt: name=git

[ansible-project] Re: ansible conditions

2018-02-04 Thread Varun Chopra
Hi Sudhir, You're barely making sense and it doesn't help when you don't provide any code. Nobody can help you if they don't understand you. -- Varun On Thursday, February 1, 2018 at 9:11:08 PM UTC+5:30, Sudhir Kumar wrote: > > Hi, > > Below snippet sometimes working and sometimes failing.

Re: [ansible-project] Ansible scans all files under host_vars when executing a playbook

2018-02-04 Thread Kai Stian Olstad
On Friday, 2 February 2018 19.06.22 CET Carl Wainwright wrote: > I trying to understand if my setup is correct or not given the subject > matter. > > When I run a playbook on a particular host and a host_vars file for another > host has a syntactical error the playbook execution fails because

Re: [ansible-project] pyOpenSSL is in Python path but Ansible does not see it (Openssl_certificate module)

2018-02-04 Thread Kai Stian Olstad
On Saturday, 3 February 2018 02.16.37 CET Michael Bubb wrote: > > When trying to run the Openssl_certificate module with provider=assertonly > I am getting > > "The python pyOpenSSL library is required" > > but it looks like that is available to Python: > > python -m OpenSSL.debug >From the