Re: [ansible-project] No output from Cisco router

2017-12-08 Thread SK
Hi,

I am also facing a similar problem.  The output says "register" is not 
supported for ios_command module.  Any idea on this?  I am running the 
latest ansible version 2.4.2.0.  If I don't use the register command, the 
playbook executes successfully, so the error is only caused by 
register/stdout related commands.

Appreciate any help.


---
 - name: Checking running cisco config
   hosts: cisco
   gather_facts: False
   connection: local
   vars_files:
   - creds.yml

   tasks:


  - name: configure provider
set_fact:
 provider:
   username: "{{username}}"
   password: "{{password}}"
   host: "{{inventory_hostname}}"


  - name: DEPLOY SNMP COMMANDS WITHIN PB
delegate_to: localhost
ios_command:
   provider: "{{ provider }}"
   commands:
 - show mod | i c200
   register: showmod

  - debug: "msg='2c31.24a4.c200'"
when: showmod.stdout | join(" ") | search("/c200/")




PLAY [Checking running cisco config] 


TASK [configure provider] 
***
ok: [sltnrmgmt]

TASK [DEPLOY SNMP COMMANDS WITHIN PB] 
***
fatal: [sltnrmgmt -> localhost]: FAILED! => {"changed": false, "msg": 
"Unsupported parameters for (ios_command) module: register Supported 
parameters include: 
auth_pass,authorize,commands,host,interval,match,password,port,provider,retries,ssh_keyfile,timeout,username,wait_for"}
to retry, use: --limit @/etc/ansible/cisco-test.retry

PLAY RECAP 
**
sltnrmgmt  : ok=1changed=0unreachable=0failed=1


ansible --version
ansible 2.4.2.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', 
u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Nov  6 2016, 00:28:07) [GCC 4.8.5 
20150623 (Red Hat 4.8.5-11)]

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3e988519-1c07-4c82-8390-ca30657bcf6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Re: Write dynmaic variables in variable file and load into playbooks

2017-12-08 Thread Kai Stian Olstad
On Wednesday, 6 December 2017 17.35.48 CET Python Guru wrote:
>Whatever you said is working and i'm happy to see that it's working. but 
> what if i want to load the variable file into a ansible variable and then 
> start taking out each variable
>from the var file.
> 
> My Var file:
> 
>  name: APPSERVER
>  var2: '{{ name }}_PROD'
> 
> My Playbook:   
>---
>-
>   hosts: machines
>   vars:
>   TARGET_SID: "APPSERVER"
>   tasks:
> -
>   include_vars:
> file: target_master.yml
> name: stuff
> 
> -
>   debug:
> msg: "{{stuff.var2}}"
> 
>  I cannot access variables like the above mentioned way, though your way is 
> working but i am unable to load all variables into a different ansible 
> variable,and then 
>  want to extract using that variable name.
> 
>  I am getting the below error:
>  
> TASK [debug] 
> *
> fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an 
> undefined variable. The error was: {u'name': u'Appserver', u'var2': u'{{ 
> name }}_var2'}: 'name' is undefined\n\nThe error appears to have been in 
> '/root/anisble_examples/ebs/my.yml': line 13, column 7, but may\nbe 
> elsewhere in the file depending on the exact syntax problem.\n\nThe 
> offending line appears to be:\n\n-\n  debug:\n  ^ 
> here\n\nexception type:  'ansible.errors.AnsibleUndefinedVariable'>\nexception: {u'name': 
> u'Appserver', u'var2': u'{{ name }}_var2'}: 'name' is undefined"}
> to retry, use: --limit @/root/anisble_examples/ebs/my.retry

It looks like it changes behavior when name: is used on include_vars.

  - debug: var=stuff
This will fail

  - debug: var=vars['stuff']
This will work

Both of them should have worked so it must be a bug.

And when using name in the include_vars the variables doesn't get expanded.
I guess this is also a bug since it works without the name:. 


-- 
Kai Stian Olstad

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3916834.UNl1ugis9t%40x1.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] No output from Cisco router

2017-12-08 Thread Kai Stian Olstad
On Friday, 8 December 2017 09.10.55 CET SK wrote:
> I am also facing a similar problem.  The output says "register" is not 
> supported for ios_command module.  Any idea on this?  I am running the 
> latest ansible version 2.4.2.0.  If I don't use the register command, the 
> playbook executes successfully, so the error is only caused by 
> register/stdout related commands.
> 
> Appreciate any help.
> 
> 
> ---
>  - name: Checking running cisco config
>hosts: cisco
>gather_facts: False
>connection: local
>vars_files:
>- creds.yml
> 
>tasks:
> 
> 
>   - name: configure provider
> set_fact:
>  provider:
>username: "{{username}}"
>password: "{{password}}"
>host: "{{inventory_hostname}}"
> 
> 
>   - name: DEPLOY SNMP COMMANDS WITHIN PB
> delegate_to: localhost
> ios_command:
>provider: "{{ provider }}"
>commands:
>  - show mod | i c200
>register: showmod

register is a directive for the task and not the module.
So the register is indented to spaces to much, it should be on the same level 
as ios_command, delegate_to and name.


-- 
Kai Stian Olstad

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1605394.2qriKVsdF7%40x1.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] No output from Cisco router

2017-12-08 Thread SK
Excellent!  Many thanks for the pointer and it is working now.  Is there 
any link that you could provide me regarding the best practices for 
indendations?

On Friday, December 8, 2017 at 4:19:41 PM UTC+8, Kai Stian Olstad wrote:
>
> On Friday, 8 December 2017 09.10.55 CET SK wrote: 
> > I am also facing a similar problem.  The output says "register" is not 
> > supported for ios_command module.  Any idea on this?  I am running the 
> > latest ansible version 2.4.2.0.  If I don't use the register command, 
> the 
> > playbook executes successfully, so the error is only caused by 
> > register/stdout related commands. 
> > 
> > Appreciate any help. 
> > 
> > 
> > --- 
> >  - name: Checking running cisco config 
> >hosts: cisco 
> >gather_facts: False 
> >connection: local 
> >vars_files: 
> >- creds.yml 
> > 
> >tasks: 
> > 
> > 
> >   - name: configure provider 
> > set_fact: 
> >  provider: 
> >username: "{{username}}" 
> >password: "{{password}}" 
> >host: "{{inventory_hostname}}" 
> > 
> > 
> >   - name: DEPLOY SNMP COMMANDS WITHIN PB 
> > delegate_to: localhost 
> > ios_command: 
> >provider: "{{ provider }}" 
> >commands: 
> >  - show mod | i c200 
> >register: showmod 
>
> register is a directive for the task and not the module. 
> So the register is indented to spaces to much, it should be on the same 
> level as ios_command, delegate_to and name. 
>
>
> -- 
> Kai Stian Olstad 
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ae6568a4-5f25-4f7a-b213-ba5ced1ac194%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] No output from Cisco router

2017-12-08 Thread Kai Stian Olstad

On 08.12.2017 10:10, SK wrote:
Excellent!  Many thanks for the pointer and it is working now.  Is 
there

any link that you could provide me regarding the best practices for
indendations?


You have the YAML specification that says it must be space and you need 
to be consistent on the number of spaces you use.


For Ansible you have the list[1] that list all directives and where you 
can use them.

What you can use on the module it self is documented under each module.

So for register, you'll not find that documented under ios_command so 
you can't have under the module. But if you check the link you'll see 
that register on can be used on the task.



