[ansible-project] Re: Galaxy maintenance tonight 11 PM Eastern

2017-08-17 Thread chousekn
And we're back. Galaxy maintenance completed, and all 12,798 roles are once again available for download. --Chris On Thursday, August 17, 2017 at 3:17:53 PM UTC-4, chou...@redhat.com wrote: > > We'll be taking Galaxy offline for approximately an hour this evening > starting at 11:00 PM

[ansible-project] delegate_to localhost tries to connect to WinRM

2017-08-17 Thread Sandeep MS
I need a role with some tasks for remote windows server and some tasks for localhost. A sample like this fails with UNREACHABLE! => {"changed": false, "msg": "plaintext: HTTPConnectionPool(host='localhost', port=5985): Max retries exceeded with url: /wsman (Caused by NewConnectionError(':

Re: [ansible-project] suggest me the steps for clearing the hadoop YARN Cache using Ansible

2017-08-17 Thread Dick Visser
Hi Suggestion is to use the service module for step 1 and 4. Find the documentation here: http://docs.ansible.com/ansible/latest/service_module.html Other steps just the find module or even command module. Dick On Wed, 16 Aug 2017 at 19:21, bibhu patnaik wrote: >

[ansible-project] Re: How to call roles & specify tags for those roles

2017-08-17 Thread Mike Klebolt
I use tags at the role level when I have a play that contains multiple roles. If all you're wanting to do is run the config apache task, remove the config_apache tag from the role and leave it on the task. Hopefully I'm understanding your question correctly. --- - hosts: 10.10.0.5 become:

[ansible-project] Re: How to call roles & specify tags for those roles

2017-08-17 Thread Anfield
Ok..Not sure I follow. So what would be the point then in calling a role with tags at all, if you cannot define which tag to 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

[ansible-project] Re: How to call roles & specify tags for those roles

2017-08-17 Thread Mike Klebolt
If you are adding a tag to a role, there is no need to use the same tag on any of the tasks within the role. So running your playbook with -t config_apache will include both tasks. Running it with -t apache_install will only run the Install apache task.

[ansible-project] Re: disable unnecessary output on ansible server console

2017-08-17 Thread Mike Klebolt
What do you have in your ansible.cfg for stdout_callback? On Thursday, August 17, 2017 at 9:13:25 AM UTC-5, Sameer Modak wrote: > > Hello Team, > When i run following command i get log of output on screen. I just want if > it success or failed. > > ansible web -m yum -a "name=MySQL-python

[ansible-project] Re: how to retain stdout formatting when using adhoc commands (shell module)

2017-08-17 Thread Jeremy Eder
I think so, but wasn't able to get that working with adhoc commands. On Thursday, August 17, 2017 at 3:51:48 PM UTC-4, Mike Klebolt wrote: > > Not sure what exactly you mean. Is stdout_lines what you're looking for? > > On Thursday, August 17, 2017 at 1:32:20 PM UTC-5, je...@redhat.com wrote: >>

[ansible-project] Re: how to retain stdout formatting when using adhoc commands (shell module)

2017-08-17 Thread Mike Klebolt
Not sure what exactly you mean. Is stdout_lines what you're looking for? On Thursday, August 17, 2017 at 1:32:20 PM UTC-5, je...@redhat.com wrote: > > Hey -- when running adhoc commands (using shell module), the stdout > returned from target systems is stripped of formatting. Is there a >

[ansible-project] Galaxy maintenance tonight 11 PM Eastern

2017-08-17 Thread chousekn
We'll be taking Galaxy offline for approximately an hour this evening starting at 11:00 PM Eastern. During this time the the web site will be offline, which means logins, role imports and role downloads (from Galaxy) will be disabled. Apologies for any inconvenience, but we need to perform a

[ansible-project] how to retain stdout formatting when using adhoc commands (shell module)

2017-08-17 Thread jeder
Hey -- when running adhoc commands (using shell module), the stdout returned from target systems is stripped of formatting. Is there a standard way to retain the formatting? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe

[ansible-project] Inconsistency in variable interpretation in ignore_errors when combined with with_items ...

2017-08-17 Thread G Sudduth
Hi, So, I have a task ... --- - name: FAILER! command: /bin/false #with_items: # - one # - two #ignore_errors: True ignore_errors: "{{ ignore_replication_errors | default(false) }}" If I go ... ansible-playbook test.pl --extra-vars "ignore_replication_errors=false"

[ansible-project] Cannot connect to WindowsServer from Centos7 ProxyError

2017-08-17 Thread Mike Fennemore
A few extra group_vars: ansible_winrm_server_cert_validation: false and ansible_port should be a port number not y. It should be 5985 or 5986. You could also use ntlm by adding ansible_winrm_transport:ntlm -- You received this message because you are subscribed to the Google Groups "Ansible

[ansible-project] Syntax Issues for When Conditional

2017-08-17 Thread Mark Huang
Hi, What is the proper syntax for trying to do something like this? It works fine but it gives me a warning that says not to use templating delimiters. when: "{{ customer }}.aws_cloud_formation_state == 'present'" I have tried just doing when: customer.aws_cloud_formation_state == 'present'

[ansible-project] disable unnecessary output on ansible server console

2017-08-17 Thread Sameer Modak
Hello Team, When i run following command i get log of output on screen. I just want if it success or failed. ansible web -m yum -a "name=MySQL-python state=present". 192.168.211.129 | SUCCESS => { "changed": true, "msg": "", "rc": 0, "results": [ "Loaded plugins:

[ansible-project] Cannot connect to WindowsServer from Centos7 ProxyError

2017-08-17 Thread Aleksander Lipka
*Hi* I am trying to connect to Windows Server 2012 from my ansible server (Centos7). Let's assume its host is x and port is y I managed to connect to other linux based servers but I cannot connect to the windows one. I followed the tutorial here:

[ansible-project] Re: Destroyed ec2 resources with count_tag and exact count

2017-08-17 Thread Bill Brooks
I did some further testing and want to confirm that the count_tag setting I used was: count_tag: 1 -- 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

[ansible-project] Destroyed ec2 resources with count_tag and exact count

2017-08-17 Thread Bill Brooks
I am working with Ansible and just accidentally terminated 4 ec2 instances out of 20+ in AWS and I'm trying to figure out the why as to what was deleted. I have already determined that the code I originally used was wrong, but wish to understand what happened. The quasi code in question

[ansible-project] jenkins_configure_proxy role missing in Ansible

2017-08-17 Thread Maciej Gawinecki
I have Ansible 2.4.0. I am trying to configure Jenkins proxy based on [Ansible Jenkins DevOps Roles documentation][1]: - hosts: master roles: - jenkins_configure_proxy: jenkins_home: "{{ jenkins_home }}" proxy_host: "{{ proxy_host }}" proxy_port:

[ansible-project] Re: docker module - what is the syntax for 'volumes' parameter

2017-08-17 Thread tony . dang
Hi Guillaume, I mount the volumes as spec but it cannot mount successfully as expected as using `docker run -v` Do you have any idea? Thank you! Tony On Saturday, September 27, 2014 at 5:27:20 AM UTC+7, Guillaume DEDRIE wrote: > > Hi /BK, > If you want to manage volumes in Docker containers,

[ansible-project] Re: async tasks not following remote_tmp settings

2017-08-17 Thread alan
Created new issue #28318 . Il giorno venerdì 14 luglio 2017 10:09:01 UTC+2, al...@iooota.com ha scritto: > > Greetings, > > I think I'm having the same issue reported in #10054 > , but using >