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',
Please ignore this issue. It was a mistake in the next part of the play
book that is causing the port to come twice.
On Sunday, April 7, 2019 at 1:03:34 AM UTC+5:30, Sri Krishna G wrote:
>
> I have a list of strings like :
>
> [hosts]
> 10.100.0.1
> 10.100.0.2
> 10.100.0.3
>
> I am following
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
I am having an issue with ansible/vmware. Trying to clone vms from an
inventory file and playbook
inventory file:
[test-vms]
ans-test[01:05] 'disk'='60' 'memory'='2048' 'cpucount'='1'
'datastore'='VOL1-TEST' 'osid='windows9Server64Guest'
playbook yml file:
vars_prompt:
- name:
Until you upgrade to Ansible 2.8 (currently has an alpha1 release) this won’t
work. Experimental support for using SSH with Windows was added with
https://github.com/ansible/ansible/pull/47732. Be aware that this is
experimental and if you want something more solid then I advise that you
I have a list of strings like :
[hosts]
10.100.0.1
10.100.0.2
10.100.0.3
I am following the example under :
https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html to
"add "https://; prefix to each item in a list"
In my case I am appending the port number at the end of every
SSH is not supported on Windows.
On Saturday, April 6, 2019 at 1:44:27 PM UTC+5:30, sergey@gmail.com
wrote:
>
> Hello.
>
> I am aware of the support for SSH in Windows 2019 and Windows 10.
> I installed the OpenSSH in Windows 8.1 and tried to enter it. All is well.
> But if you turn on ssh
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
I was able to successfully do this task by following the instructions.
Thanks for matt to give some logic.
- name: searching the rpm into {{ reponame }} repo
shell: pulp-admin rpm repo content rpm --repo-id={{reponame}} --match
'filename={{ item }}'
loop: "{{ rpmname | default([]) }}"
Hello Matt,
I was able to successfully do this task by following the instructions.
Thanks for matt to give some logic.
- name: searching the rpm into {{ reponame }} repo
shell: pulp-admin rpm repo content rpm --repo-id={{reponame}} --match
'filename={{ item }}'
loop: "{{ rpmname | default([])
Hi Brian,
I was able to successfully do this task by following the instructions.
Thanks for matt to give some logic.
- name: searching the rpm into {{ reponame }} repo
shell: pulp-admin rpm repo content rpm --repo-id={{reponame}} --match
'filename={{ item }}'
loop: "{{ rpmname | default([])
Hello Matt,
i tried with task
- name: searching the rpm into {{ reponame }} repo
shell: pulp-admin rpm repo content rpm --repo-id={{reponame}} --match
'filename={{ item }}'
with_items: "{{ rpmname | default([]) }}"
register: pulp
when: search is defined
failed_when: escape in
Hello.
I am aware of the support for SSH in Windows 2019 and Windows 10.
I installed the OpenSSH in Windows 8.1 and tried to enter it. All is well.
But if you turn on ssh transport in ansable, then nothing works :(
1. I have not done something in Windows 8.1 and it works in Windows 2019
and
15 matches
Mail list logo