[1] http://docs.ansible.com/ansible/latest/playbooks_keywords.html

--
Kai Stian Olstad

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/129c2b284d5f705e4bdaa9787cb622f3%40olstad.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible 2.4 reports an error when extra var is passed

2017-12-08 Thread cmoullia
Hi

ansible playbook reports an error when one of the value of the yaml config 
file imported as var is passed on the command line using -e

Yaml Config File

#
# Istio
#
istio:
  github_url: https://api.github.com/repos
  repo: istio/istio

  # Could be a tag "0.2.12" version or be empty "", then in this case, the 
latest release will be downloaded
  release_tag_name: "0.2.12"
  
  # Folder where you want to install the distro on your machine. By 
default, we will install it here ~/.istio
  dest: "$HOME/.istio"



Command

ansible-playbook ansible/main.yml --extra-vars "{'istio': 
{'release_tag_name': 0.3.0}}" -t install-istio -v


Result

TASK [Define var containing Istio dir] 
*
fatal: [localhost]: FAILED! => {"failed": true, "msg": "The task includes 
an option with an undefined variable. The error was: 'dict object' has no 
attribute 'dest'\n\nThe error appears to have been in 
'/Users/dabou/Code/istio/installation/ansible/istio/set_istio_distro_dir.yml': 
line 7, column 3, but may\nbe elsewhere in the file depending on the exact 
syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Define 
var containing Istio dir\n  ^ here\n\nexception type: \nexception: 'dict object' has no 
attribute 'dest'"}

So, for a reason that I don't know, ansible is not able to find the 
istio.dest variable

The playbook doesn't report error when no '-e' var is passed to the 
command  !

What could be the issue ?

Regards

Charles

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a414b4f1-83eb-4861-ab6b-8195e48d228d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] ansible 2.4 reports an error when extra var is passed

