Hi all,
When specifying an host in the playbook itself but not in the inventory
file, I get the message 'skipping: no hosts matched.'
When I pass the host via:
ansible-playbook playbook.yml -i hostname,
All is just working fine.
But why is Ansible unable to just pick up this host defined in t
hi i have used the raw module ""show vlan brief" also works fine too,
but i have some h3c switch the raw modules does not work fine do you have
any ideas ?
在 2017年7月3日星期一 UTC+8下午8:51:51,David Zheng写道:
>
> I have issue with issue command via raw module against cisco device
>
>
> ansible r1
Hi I'm trying to download non public file in google cloud bucket using
gc_storage module but I can't get the gs_access_key and gs_secret_key
required by gc_storage module to operate. *How I can get gs_access_key and
gs_secret_key in google cloud?* My Setting looks like this :
name: Pull app fro
Did you
try
http://docs.ansible.com/ansible/latest/playbooks_filters.html#combining-hashes-dictionaries
?
Le mardi 18 juillet 2017 15:11:17 UTC+2, Riccardo Murri a écrit :
>
> Hello,
>
> I would like to write a playbook that does the following:
>
> 1. Read a list of source URLs + other met
HI
I really need help on Ansible URI module . I am not sure whether it is a
bug or not.
I have the following playbook and when I run it and I always get error "bad
request, "Parameter \"ip_address\" is required". But I have provided it
when I sent the request.Please help me .
- hosts: lo
When ansible logs in to the remote systems, which shell does it uses ?
I am asking this because of this question here,
https://askubuntu.com/questions/937354/track-logins-made-via-non-interactive-shells?noredirect=1#comment1486323_937354
Please tell me how can I do what is asked in this questio
1) It is configurable, but by default it should be /bin/sh
2) Logs in 10 times, which does not mean it connects 10 times as the
connection itself can be persistent even if the login is not
--
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"A
Thank you.
ANother Scenario,
If I am running 10 tasks on 2 hosts,
It will do first task on host 1 and then on host 2
then second task on host 1 and then on host 2,
..
.
.
So, here also the connection persists to both the hosts?
OR
does it firstly connect to host 1, runs task 1 and then disc
Hi Guys,
I'd expect the following to work,
I issue the show run snmp | inc host | inc traps command. I get the
returned values , now I just want to loop through the returned
configuration lines and send them back to the router with no in front of
them. It seems to generate the proper output
Depends ... but if using defaults (ssh with control persist enabled)
you should have the persistent connection still at task2 for both
hosts ... unless the time between tasks is greater than the connection
timeout (60s) ... which should only happen if you are processing a LOT
of hosts at a time. I
Have you tried using paramiko as the connection plugin?
Many of these appliances don't have a 'standard' ssh service and the
OpenSSH client (most common one installed) can have issues with it.
Paramiko is a python ssh implementation and is a lot more forgiving
with some of these appliances.
--
-
[]# ansible-playbook -e "ansible_python_interpreter=/usr/bin/python" -vvv
test-Sonan3.yml
Using /etc/ansible/ansible.cfg as config file
PLAYBOOK: test-Sonan3.yml
**
1 plays in test-Sonan3.yml
PLAY [fac1apprep]
I think It should not change the execution path, right?
El jueves, 20 de julio de 2017, 16:04:16 (UTC+2), Josu Vilda escribió:
>
> []# ansible-playbook -e "ansible_python_interpreter=/usr/bin/python" -vvv
> test-Sonan3.yml
> Using /etc/ansible/ansible.cfg as config file
>
> PLAYBOOK: test-Sonan3.
Or if you don't need any of the 'advanced' features of the uri module"
- set_fact:
version:"'{{lookup('url',
'https://storage.googleapis.com/kubernetes-release/release/stable.txt,
split_lilnes=False')}}"
---
Brian Coca
--
You received this message because you are subscribed to
http://docs.ansible.com/ansible/latest/intro_configuration.html#timeout
This says that the default timeout is 10 seconds.
So, it means after every 10 seconds it makes a new connection ?
What if some task is running and the connection times out ? What will
happen then ?
I am sorry If I am aski
I'm using Ansible Towers' API to run some templates and I need to pass a
dictionary of vars. I use extra_vars field while launching to do so, but
one of the values is url address, which contains colon and question mark,
because of which the whole dictionary can't be parsed properly. I was
tryin
For tower questions and support please utilize https://access.redhat.
com/products/ansible-tower-red-hat
This mailing list is for the open source ansible project.
On Thu, Jul 20, 2017 at 9:48 AM, wrote:
> I'm using Ansible Towers' API to run some templates and I need to pass a
> dictionary of v
Hi All
I have question and I'm newbie in ansible...I try to clone multiple vm from
template in vmware with each of them have different ip address..Example my
script below
---
- hosts: localhost
connection: local
vars:
vcenter: vcenter01
datastore: datastore-1
datacenter: dc01
Hi all, we're happy to announce that Ansible 2.3.2 RC3 is available for
testing.
A list of fixes can be found in the CHANGELOG here:
https://github.com/ansible/ansible/blob/v2.3.2.0-0.3.rc3/CHANGELOG.md#bugfixes
How do you get it?
Hi I'm new here and have been doing some ansible. I need to register an
instance to a target group and ansible is great as it has a module for it.
However, nothing I do works. The funny thing is that the module reference
page for it doesn't even exist anymore. Does that just mean the module is
James Cammarata wrote:
> Hi all, we're happy to announce that Ansible 2.3.2 RC3 is available for
> testing.
> [..]
> The tar.gz of the release can be found here:
>
> http://releases.ansible.com/ansible/ansible-2.3.2.0-0.3.rc3.tar.gz
File seems to be missing.
$ wget http://releases.ansible.com/a
Confirmed http://releases.ansible.com/ansible/ansible-2.3.2.0-0.2.rc2.tar.gz
is the latest there. Use
https://github.com/ansible/ansible/archive/v2.3.2.0-0.3.rc3.tar.gz in the
interm.
On Thu, Jul 20, 2017 at 10:51 AM, Michael Ströder
wrote:
> James Cammarata wrote:
> > Hi all, we're happy to an
Le 20/07/2017 à 17:51, Michael Ströder a écrit :
> James Cammarata wrote:
>> Hi all, we're happy to announce that Ansible 2.3.2 RC3 is available for
>> testing.
>> [..]
>> The tar.gz of the release can be found here:
>>
>> http://releases.ansible.com/ansible/ansible-2.3.2.0-0.3.rc3.tar.gz
> File
Hi
I am looking for a playbook that will change user's password only if the
playbook is ran by the user.
In other words can you help in writing a playbook that will first verify
user's current password then if the current password is correct then let
the user to change his existing password.
On Thu, 20 Jul 2017 08:04:54 -0700 (PDT)
aldyth maharsha wrote:
> Hi All
>
> I have question and I'm newbie in ansible...I try to clone multiple
> vm from template in vmware with each of them have different ip
> address.
>
> I can clone 20 vm from template successfully but when I tried to
> assi
On Thu, 20 Jul 2017 08:48:48 -0700 (PDT)
Trevor Ma wrote:
> Hi I'm new here and have been doing some ansible. I need to register
> an instance to a target group and ansible is great as it has a module
> for it. However, nothing I do works. The funny thing is that the
> module reference page for i
Hi, is Ansible suitable for Cisco Access point automation (especially big
number of 1040 series). In other words, is it possible to remote change
configurations, access lists..
Rgds
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubs
I'm using Trial version for now, and as far as I understand access to most
of the support ways to Tower is just for paid users.So i thought I may find
some help here.
W dniu czwartek, 20 lipca 2017 17:02:37 UTC+2 użytkownik Andrew Latham
napisał:
>
> For tower questions and support please utili
Hello!
I would like to match hosts in AWS with something like (passing env as an
extravar):
hosts: tag_Function_www:&ec2_tag_Environment=env
I'm currently using this which works:
hosts: "tag_Function_www:&tag_Environment_{{ env|default('test') }}"
but wondering if there's a better way. Any thoug
Thank you for the quick reply. It is much appreciated
On Thursday, July 20, 2017 at 12:50:52 PM UTC-7, branko wrote:
>
> On Thu, 20 Jul 2017 08:48:48 -0700 (PDT)
> Trevor Ma > wrote:
>
> > Hi I'm new here and have been doing some ansible. I need to register
> > an instance to a target group and
Hello:
I did recent build, and found out it caused the issue with asa_command
https://github.com/ansible/ansible/issues/27083
is that possible I could use yum install for 2.3.1? I would like to install
the ansible into docker, so I could avoid this kind of issue in the future.
Best,
~Mike
wrong timeout, that is 'timeout while ssh is attempting to connect
before we consider the attempt failed' not timeout of 'idle
controlpersist'
--
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from t
What is the correct way to use with_Items to loop over two files? The
playbook is failing at the 2nd task
Getting an error - TASK [Create users from vars users]
fatal: [localhost]: FAILED! => {"failed": true, "msg": "the field 'args'
has an invalid v
You're sure it's using POST?
Alternatively try supplying a yaml data structure for body and let
'body_format: json' create the json.
Can it be that the request requires additional http headers to be set?
On Thu, 20 Jul 2017 at 13:03, Megan Liu wrote:
> HI
>
> I really need help on Ansible URI m
34 matches
Mail list logo