Re: [ansible-project] purestorage sdk missing

2019-04-05 Thread Lucas Possamai
On Sat, 6 Apr 2019 at 16:16, Lucas Possamai wrote: > On Sat, 6 Apr 2019 at 11:32, Jonathan Lozada De La Matta < > jloza...@redhat.com> wrote: > >> did you use a virtualenv? did you u do it as root? did you do it as your >> user? did you do pip install --user ? >> > > No. All I did was to run, as

Re: [ansible-project] purestorage sdk missing

2019-04-05 Thread Lucas Possamai
On Sat, 6 Apr 2019 at 11:32, Jonathan Lozada De La Matta < jloza...@redhat.com> wrote: > did you use a virtualenv? did you u do it as root? did you do it as your > user? did you do pip install --user ? > No. All I did was to run, as my user (not root), pip install purestorage. Nothing else. --

Re: [ansible-project] purestorage sdk missing

2019-04-05 Thread Jonathan Lozada De La Matta
did you use a virtualenv? did you u do it as root? did you do it as your user? did you do pip install --user ? On Fri, Apr 5, 2019 at 6:10 PM Lucas Possamai wrote: > On Sat, 6 Apr 2019 at 01:58, Jonathan Lozada De La Matta < > jloza...@redhat.com> wrote: > >> how did you install the python

[ansible-project] Re: How to make Ansible Tasks work with Packer

2019-04-05 Thread gigit1000
As it turns out I was able to work around this by using the win_get_url module instead of aws_s3 On Friday, April 5, 2019 at 10:20:36 AM UTC-7, gigi...@gmail.com wrote: > > Thank You - Only the fist line is the same: > > TASK [download chocolatey from s3 to control host] >

Re: [ansible-project] purestorage sdk missing

2019-04-05 Thread Lucas Possamai
On Sat, 6 Apr 2019 at 01:58, Jonathan Lozada De La Matta < jloza...@redhat.com> wrote: > how did you install the python library purestorage ? > pip install purestorage -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from

[ansible-project] Re: Cannot copy a file from S3 to a windows node. WinRM send_input failed error.

2019-04-05 Thread gigit1000
Is there a way to make this work if calling the playbook from Packer? I have it working when I run the playbook from the command line on my Linux build server, but it fails when I try to run the same playbook from Packer with the Ansible Provisioner. Thank You On Monday, November 26, 2018 at