2017-12-08 Thread Kai Stian Olstad
On Friday, 8 December 2017 12.33.09 CET cmoul...@redhat.com wrote:
> ansible playbook reports an error when one of the value of the yaml config 
> file imported as var is passed on the command line using -e
> 
> Yaml Config File
> 
> #
> # Istio
> #
> istio:
>   github_url: https://api.github.com/repos
>   repo: istio/istio
> 
>   # Could be a tag "0.2.12" version or be empty "", then in this case, the 
> latest release will be downloaded
>   release_tag_name: "0.2.12"
>   
>   # Folder where you want to install the distro on your machine. By 
> default, we will install it here ~/.istio
>   dest: "$HOME/.istio"
> 
> 
> 
> Command
> 
> ansible-playbook ansible/main.yml --extra-vars "{'istio': 
> {'release_tag_name': 0.3.0}}" -t install-istio -v
> 
> 
> Result
> 
> TASK [Define var containing Istio dir] 
> *
> fatal: [localhost]: FAILED! => {"failed": true, "msg": "The task includes 
> an option with an undefined variable. The error was: 'dict object' has no 
> attribute 'dest'\n\nThe error appears to have been in 
> '/Users/dabou/Code/istio/installation/ansible/istio/set_istio_distro_dir.yml':
>  
> line 7, column 3, but may\nbe elsewhere in the file depending on the exact 
> syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Define 
> var containing Istio dir\n  ^ here\n\nexception type:  'ansible.errors.AnsibleUndefinedVariable'>\nexception: 'dict object' has no 
> attribute 'dest'"}
> 
> So, for a reason that I don't know, ansible is not able to find the 
> istio.dest variable

Because you overwritten the variable on the command line.


> The playbook doesn't report error when no '-e' var is passed to the 
> command  !

I guess it has default dict that include dest.


> What could be the issue ?

When you overwrite a dict you need to provide everything since it's not 
possible to just change part of it.

-- 
Kai Stian Olstad

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1682242.5DCYqKPhi8%40x1.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Re: Wont be able to ping Windows Machines Via Linux Ansible Server

2017-12-08 Thread 'J Hawkesworth' via Ansible Project
Not sure what c:\tmp\notepad.exe is in your example, but here is how I 
install notepad++

{{ deploy_dir }} is a staging location where I keep files to be installed.  
I guess you could use C:\tmp for that if it makes sense for you.

the /S makes the notepad++ installer run in silent, or 'unattended' mode. 
Without this it will pop up a user interface on the target windows machine, 
which will never be visible, so the task will just and and eventually it 
will timeout, as you have seen.

A lot of windows installers need telling to run in silent/unattended mode 
otherwise they will do this.  Windows often assumes there is someone 
sitting in front of the computer installing software.

I'd suggest trying win_chocolatey module if you can as that makes 
installing many popular windows programs about as easy it can be.

Hope this helps,

Jon

- name: use win_get_url module to download notepad plus plus
  win_get_url:
url: https:
//notepad-plus-plus.org/repository/7.x/7.5.3/npp.7.5.3.Installer.exe
dest: "{{ deploy_dir }}npp.7.5.3.Installer.exe"


- name: install notepad plus plus

  win_shell: "{{ deploy_dir }}npp.7.5.3.Installer.exe /S"









On Tuesday, December 5, 2017 at 4:49:00 AM UTC, shilpa motghare wrote:
>
> Thanks 
>
> It works, I am able to do ping pong to my windows client but not able to 
> install a .exe packages through ansible this is my output
>
> ansible windows  -m win_ping
> Lenovo-PC | SUCCESS => {
> "changed": false,
> "ping": "pong"
> }
>
> And my windows.yml file is:
> ansible_user: Administrator
> ansible_password: 
> ansible_ssh_port: 5985
> ansible_connection: winrm
> ansible_winrm_server_cert_validation: ignore
>
> but now I want to install a notepad++  on windows via ansible this is my 
> notepad.yml file:
>
> - name: test raw module
>   hosts: windows
>   tasks:
> - name: Install Notepad plus
>   win_package:
> path: C:\tmp\notepad.exe
> product_id:
> state: present
> It take too much time for the output and it come  with error the 
> screenshot of error I am attaching here.
>
> Please help me why this happening.
>
> On Thu, Nov 23, 2017 at 12:26 PM, Soniya panwar  > wrote:
>
>> Hello,
>>
>> There could be a few things not correctly configured or missed that could 
>> result into below error:
>>
>>
>> First and foremost, while installing Ansible, did you resolve 
>> dependencies for paramiko, PyYAML, Jinja2 and httplib2 packages? If not, 
>> you may execute below commands on the linux machine with Ansible 
>> installation.
>>
>> 1.   $ sudo pip install paramiko PyYAML Jinja2 httplib2
>>
>> 2.   $ pip install "pywinrm>=0.1.1"
>>
>> 3.   $ pip install 
>> http://github.com/diyan/pywinrm/archive/master.zip#egg=pywinrm
>>
>>  
>>
>> Secondly, verify that the version of Microsoft.NET Framework is 4.0 or 
>> later. If not you may follow below steps to get it upgraded.
>>
>> 1.   Click on Start -> Control Panel -> Program and Features -> Add 
>> or Remove Programs.  
>>
>> 2.   Scroll down to the M's and look for Microsoft .NET Framework.  
>> If you don't have version 4.0 or later, download and install it from here “
>> https://www.microsoft.com/en-us/download/details.aspx?id=30653”.
>>
>>  
>>
>> Thirdly, the ansible_user used in windows.yml file should have admin 
>> privileges on remote windows machine to make connection to PowerShell. You 
>> may follow below steps to grant admin privileges to the user, if not 
>> provided already.
>>
>> 1.   Click on Start -> Control Panel -> User Accounts -> Manage User 
>> Accounts. 
>>
>> 2.   Select your new account and click on Properties.  
>>
>> 3.   Click on the Group Membership tab and change the Group 
>> Membership from Standard User to Administrator.  
>>
>> 4.   Click OK, OK and Close.  Restart computer.  
>>
>> *Note*:- The remote computer need not be logged into this account for 
>> Ansible to make a remote connection to PowerShell, but the account must 
>> exist.
>>
>>  
>>
>> Last but not the least, you need to execute a PowerShell script in order 
>> to enable WinRM/PS Remoting. Below are the steps to be followed. 
>>
>> 1.   Start PowerShell and run the command Set-ExecutionPolicy  
>> -ExecutionPolicy Unrestricted 
>>
>> 2.   Download PowerShell script (named 
>> ConfigureRemotingForAnsible.ps1) for enabling WinRM/PSRemoting.  You can 
>> get the most recent version here:
>> “
>> https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1”.
>>   
>>
>>
>> 3.   And then run the PowerShell script :
>>
>> •  powershell.exe -File 
>> ConfigureRemotingForAnsible.ps1 
>>
>>   Pass the -CertValidityDays option to customize the 
>> expiration date of the generated certificate:
>>
>> •  powershell.exe -File 
>> ConfigureRemotingForAnsible.ps1 -CertValidityDays 100
>>
>>  Pass the -EnableCredSSP switch to enable CredSSP as an 
>> authenti

[ansible-project] Re: Ansible with Windows

2017-12-08 Thread 'J Hawkesworth' via Ansible Project
Yes, this is possible, there is lots of information on authentication 
options in the documentation here:
https://docs.ansible.com/ansible/devel/windows.html

Hope this helps,

Jon

On Tuesday, November 28, 2017 at 5:07:07 PM UTC, Alicia Nguyen wrote:
>
> Hi,
>
> I had ansible controlling a few Windows machines but I've had to disable 
> Basic Authentication for WinRM due to security concerns. Is it possible to 
> use control Windows machines via ansible without basic WinRM authentication?
>
> Thanks,
> Alicia Nguyen
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d344cf7b-f75d-4148-9fba-f596dacb5e66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Re: Wont be able to ping Windows Machines Via Linux Ansible Server

2017-12-08 Thread shilpa motghare
Hiii

Thanks for your reply

[root@ansible-server ansible]# ansible-playbook notepad.yml  -vvv
Using /etc/ansible/ansible.cfg as config file
ERROR! 'win_get_url' is not a valid attribute for a Play

The error appears to have been in '/etc/ansible/notepad.yml': line 1,
column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: test raw module
  ^ here



This is  my yml file
[root@ansible-server ansible]# cat notepad.yml
- name: test raw module
  hosts: windows
  tasks:
  win_get_url:
url:
https://notepad-plus-plus.org/repository/7.x/7.5.3/npp.7.5.3.Installer.exe
dest: "{{ C:\tmp }}npp.7.5.3.Installer.exe"


- name: install notepad plus plus

  win_shell: "{{ C:\tmp }}npp.7.5.3.Installer.exe /S"



getting this error


On Fri, Dec 8, 2017 at 5:30 PM, 'J Hawkesworth' via Ansible Project <
ansible-project@googlegroups.com> wrote:

> Not sure what c:\tmp\notepad.exe is in your example, but here is how I
> install notepad++
>
> {{ deploy_dir }} is a staging location where I keep files to be
> installed.  I guess you could use C:\tmp for that if it makes sense for you.
>
> the /S makes the notepad++ installer run in silent, or 'unattended' mode.
> Without this it will pop up a user interface on the target windows machine,
> which will never be visible, so the task will just and and eventually it
> will timeout, as you have seen.
>
> A lot of windows installers need telling to run in silent/unattended mode
> otherwise they will do this.  Windows often assumes there is someone
> sitting in front of the computer installing software.
>
> I'd suggest trying win_chocolatey module if you can as that makes
> installing many popular windows programs about as easy it can be.
>
> Hope this helps,
>
> Jon
>
> - name: use win_get_url module to download notepad plus plus
>   win_get_url:
> url: https://notepad-plus-plus.org/repository/7.x/7.5.3/npp.7.5.
> 3.Installer.exe
> dest: "{{ deploy_dir }}npp.7.5.3.Installer.exe"
>
>
> - name: install notepad plus plus
>
>   win_shell: "{{ deploy_dir }}npp.7.5.3.Installer.exe /S"
>
>
>
>
>
>
>
>
>
> On Tuesday, December 5, 2017 at 4:49:00 AM UTC, shilpa motghare wrote:
>>
>> Thanks
>>
>> It works, I am able to do ping pong to my windows client but not able to
>> install a .exe packages through ansible this is my output
>>
>> ansible windows  -m win_ping
>> Lenovo-PC | SUCCESS => {
>> "changed": false,
>> "ping": "pong"
>> }
>>
>> And my windows.yml file is:
>> ansible_user: Administrator
>> ansible_password: 
>> ansible_ssh_port: 5985
>> ansible_connection: winrm
>> ansible_winrm_server_cert_validation: ignore
>>
>> but now I want to install a notepad++  on windows via ansible this is my
>> notepad.yml file:
>>
>> - name: test raw module
>>   hosts: windows
>>   tasks:
>> - name: Install Notepad plus
>>   win_package:
>> path: C:\tmp\notepad.exe
>> product_id:
>> state: present
>> It take too much time for the output and it come  with error the
>> screenshot of error I am attaching here.
>>
>> Please help me why this happening.
>>
>> On Thu, Nov 23, 2017 at 12:26 PM, Soniya panwar 
>> wrote:
>>
>>> Hello,
>>>
>>> There could be a few things not correctly configured or missed that
>>> could result into below error:
>>>
>>>
>>> First and foremost, while installing Ansible, did you resolve
>>> dependencies for paramiko, PyYAML, Jinja2 and httplib2 packages? If not,
>>> you may execute below commands on the linux machine with Ansible
>>> installation.
>>>
>>> 1.   $ sudo pip install paramiko PyYAML Jinja2 httplib2
>>>
>>> 2.   $ pip install "pywinrm>=0.1.1"
>>>
>>> 3.   $ pip install http://github.com/diyan/pywinr
>>> m/archive/master.zip#egg=pywinrm
>>>
>>>
>>>
>>> Secondly, verify that the version of Microsoft.NET Framework is 4.0 or
>>> later. If not you may follow below steps to get it upgraded.
>>>
>>> 1.   Click on Start -> Control Panel -> Program and Features -> Add
>>> or Remove Programs.
>>>
>>> 2.   Scroll down to the M's and look for Microsoft .NET Framework.
>>> If you don't have version 4.0 or later, download and install it from here “
>>> https://www.microsoft.com/en-us/download/details.aspx?id=30653”.
>>>
>>>
>>>
>>> Thirdly, the ansible_user used in windows.yml file should have admin
>>> privileges on remote windows machine to make connection to PowerShell. You
>>> may follow below steps to grant admin privileges to the user, if not
>>> provided already.
>>>
>>> 1.   Click on Start -> Control Panel -> User Accounts -> Manage
>>> User Accounts.
>>>
>>> 2.   Select your new account and click on Properties.
>>>
>>> 3.   Click on the Group Membership tab and change the Group
>>> Membership from Standard User to Administrator.
>>>
>>> 4.   Click OK, OK and Close.  Restart computer.
>>>
>>> *Note*:- The remote computer need not be logged into this account for
>>> Ansible to make a remote connection to PowerShell, 

[ansible-project] vmware modules

2017-12-08 Thread phrantic7
Hello Guys,

I am new in Ansible but I like and I am eager to dig deeper in it.

Anyway, I am trying to use vmware_vm_facts module in order get any VM list 
from vCenter however I got  "Failed to connect  to the host via ssh:..."  

Why does vmware module try ssh connection to vCenter ? I was thinking that 
API should be used. What am I missing...?



If  it matters

---
- host: vcenter
  task:
  - name: registered vms
vmware_vm_facts:
   hostname: vcenter
   username: test
   password: 
delegate_to: localhost
register: vmfacts

  - debug:
   var: vmfacts.virtual_machines



Thank

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/46df86a2-34a4-4d03-8315-d838458f959d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: ansible 2.4 reports an error when extra var is passed

2017-12-08 Thread cmoullia
Which strategy do you propose then to be able to override a key=value 
defined within a yaml ?

On Friday, December 8, 2017 at 12:33:09 PM UTC+1, cmou...@redhat.com wrote:
>
> Hi
>
> ansible playbook reports an error when one of the value of the yaml config 
> file imported as var is passed on the command line using -e
>
> Yaml Config File
>
> #
> # Istio
> #
> istio:
>   github_url: https://api.github.com/repos
>   repo: istio/istio
>
>   # Could be a tag "0.2.12" version or be empty "", then in this case, the 
> latest release will be downloaded
>   release_tag_name: "0.2.12"
>   
>   # Folder where you want to install the distro on your machine. By 
> default, we will install it here ~/.istio
>   dest: "$HOME/.istio"
>
>
>
> Command
>
> ansible-playbook ansible/main.yml --extra-vars "{'istio': 
> {'release_tag_name': 0.3.0}}" -t install-istio -v
>
>
> Result
>
> TASK [Define var containing Istio dir] 
> *
> fatal: [localhost]: FAILED! => {"failed": true, "msg": "The task includes 
> an option with an undefined variable. The error was: 'dict object' has no 
> attribute 'dest'\n\nThe error appears to have been in 
> '/Users/dabou/Code/istio/installation/ansible/istio/set_istio_distro_dir.yml':
>  
> line 7, column 3, but may\nbe elsewhere in the file depending on the exact 
> syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Define 
> var containing Istio dir\n  ^ here\n\nexception type:  'ansible.errors.AnsibleUndefinedVariable'>\nexception: 'dict object' has no 
> attribute 'dest'"}
>
> So, for a reason that I don't know, ansible is not able to find the 
> istio.dest variable
>
> The playbook doesn't report error when no '-e' var is passed to the 
> command  !
>
> What could be the issue ?
>
> Regards
>
> Charles
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d0d69660-83d6-46fd-bf7e-019d67ec3d1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Email & Jinja2 templates

2017-12-08 Thread Gabriel Forster
Is there a way to easily send email notifications using a template as the 
email body? If I use a file lookup for the body, will all of the templating 
aspects work?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7347ab7a-7521-4528-895a-ce4a35d1c800%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Re: ansible 2.4 reports an error when extra var is passed

2017-12-08 Thread Kai Stian Olstad

On 08.12.2017 14:06, cmoul...@redhat.com wrote:

Which strategy do you propose then to be able to override a key=value
defined within a yaml ?


Instead of using dict, flatten it and use key value.

istio:
  dest: something
  release_tab_name: 0.2.12

Becomes
istio_dest: something
istro_release_tab_name: 0.2.12

Then you can easily override the individual variables.


--
Kai Stian Olstad

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/41f9714c91ea4c5d3e4b9430d4077a39%40olstad.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] vmware modules

