On 07.04.2019 05:09, Lucas Possamai wrote:
It is definitely a Python problem than Ansible.
[root@db2 ~]# /usr/bin/python -c 'import sys; print sys.path;
import purestorage'
['', '/usr/lib64/python26.zip', '/usr/lib64/python2.6',
'/usr/lib64/python2.6/plat-linux2',
On Sun, 7 Apr 2019 at 01:32, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 06.04.2019 13:20, Lucas Possamai wrote:
> >>
> >> Or just keep "hosts: dbservers" and add "delegate_to: localhost" on
> >> the
> >> purefa_snap task.
> >> Then you don't have to deal the SDK on the remote
On 06.04.2019 13:20, Lucas Possamai wrote:
Or just keep "hosts: dbservers" and add "delegate_to: localhost" on
the
purefa_snap task.
Then you don't have to deal the SDK on the remote machine since the
module Python code is run on localhost.
The thing is... I want the playbook to be
>
> Or just keep "hosts: dbservers" and add "delegate_to: localhost" on the
> purefa_snap task.
> Then you don't have to deal the SDK on the remote machine since the
> module Python code is run on localhost.
>
The thing is... I want the playbook to be executed on the host (not
locally). Testing
On 06.04.2019 07:03, Lucas Possamai wrote:
So.. doing some tests.
Playbook is as follow:
---
- name: Oracle Database Snapshots
hosts: dbservers
remote_user: oracle
sudo: true
sudo_user: root
vars_files:
- vars/arrays.yaml
- vars/database.yaml
tasks:
# Take Snapshot of
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
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.
--
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
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
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
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
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
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 snapshots
- name: perform PURE volume snapshot
Maybe forgot a delegate_to and you execure the module on 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
On Thu, 4 Apr 2019 at 19:45, Raghavendra Rao
wrote:
> Make sure you have the respective purestorage python library.
>
I already have it.
[lucas@thanos ~]$ pip list | grep 'purestorage'
purestorage (1.16.0)
>
> Also, set PUREFA_URL and PUREFA_API environment variables if *url* and
>
Make sure you have the respective purestorage python library.
Also, set PUREFA_URL and PUREFA_API environment variables if *url* and
*api_token* arguments are not passed to the module directly.
-R.Rao
On Thu, 4 Apr 2019 at 10:05, Lucas Possamai wrote:
> Hi guys.
>
> When calling a playbook I
Hi guys.
When calling a playbook I get the following error:
FAILED! => {"changed": false, "msg": "purestorage sdk is required for this
module in volume"}
Purestorage sdk is installed in my laptop (i'm running that locally):
purestorage (1.16.0)
ansible 2.7.9
config file =
17 matches
Mail list logo