Re: [ansible-project] Re: \e[0m comapre this string in failed_when condition

2019-04-05 Thread Matt Martz
You would need to convert that value from a shell escape sequence, to a python escape sequence, for consumption by PyYAML. The easiest way to express this will likely be: - name: searching the rpm into pulp repo shell: pulp-admin rpm repo content rpm --repo-id=mobi-snapshots --match

[ansible-project] Re: \e[0m comapre this string in failed_when condition

2019-04-05 Thread Kunalsing Thakur
Gentle reminder, is anyone can help on this -- 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

[ansible-project] Re: How to make Ansible Tasks work with Packer

2019-04-05 Thread gigit1000
Thank You - Only the fist line is the same: TASK [download chocolatey from s3 to control host] * amazon-ebs: task path: /home/ec2-user/manual-builds/play-win2016-test2-pack.yaml:9 after this the output is very different for each I can see an actual error when

[ansible-project] Re: New Ansible release 2.7.10 and 2.6.16

2019-04-05 Thread Emir Hayric
Thank you for the update. On Thursday, April 4, 2019 at 1:58:59 PM UTC-4, Toshio Kuratomi wrote: > > Hi all- we're happy to announce that the general release of Ansible 2.7.10 > and > 2.6.16 is now available! > > > How do you get it? > -- > > $ pip install ansible==2.7.10

Re: [ansible-project] purestorage sdk missing

2019-04-05 Thread Jonathan Lozada De La Matta
how did you install the python library purestorage ? On Fri, Apr 5, 2019 at 6:05 AM Lucas Possamai wrote: > On Fri, 5 Apr 2019 at 20:57, Kai Stian Olstad < > ansible-project+l...@olstad.com> wrote: > >> This code doesn't prove that's running locally. >> >> modules will only run on localhost if

Re: [ansible-project] var for --ask-pass ?

2019-04-05 Thread Raghavendra Rao
Ok On Fri, 5 Apr 2019, 14:45 , wrote: > sorry! !!! > > I made error :( > > I run : ansible-playbook win_install_ascon.yml --ask-pass --ask-become-pass > pass enter > enter > > ALL WORKS. > THANK YOU VERY MUCH > > четверг, 4 апреля 2019 г., 23:40:38 UTC+4 пользователь Brian Coca написал: >> >>

[ansible-project] Re: list containing any item of another list

2019-04-05 Thread Soniya panwar
Hello Adam E, You have got the implementation correct. Intersect is the correct method to be used. You may refer the playbook mentioned below: --- - hosts: localhost vars: list1: ['value1', 'value2] list2: ['value3', 'value4'] tasks: - name: intersrction debug:

[ansible-project] Re: list containing any item of another list

2019-04-05 Thread Soniya panwar
Hello Adam E, You have got the implementation correct. Intersect is the correct method to be used. You may refer the playbook mentioned below: - hosts: localhost vars: list1: ['value1', 'value2'] list2: ['value3', 'value4'] tasks: - name: Find intersection debug:

[ansible-project] Re: list containing any item of another list

2019-04-05 Thread Soniya panwar
You have got the implementation correct. Intersect is the correct method to be used. You may refer the playbook mentioned below: - hosts: localhost vars: list1: ['value1', 'value2'] list2: ['value3', 'value4'] tasks: - name: intersrction debug: msg: "{{ list1 |

Re: [ansible-project] purestorage sdk missing

2019-04-05 Thread Lucas Possamai
On Fri, 5 Apr 2019 at 20:57, Kai Stian Olstad < ansible-project+l...@olstad.com> wrote: > This code doesn't prove that's running locally. > > modules will only run on localhost if the playbook have "hosts: > localhost" or "connection: local". > If not, the module will run on remote host(s) unless

[ansible-project] Re: Ansible winrm for non domain joined devices and domain joined

2019-04-05 Thread Seth Daemen
Another question. I can add a server to a group with another winrm settings but Can I also remove that group and add a another one? Op donderdag 4 april 2019 22:38:57 UTC+2 schreef Jordan Borean: > > Kerberos is by far the best authentication method to use but unfortunately > that only works

Re: [ansible-project] var for --ask-pass ?

2019-04-05 Thread sergey . mihailov
sorry! !!! I made error :( I run : ansible-playbook win_install_ascon.yml --ask-pass --ask-become-pass pass enter enter ALL WORKS. THANK YOU VERY MUCH четверг, 4 апреля 2019 г., 23:40:38 UTC+4 пользователь Brian Coca написал: > > if you do --ask-pass and --ask-become-password, you only need to

Re: [ansible-project] var for --ask-pass ?

2019-04-05 Thread sergey . mihailov
sorry. ansible-playbook win_install_ascon.yml --ask-pass --ask-become-password Usage: ansible-playbook [options] playbook.yml [playbook2 ...] ansible-playbook: error: no such option: --ask-become-password четверг, 4 апреля 2019 г., 23:40:38 UTC+4 пользователь Brian Coca написал: > > if you do

Re: [ansible-project] var for --ask-pass ?

2019-04-05 Thread sergey . mihailov
sorry: FAILED! => {"msg": "The field 'become_pass' has an invalid value, which includes an undefined variable. The error was: 'ansible_password' is undefined"} четверг, 4 апреля 2019 г., 17:21:16 UTC+4 пользователь James Cassell написал: > > > On Thu, Apr 4, 2019, at 2:18 AM,

Re: [ansible-project] purestorage sdk missing

2019-04-05 Thread Kai Stian Olstad
On 05.04.2019 00:06, Lucas Possamai wrote: On Fri, 5 Apr 2019 at 06:15, David Baumann wrote: Maybe forgot a delegate_to and you execure the module on remote host? I am not executing the module on remote host. It is locally. This is the yaml file: --- # Perform PURE Flasharray Database