2017-12-08 Thread Kai Stian Olstad

On 08.12.2017 13:55, phrant...@gmail.com wrote:

Hello Guys,

I am new in Ansible but I like and I am eager to dig deeper in it.

Anyway, I am trying to use vmware_vm_facts module in order get any VM 
list
from vCenter however I got  "Failed to connect  to the host via 
ssh:..."


Is always better if you can show the hole error message of the run.
Even run it with -


Why does vmware module try ssh connection to vCenter ? I was thinking 
that

API should be used. What am I missing...?


Maybe because you have changed localhost in your inventory?



If  it matters
---
- host: vcenter
  task:
  - name: registered vms
vmware_vm_facts:
   hostname: vcenter
   username: test
   password: 
delegate_to: localhost
register: vmfacts

  - debug:
   var: vmfacts.virtual_machines


It always matter, the more relevant information the better or else we 
are bling.


You haven't told us your Ansible version, but if it's 2.4 run this

ANSIBLE_STDOUT_CALLBACK=debug ansible-playbook - playbook.yml



--
Kai Stian Olstad

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/da9218217cf9ceba241ea41b4d606d54%40olstad.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: vmware modules

2017-12-08 Thread phrantic7
Thanks for your prompt response !

I have just found out that I need to add  "connection: local" and that 
fixed the issue.


---
- host: vcenter
  connection: local   

  task:
  - name: registered vms
vmware_vm_facts:
   hostname: vcenter
   username: test
   password: 
delegate_to: localhost
register: vmfacts

  - debug:
   var: vmfacts.virtual_machines



On Friday, December 8, 2017 at 2:55:56 PM UTC+2, phra...@gmail.com wrote:
>
> Hello Guys,
>
> I am new in Ansible but I like and I am eager to dig deeper in it.
>
> Anyway, I am trying to use vmware_vm_facts module in order get any VM list 
> from vCenter however I got  "Failed to connect  to the host via ssh:..."  
>
> Why does vmware module try ssh connection to vCenter ? I was thinking that 
> API should be used. What am I missing...?
>
>
>
> If  it matters
>
> ---
> - host: vcenter
>   task:
>   - name: registered vms
> vmware_vm_facts:
>hostname: vcenter
>username: test
>password: 
> delegate_to: localhost
> register: vmfacts
>
>   - debug:
>var: vmfacts.virtual_machines
>
>
>
> Thank
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/66fcf924-ea54-4d58-b735-7ea32a487bca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] How to hot deploy to tomcat with ansible?

2017-12-08 Thread Michael Hoeller


Hello


Currently I build my app with maven and use the tomcat manager to hot 
deploy the war file (both on windows servers).

Now I want to use ansible to move away from the manual process.

   1. 1. Would it make sense to build with ansible? My assumption is, that 
   id does not.
   2. 2. How could I use the tomcat manager to hot deploy, triggered by 
   ansible. I have searched the web but I did not find a solution.
   3. 3. Is there an other option to hot deploy the war file, which I might 
   have overseen?

Thanks a lot :-)
Michael 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e0498740-8b75-4ebb-be40-1659cc0d5ff7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Re: vmware modules

2017-12-08 Thread Kai Stian Olstad
On Friday, 8 December 2017 15.57.11 CET phrant...@gmail.com wrote:
> Thanks for your prompt response !
> 
> I have just found out that I need to add  "connection: local" and that 
> fixed the issue.

Since you are using delegate_to: localhost you shouldn't need that.
The connection for localhost default to local, so unless you have changed it, 
it should have worked.


-- 
Kai Stian Olstad

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4173963.1XOLN54WxH%40x1.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Run once with when statement causes only skipped action to run

2017-12-08 Thread ddrake2012
Hey,

I'm seeing some weird behavior that does not seem intuitive when trying to 
use run_once with when. Intuitively I think this should run an action one 
time when the conditional is met, however what I'm seeing is that a skipped 
action is ran (because the conditional is false) and nothing actually 
changes. Is there anyway to work around this? Should I file a bug?

Thanks,
Dave

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/416c3da4-e9a3-4646-bcd7-42a0bd5e5a44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Run once with when statement causes only skipped action to run

2017-12-08 Thread Matt Martz
By default `run_once` only executes the task against the 1st host in the
list of hosts in the play batch.  As such, the `when` statement only uses
the variables from that 1 host.

Effectively it is doing:

run_once: true
delegate_to: "{{ ansible_play_batch[0] }}"

So you will either need to ensure that your `when` statement applies for
that first host, or potentially use `delegate_to` to specify another host.

On Fri, Dec 8, 2017 at 1:52 PM,  wrote:

> Hey,
>
> I'm seeing some weird behavior that does not seem intuitive when trying to
> use run_once with when. Intuitively I think this should run an action one
> time when the conditional is met, however what I'm seeing is that a skipped
> action is ran (because the conditional is false) and nothing actually
> changes. Is there anyway to work around this? Should I file a bug?
>
> Thanks,
> Dave
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/416c3da4-e9a3-4646-bcd7-42a0bd5e5a44%40googlegroups.
> com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Matt Martz
@sivel
sivel.net

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAD8N0v-nZLWyq47XNO9WZTShXZ-%3D-eefpVb5aiEUk78eBJhPWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Run once with when statement causes only skipped action to run

2017-12-08 Thread Josh Smift
There's a bunch of tickets about run_once and skipped hosts;
https://github.com/ansible/ansible/issues/19966 is my personal favorite.

  -Josh (j...@care.com)

(apologies for the automatic corporate disclaimer that follows)

This email is intended for the person(s) to whom it is addressed and may 
contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized use, 
distribution, copying, or disclosure by any person other than the addressee(s) 
is strictly prohibited. If you have received this email in error, please notify 
the sender immediately by return email and delete the message and any 
attachments from your system.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/23082.58238.202455.643792%40gargle.gargle.HOWL.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Run once with when statement causes only skipped action to run

2017-12-08 Thread ddrake2012
Thanks for the replies. That's an interesting idea about using delegate_to, 
perhaps I can use a jinja2 filter to only delegate_to a host matching the 
criteria in the when. 

I was considering creating an in-memory group of only the hosts that 
matched the when but that sounds a bit verbose and a pain every time I want 
to run something once on a specific set of hosts.

Dave

On Friday, December 8, 2017 at 12:10:14 PM UTC-7, Josh Smift wrote:
>
> There's a bunch of tickets about run_once and skipped hosts; 
> https://github.com/ansible/ansible/issues/19966 is my personal favorite. 
>
>   -Josh (j...@care.com ) 
>
> (apologies for the automatic corporate disclaimer that follows) 
>
> This email is intended for the person(s) to whom it is addressed and may 
> contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized 
> use, distribution, copying, or disclosure by any person other than the 
> addressee(s) is strictly prohibited. If you have received this email in 
> error, please notify the sender immediately by return email and delete the 
> message and any attachments from your system. 
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9fc953fd-3e6e-4ea8-9c30-8f88d8d94802%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Re: Ansible fails to connect to newly provisioned EC2 on 3rd task after successful running first 2 tasks

2017-12-08 Thread ddrake2012
Yes, I use the wait parameter in the ec2 module. And the weirdest thing is 
that two of the tasks work before the third fails, so the connection is up 
and working and then just stops working. I've seen this when uploading 
files as well with messages like "the sftp file transfer mechansi failed", 
but the retries work and come to the rescue.

>From where I sit, I pretty much don't see a way to do any of this EC2 stuff 
without the retries and am surprised no one else has seen this. 

On Thursday, November 16, 2017 at 9:38:21 AM UTC-7, Matt Martz wrote:
>
> Perhaps the instance was not actually up and accessible yet.  Did you use 
> `wait_for` or `wait_for_connection` after creating the instance to wait and 
> ensure they are up and accessible before moving on?
>
> On Thu, Nov 16, 2017 at 10:35 AM, > 
> wrote:
>
>> I eventually fixed this by adding a retries parameter to the 
>> [ssh_connection] section of my ansible.cfg so it looks like the below. 
>>
>> [ssh_connection]
>> ssh_args = -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 
>> retries = 10
>>
>> Pretty lame! If anyone finds a better solution please let me know...
>>
>> On Monday, November 13, 2017 at 11:16:25 AM UTC-7, ddrak...@gmail.com 
>> wrote:
>>>
>>> I have a playbook that creates EC2 instances and adds them to an in 
>>> memory group using the add_host module. I am then able to connect to the in 
>>> memory group and perform two successful commands before a third fails. 
>>>
>>> I am seeing this problem just running the same file module to create 
>>> directories. I have something like this in my main playbook (ec2hosts is 
>>> the in-memory group creating after provisioning)
>>>
>>> - hosts: ec2hosts 
>>> user: ubuntu
>>> gather_facts: false
>>> name: try the setup
>>> tasks:
>>> - name: Get EC2 facts
>>> ec2_metadata_facts: 
>>> register: ec2_facts
>>> - name: import configure role 
>>> import_role: 
>>> name: configure
>>> vars: 
>>> efs_ids: "{{ efs_id }}"
>>>
>>> The configure role is very simple:
>>>
>>> - name: Make the aws credentials directory
>>> file: 
>>> state: directory
>>> path: ~/.aws
>>> - name: Make the hi directory
>>> file: 
>>> state: directory
>>> path: ~/.hi
>>> - name: Make a temp directory
>>> file: 
>>> state: directory
>>> path: ~/.temp
>>> - name: Make a bar directory
>>> file: 
>>> state: directory
>>> path: ~/.bar
>>>
>>>
>>>
>>> And this fails at the Make a temp directory task. The failed output with 
>>> -vvv looks like:
>>>
>>> <35.160.185.188> (0, '', "Warning: Permanently added '35.160.185.188' 
>>> (ECDSA) to the list of known hosts.\r\n") <35.160.185.188> ESTABLISH SSH 
>>> CONNECTION FOR USER: ubuntu <35.160.185.188> SSH: EXEC ssh -o 
>>> UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i AnsibleTest.pem 
>>> -o 'IdentityFile="[omitted_full_path]/AnsibleTest.pem"' -o 
>>> KbdInteractiveAuthentication=no -o 
>>> PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey 
>>> -o PasswordAuthentication=no -o User=ubuntu -o ConnectTimeout=10 -tt 
>>> 35.160.185.188 '/bin/sh -c '"'"'/usr/bin/python 
>>> /home/ubuntu/.ansible/tmp/ansible-tmp-1510596698.75-58373657425242/file.py; 
>>> rm -rf 
>>> "/home/ubuntu/.ansible/tmp/ansible-tmp-1510596698.75-58373657425242/" > 
>>> /dev/null 2>&1 && sleep 0'"'"'' <35.160.185.188> (255, '', 
>>> 'ssh_exchange_identification: read: Connection reset by peer\r\n') fatal: 
>>> [35.160.185.188]: UNREACHABLE! => { "changed": false, "msg": "Failed to 
>>> connect to the host via ssh: ssh_exchange_identification: read: Connection 
>>> reset by peer\r\n", "unreachable": true } 
>>>
>>> I am using the following ssh_args in my ansible.cfg for the playbook: 
>>> ssh_args = -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 
>>> -i "AnsibleTest.pem" 
>>>
>>> Does anyone know what's happening here? This seems pretty weird and I'm 
>>> stuck. 
>>> Thanks!
>>>
>> -- 
>> 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-proje...@googlegroups.com .
>> To post to this group, send email to ansible...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/2f0e10a9-82d2-4af9-9c1d-e0ad2e64fdeb%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Matt Martz
> @sivel
> sivel.net
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups

[ansible-project] Ansible web directory

2017-12-08 Thread RB BR
I'm looking to move the default web directory for ansible to a sub 
directory or even create an alias to push to a sub directory. 

I have figured out how to do this with a base nginx config file.  Is this 
possible with the ansible configuration.  I can't seem to locate where I 
would place a redirect.  Or does Ansible use the location and root folder 
locations configured in nginx as the base configuration file for it's 
native root directory. . 

For example:

I want to move www.ansiblehome.com default directory to 
ansiblehome.com/index/ directory 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3ddbeaf8-c38d-4a82-992d-52552a035dd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Run once with when statement causes only skipped action to run

2017-12-08 Thread ddrake2012
I can't think of a clever way to use delegate_to, I really need the 
run_once functionality since these are all running in parallel.

Weirdly, when I try to create an in-memory host group using when and 
add_host the task only gets executed one time (on a skipped host). I don't 
have run_once on this task so I'm not sure why all my nodes aren't 
executing it. Any ideas?

Anyone have a good workaround for this issue?

Thanks

On Friday, December 8, 2017 at 12:21:56 PM UTC-7, ddrak...@gmail.com wrote:
>
> Thanks for the replies. That's an interesting idea about using 
> delegate_to, perhaps I can use a jinja2 filter to only delegate_to a host 
> matching the criteria in the when. 
>
> I was considering creating an in-memory group of only the hosts that 
> matched the when but that sounds a bit verbose and a pain every time I want 
> to run something once on a specific set of hosts.
>
> Dave
>
> On Friday, December 8, 2017 at 12:10:14 PM UTC-7, Josh Smift wrote:
>>
>> There's a bunch of tickets about run_once and skipped hosts; 
>> https://github.com/ansible/ansible/issues/19966 is my personal favorite. 
>>
>>   -Josh (j...@care.com) 
>>
>> (apologies for the automatic corporate disclaimer that follows) 
>>
>> This email is intended for the person(s) to whom it is addressed and may 
>> contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized 
>> use, distribution, copying, or disclosure by any person other than the 
>> addressee(s) is strictly prohibited. If you have received this email in 
>> error, please notify the sender immediately by return email and delete the 
>> message and any attachments from your system. 
>>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/cfe5106c-bf70-48ec-b80e-930363cf3055%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Run once with when statement causes only skipped action to run

2017-12-08 Thread Josh Smift
> Weirdly, when I try to create an in-memory host group using when and
> add_host the task only gets executed one time (on a skipped host). I
> don't have run_once on this task so I'm not sure why all my nodes aren't
> executing it. Any ideas?

add_host is implicitly run_once; there's a note about it at the bottom of
http://docs.ansible.com/ansible/latest/add_host_module.html saying "This
module bypasses the play host loop and only runs once for all the hosts in
the play, if you need it to iterate use a with_ directive." Something like

  - add_host:
  groups: cool_new_group
  name: "{{ item }}"
changed_when: False
with_items: "{{ play_hosts }}"

might do what you need, depending what you need. :^)

  -Josh (j...@care.com)

(apologies for the automatic corporate disclaimer that follows)

This email is intended for the person(s) to whom it is addressed and may 
contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized use, 
distribution, copying, or disclosure by any person other than the addressee(s) 
is strictly prohibited. If you have received this email in error, please notify 
the sender immediately by return email and delete the message and any 
attachments from your system.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/23082.62078.584853.383029%40gargle.gargle.HOWL.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Help on vmware_vm_shell module

2017-12-08 Thread A.PRADEEP ANNAMALAI


Hi 


I am using vmware_vm_shell module as below to execute commands in VMs in 
ESXI hosts . if it is a matter of 2 or 3 esxi servers , it is easier to 
prepare a yaml list or dictionary as a vars file and use it in the module . 
What if there are 100 ESXI hosts and 300+ VMs to execute any command . Is 
there a way to convert a comma seperated file to a nice yaml list or 
dictionary ?

vmware_vm_shell:
  hostname: "{{item.key}}"
  username: blah
  password: blah
  validate_certs: no
  vm_id: "{{item.value.name}}"
  vm_username: blahxxx
  vm_password: blah
  vm_shell: /bin/touch
  vm_shell_args: "touch /tmp/{{item.value.ip_address}}.txt"
  #vm_shell_cwd: "/tmp"
with_dict: "{{values}}"
#delegate_to: localhost

My vars.yml file used for above play is as below for 2 esxi servers
--

values:
:
name: random
ip_address: 10.xx.yy.zz
:
name: abc
ip_address: 10.xx.xx.xx


Say for example my input file is in the below format . Imagine it to run 
for like 500+ lines with esx,vm_name and ip address values
esx1,random,10.xx.yy.zz
esx2,abc,10.xx.xx.xx


Is there a way to convert above file into a yaml dict so that I can use it 
in my module? Is there any jina2 filter I can use for the same . 


Thanks

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/863976be-e8f4-4d80-bdb0-5e274d9447a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] How to make -vvvv the default for ansible-playbook in ansible.cfg

2017-12-08 Thread Tony Chia
I read through the document 
at http://docs.ansible.com/ansible/latest/intro_configuration.html, and I 
didn't find any setting that can make - the default if ansible-playbook 
is ran outout -.

For example, ansible-playbook has  --user=REMOTE_USER on the command line 
and the equivalent setting in ansible.cfg is remote_user = REMOTE_USER

Is there an equivalent ansible.cfg setting for -? 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1f44dded-8703-4685-9265-479cda96d072%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] do post_tasks execute when a role fails?

2017-12-08 Thread Niels Bertram
Hmm if I had to develop specific error handling around roles, I would use 
the block statement 
. Have not 
been able to come up with something that I could not handle. N

tasks:
  - block:
  - include_role:
  name: myrole-that-fails
rescue:
  - debug: msg="Help me, I just melted"
always:
  - debug: msg="I run no matter what"

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c86d38e4-f5e5-4875-af94-457a585f4de8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] docker run --net ... --ip

2017-12-08 Thread Fernando González
El 26 nov. 2017 1:49 p. m., "Teresa e Junior" 
escribió:

> I am trying to give my pi-hole container a static IP address. The
> following works the way I want:
>
> # docker network create --subnet=172.18.0.0/16 docker1
> # docker run -d --name pihole -p 53:53/tcp -p 53:53/udp -p 80:80 -e
> ServerIP=212.237.9.209 --net docker1 --ip 172.18.0.2 diginc/pi-hole:alpine
> # docker inspect pihole | grep NetworkMode
> "NetworkMode": "docker1",
>
> But with Ansible's docker_container, I get "NetworkMode": "default", and
> then I can't access the IP address from another container:
>
> This part I tested and works the same:
>
> - docker_network:
> name: docker1
> ipam_options:
>   subnet: 172.18.0.0/16
>
> Now here lies the problem:
>
> - docker_container:
> name: pihole
> image: diginc/pi-hole:alpine
> ports:
>   - '53:53/tcp'
>   - '53:53/udp'
>   - '80:80'
> networks:
>   - name: docker1
> ipv4_address: 172.18.0.2
> env:
> ServerIP: '{{ inventory_hostname }}'
>
> Your help will be appreciated!
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/5518d367-3990-4ba1-b62c-c6b41f72c383%40googlegroups.
> com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAN3nv6NPXfk9CNezAVODZr1KzFn-n7koQNU7xxLg2Vv7Z18wGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] INFO: Does each ansible task ssh before performing the task

2017-12-08 Thread Chandan Javaregowda
Each task in my playbook is taking longer. That is because the remote host 
is in a different DC. I want to understand if each ansible task ssh'es to 
the remote host.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/495c78c4-60a2-4d56-9869-3308cd0472f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Run once with when statement causes only skipped action to run

2017-12-08 Thread ddrake2012
Thanks for the help, Josh. 

I actually am trying to run a command once on a certain set of EC2 
instances I'm managing that match a specific tag. This seems like a very 
reasonable thing to do and yet the run_once skipping functionality makes 
this quite difficult. I managed to find two similar but different ways to 
do this (though not exactly elegant), which I'll post for future reference. 
I was inspired by 
https://groups.google.com/forum/#!topic/ansible-project/cpnrBRxLy0E and 
https://imil.net/blog/2016/08/05/Ansible_and_AWS_ASG

*Method 1* (serial 1 is important due to the add_host behavior Josh pointed 
out). Run the playbook with the AWS dynamic inventory script (-i ec2.py)

- hosts: ec2
user: ubuntu
serial: 1
gather_facts: false
tasks:
- name: add only nodes that don't match your_tag_name to in-memory host 
group
add_host:
name: "{{ inventory_hostname }}"
groups: your_hosts
when: ec2_tag_Name != your_tag_name

and then run the rest of your playbook not serially and perform run_once 
actions like this:

- hosts: ec2
user: ubuntu
gather_facts: true
tasks:
- name: Run once on your_tag_name
shell: echo yes >> yes.txt
run_once: true
delegate_to: "{{ groups['your_hosts'][0] }}"

*Method 2: *use the ec2_instance_facts module to create the in-memory 
group. This requires a tag name variable or constant you can reference to 
match instances with

- hosts: localhost
user: ubuntu
connection: local
gather_facts: true
tasks:
- name: create an in memory group of only nodes with your_tag_name
add_host:
name: "{{ item }}"
groups: your_hosts
with_items: "{{ ec2.instances | selectattr('state.name', 'equalto', 
'running') | selectattr('tags.Name', 'equalto', your_tag_name ) | 
map(attribute='public_ip_address')|list }}"


Either way, if you want to use the information from ec2.py then you'll end 
up having two hosts sections and some verbosity. I suppose with the 
ec2_instance_facts one could potentially create groups of EC2 hosts and run 
the playbook all with hosts: localhost and delegate tasks to certain 
groups? I haven't tried this as I've spend enough time getting run_once to 
work for now.

Dave

On Friday, December 8, 2017 at 1:14:17 PM UTC-7, Josh Smift wrote:
>
> > Weirdly, when I try to create an in-memory host group using when and 
> > add_host the task only gets executed one time (on a skipped host). I 
> > don't have run_once on this task so I'm not sure why all my nodes aren't 
> > executing it. Any ideas? 
>
> add_host is implicitly run_once; there's a note about it at the bottom of 
> http://docs.ansible.com/ansible/latest/add_host_module.html saying "This 
> module bypasses the play host loop and only runs once for all the hosts in 
> the play, if you need it to iterate use a with_ directive." Something like 
>
>   - add_host: 
>   groups: cool_new_group 
>   name: "{{ item }}" 
> changed_when: False 
> with_items: "{{ play_hosts }}" 
>
> might do what you need, depending what you need. :^) 
>
>   -Josh (j...@care.com ) 
>
> (apologies for the automatic corporate disclaimer that follows) 
>
> This email is intended for the person(s) to whom it is addressed and may 
> contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized 
> use, distribution, copying, or disclosure by any person other than the 
> addressee(s) is strictly prohibited. If you have received this email in 
> error, please notify the sender immediately by return email and delete the 
> message and any attachments from your system. 
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/edc84a8a-fd6b-4757-8f08-ede57457828d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Run once with when statement causes only skipped action to run

2017-12-08 Thread ddrake2012
Thanks for the help, Josh. 

I actually am trying to run a command once on a certain set of EC2 
instances I'm managing that match a specific tag. This seems like a very 
reasonable thing to do and yet the run_once skipping functionality makes 
this quite difficult. I managed to find two similar but different ways to 
do this (though not exactly elegant), which I'll post for future reference. 
I was inspired by 
https://groups.google.com/forum/#!topic/ansible-project/cpnrBRxLy0E and 
https://imil.net/blog/2016/08/05/Ansible_and_AWS_ASG

*Method 1* (serial 1 is important due to the add_host behavior Josh pointed 
out). Run the playbook with the AWS dynamic inventory script (-i ec2.py)

- hosts: ec2
user: ubuntu
serial: 1
gather_facts: false
tasks:
- name: add only nodes that don't match your_tag_name to in-memory host 
group
add_host:
name: "{{ inventory_hostname }}"
groups: your_hosts
when: ec2_tag_Name != your_tag_name

and then run the rest of your playbook not serially and perform run_once 
actions like this:

- hosts: ec2
user: ubuntu
gather_facts: true
tasks:
- name: Run once on your_tag_name
shell: echo yes >> yes.txt
run_once: true
delegate_to: "{{ groups['your_hosts'][0] }}"

*Method 2: *use the ec2_instance_facts module to create the in-memory 
group. This requires a tag name variable or constant you can reference to 
match instances with

- hosts: localhost
user: ubuntu
connection: local
gather_facts: true
tasks:
- name: get ec2 remote facts
ec2_instance_facts:
region: "{{ aws_region }}"
register: ec2

- name: create an in memory group of only nodes with your_tag_name
add_host:
name: "{{ item }}"
groups: your_hosts
with_items: "{{ ec2.instances | selectattr('state.name', 'equalto', 
'running') | selectattr('tags.Name', 'equalto', your_tag_name ) | 
map(attribute='public_ip_address')|list }}"


Then performing the run_once is the same. 

Either way, if you want to use the information from ec2.py then you'll end 
up having two hosts sections and some verbosity. I suppose with the 
ec2_instance_facts one could potentially create groups of EC2 hosts and run 
the playbook all with hosts: localhost and delegate tasks to certain 
groups? I haven't tried this as I've spend enough time getting run_once to 
work for now.

Dave

On Friday, December 8, 2017 at 3:20:20 PM UTC-7, ddrak...@gmail.com wrote:
>
> Thanks for the help, Josh. 
>
> I actually am trying to run a command once on a certain set of EC2 
> instances I'm managing that match a specific tag. This seems like a very 
> reasonable thing to do and yet the run_once skipping functionality makes 
> this quite difficult. I managed to find two similar but different ways to 
> do this (though not exactly elegant), which I'll post for future reference. 
> I was inspired by 
> https://groups.google.com/forum/#!topic/ansible-project/cpnrBRxLy0E and 
> https://imil.net/blog/2016/08/05/Ansible_and_AWS_ASG
>
> *Method 1* (serial 1 is important due to the add_host behavior Josh 
> pointed out). Run the playbook with the AWS dynamic inventory script (-i 
> ec2.py)
>
> - hosts: ec2
> user: ubuntu
> serial: 1
> gather_facts: false
> tasks:
> - name: add only nodes that don't match your_tag_name to in-memory host 
> group
> add_host:
> name: "{{ inventory_hostname }}"
> groups: your_hosts
> when: ec2_tag_Name != your_tag_name
>
> and then run the rest of your playbook not serially and perform run_once 
> actions like this:
>
> - hosts: ec2
> user: ubuntu
> gather_facts: true
> tasks:
> - name: Run once on your_tag_name
> shell: echo yes >> yes.txt
> run_once: true
> delegate_to: "{{ groups['your_hosts'][0] }}"
>
> *Method 2: *use the ec2_instance_facts module to create the in-memory 
> group. This requires a tag name variable or constant you can reference to 
> match instances with
>
> - hosts: localhost
> user: ubuntu
> connection: local
> gather_facts: true
> tasks:
> - name: create an in memory group of only nodes with your_tag_name
> add_host:
> name: "{{ item }}"
> groups: your_hosts
> with_items: "{{ ec2.instances | selectattr('state.name', 'equalto', 
> 'running') | selectattr('tags.Name', 'equalto', your_tag_name ) | 
> map(attribute='public_ip_address')|list }}"
>
>
> Either way, if you want to use the information from ec2.py then you'll end 
> up having two hosts sections and some verbosity. I suppose with the 
> ec2_instance_facts one could potentially create groups of EC2 hosts and run 
> the playbook all with hosts: localhost and delegate tasks to certain 
> groups? I haven't tried this as I've spend enough time getting run_once to 
> work for now.
>
> Dave
>
> On Friday, December 8, 2017 at 1:14:17 PM UTC-7, Josh Smift wrote:
>>
>> > Weirdly, when I try to create an in-memory host group using when and 
>> > add_host the task only gets executed one time (on a skipped host). I 
>> > don't have run_once on this task so I'm not sure why all my nodes 
>> aren't 
>> > executing it. Any ideas? 
>>
>> add_host is implicitly run_once; there's a note about it 

[ansible-project] Re: Shortcut for making Ansible groups from EC2 tags

2017-12-08 Thread ddrake2012
Thanks for the posts, very helpful. A couple things a year and a half later:

The dynamic inventory script (ec2.py) now returns ec2_tag_Name so for a lot 
of things you can use the when parameter to say something like "when: 
ec2_tag_Name == your_tag_name"

However, this doesn't work if you want to use run_once and you get lucky 
enough to have the first instance in the play hosts (ansible_play_batch[0]) 
not match this when conditional so the task is ran once but skipped. I came 
up with two solutions that I detailed here:
 https://groups.google.com/d/msg/ansible-project/iHRjSvoavww/WDvX_zmAAQAJ 


In general though, I wonder if it might just be easier/possible/cleaner(?) 
to use the ec2_instance_facts module, create in-memory groups using 
add_host, and then use delegate_to with the groups, running everything on 
localhost. 

Dave

On Saturday, April 30, 2016 at 1:58:38 AM UTC-6, Quentin Stafford-Fraser 
wrote:
>
> Ah - interesting idea.  I tend to have separate Python scripts to stop and 
> start servers, mostly for this reason.  But it would be nice to do 
> everything with Ansible...
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ad8ed956-9cec-43eb-a516-7f9e9113cca0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] unable to create directory

2017-12-08 Thread coach . rhca
I am trying to clone a git repository using the git clone command but it is 
unable to create the directory structure and copies the entire files in the 
parent directory.
example when i do the 
- git: repo=http://pathtothegit/container.git dest=/data/config  
recursive=yes > it only copies the files to the /data/config directory 
it doesnot make the directory container under /data/config like 
/data/config/container rather copies all the files under /data/config ( not 
under /data/config/container/)

Could you please let me know if i need to mention anything in the git 
module...thanks for the help..

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ed19b0d1-fdf8-44e3-ae6f-55523dc83279%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] How to provide prompt inputs

2017-12-08 Thread Vishal Bhargava
HI,

I am trying to write an ansible playbook which will run some command on a 
remote server, but the problem is when this command is run, it asks for 
user and password which I cannot provide from the command line. I am 
prompted to enter these values, any idea how this can be done with Ansible?

I looked at ansible prompts but how to pass those variables to prompt?

Any help is appreciated, thanks in advance.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0d799052-756e-439a-9d20-923b247c5518%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Windows folks: help test the new pywinrm beta!

2017-12-08 Thread mattdavi
We're pleased to announce the release of pywinrm 0.3.0 beta 1, and hoping 
our friends that manage Windows with Ansible will put it through its 
paces...

The marquee feature on this release enables HTTP message encryption on 
NTLM, Kerberos, and CredSSP (in conjunction with updates to several other 
upstream projects). This means that it's no longer necessary to use 
certificates to securely manage Windows hosts with Ansible. In addition, 
CBT support has been added to each of these for additional security when 
using HTTPS. Error handling has also been improved, so most of the dreaded 
500 "Bad HTTP Response" errors will now include a lot more detail as to 
what went wrong. There have also been a number of bugfixes, including fixes 
to the service and CA path overrides, better suppression of 
InsecureRequestWarnings on some OSs, and plenty of others. Also gotta throw 
out huge props to community-member-turned-Red-Hatter Jordan Borean for 
navigating the Microsoft specs and doing a lot of trial-and-error to get 
CredSSP and NTLM support for this working.

If you want to try it out:

First, ensure that the Apple kerberos library is not installed in the 
Python environment where you run Ansible (assuming you want to include 
Kerberos in your testing- if not, just omit any references to kerberos):

# this should fail saying it's not installed
pip uninstall kerberos

Then install the latest bits:
# this assumes a relatively recent version of pip (probably 8+) and 
setuptools
pip install pywinrm[kerberos,credssp] --pre --upgrade

Afterward:
pip list

should include the following:
pywinrm 0.3.0b1
pykerberos 1.2.1b1
requests-kerberos 0.12.0b1
ntlm-auth 1.0.6
requests-ntlm 1.1.0
requests-credssp 0.1.0

At this point, you should be able to use port 5985 on any Windows host with 
a "normal" HTTP listener configured and have a secure message-encrypted 
channel to work in. This can be verified in a few different ways:
* ensure that AllowUnencrypted support is disabled on the target WIndows 
host via Set-Item wsman:\localhost\Service\AllowUnencrypted $false (this is 
the default, and will cause the server to fail on cleartext messages)
* force message encryption via the new winrm connection var 
ansible_winrm_message_encryption=always. This setting is not necessary to 
specify under normal conditions (message encryption will always be used on 
HTTP endpoints if possible), but this setting will cause the connection to 
fail if message encryption can't be used.
* insert a sniffing HTTP proxy before your Ansible (eg Postman, Fiddler) by 
running HTTP_PROXY=http://your-proxy-here:/ ansible yourhost ... - when 
you inspect the traffic, instead of unencrypted SOAP/XML, you should see 
mostly encrypted binary "garbage" instead.

Please let us know of any issues you encounter- we're hoping to do a final 
release on these components within the next couple of weeks.

Thanks, and happy management!

Matt Davis
Ansible Core Engineering

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/23a3e220-b451-4749-a7d5-cb41ad5abef3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.