Ok Digging a little deeper with paramiko, and it seems to be an issue with
connecting to cisco switches running IOS 15.0
DEB [20180424-12:23:00.783] thr=1 paramiko.transport: starting thread
(client mode): 0xd6192f10L
DEB [20180424-12:23:00.784] thr=1 paramiko.transport: Local
Hi, I try remove connection: local but still got the same error.
>
>
--
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
Hi
Try to remove 'connection: local' as you use network_cli.
Regards
Christer
--
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
That worked, thank you Will.
On Monday, April 23, 2018 at 3:09:43 AM UTC-7, Will McDonald wrote:
>
> Your ec2_instance_tag 'name:webserver' is being evaluated as a string
> because there's no space, it needs to be a YAML dictionary.
>
> If you read the docs on the module (ansible-doc ec2), they
use -v on the runs that don't work, you probably have another
ansible.cfg there overriding the one you've shown.
--
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving
from_json ... to_json converts data into a string.
--
--
Brian Coca
--
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
You are trying to connect to the host 172.31.7.231 with SSH whereas we only
support WinRM with Windows. Make sure you set *ansible_connection: winrm*
in your inventory so it runs over WinRM.
Thanks
Jordan
--
You received this message because you are subscribed to the Google Groups
"Ansible
You are connecting over HTTP (port 5985) using basic auth. This combo does
not support message encryption so everything is in plaintext and the WinRM
service is rejecting it. You either need to
- Use an auth that supports message encryption, NTLM, Kerberos or
CredSSP, set
On 23.04.2018 18:27, ProfHase wrote:
Hi all, apparently attributes on include tasks are not propagated to
the
tasks anymore in 2.5
For some reasons i need dynamic includes.
1. How would I pass `become` to `include_role`
The usecase: When I develop a role, it is sometimes based on
Hi All,
I am trying to get the files form windows machine using ftp.If I run the
playbook i was getting the below mentioned errors.Can anyone help me
regarding this error.
FAILED! => {"changed": false, "module_stderr": "Shared connection to
172.31.7.231 closed.\r\n", "module_stdout":
Hello there,
I've got the general gist of Ansible now, however for this project I'm
working on... we have the following scenario:
I want a single playbook, to work for an unlimited amount of hosts within
two groups, a webserver group and a database group, one web server should
be married up
Hi all, apparently attributes on include tasks are not propagated to the
tasks anymore in 2.5
For some reasons i need dynamic includes.
>1. How would I pass `become` to `include_role`
>
>
The usecase: When I develop a role, it is sometimes based on dynamic facts.
In my role I often use
Hi experts,
One question please,
Actually I working and testing Ansible for deploy a specified VM in a
VMware infrastructure (Windows Server 2016) and I heve a problem when this
VM is deployed and started,
I not have idea automate "press Next" and specify the Administrator
password. I
Dear Citizens of Ansible Project,
I may have a need to export large numbers of security groups from VPCs and
import them into new VPCs; basically I want to clone all the security
groups from one VPC, and import them to another.
Naturally, I thought of doing this using Ansible.
I have found
Dear Citizens of Ansible Project,
I may have a need to export large numbers of security groups from VPCs and
import them into new VPCs; basically I want to clone all the security
groups from one VPC, and import them to another.
Naturally, I thought of doing this using Ansible.
I have found
i am starting to use ansible to provision end user voice services for my
company. this involves making several several file changes (blockinfile)
and restarting several processes if needed all based on different
extra-vars inputs per service.
we only need a few playbooks and our inventory
Thank you so much! This worked perfectly!
ok: [localhost] => {
"subnet_facts.results | map(attribute='subnets') | flatten |
map(attribute='id') | list": [
"subnet-fd6bfa95",
"subnet-6ad01910",
"subnet-7c8bb031"
]
}
On Sun, Apr 22, 2018 at 10:25 PM,
On Monday, April 23, 2018 at 5:20:04 PM UTC+5:30, subbireddy gajulapalli
wrote:
>
> ubuntu@ip-172-31-9-47:~/ckp$ ansible all -m win_ping -vvv
> Using /home/ubuntu/ckp/ansible.cfg as config file
> <172.31.46.234> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT
> 5985 TO 172.31.46.234
ubuntu@ip-172-31-9-47:~/ckp$ ansible all -m win_ping -vvv
Using /home/ubuntu/ckp/ansible.cfg as config file
<172.31.46.234> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT
5985 TO 172.31.46.234
172.31.46.234 | FAILED! => {
"failed": true,
"msg": "ERROR! plaintext: 401
Not really,
you get an response object with the key "json"
So something like:
'{{ response["json"] | to_json }}.key'
but this doesn't work..
Am Montag, 23. April 2018 11:03:20 UTC+2 schrieb Antonios Dimtsoudis:
>
> Hi,
>
>
> i have a problem with using the ansible json-filter.
> -->
>
Your ec2_instance_tag 'name:webserver' is being evaluated as a string
because there's no space, it needs to be a YAML dictionary.
If you read the docs on the module (ansible-doc ec2), they state:
- instance_tags
> *a hash/dictionary of tags* to add to the new instance or for
>
This might be way off base, but isn't the key just "{{ response.key }}" ?
Regards, K.
On Mon, Apr 23, 2018 at 7:03 PM, Antonios Dimtsoudis <
antonios.dimtsou...@gmx.de> wrote:
> Hi,
>
>
> i have a problem with using the ansible json-filter.
> -->
Hi,
i have a problem with using the ansible json-filter.
-->
http://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#json-query-filter
from an api-request i get a json response with a token.
'{{ response["json"] | to_json }}'
results in:
{"name": "ltmetric", "key":
On Monday, 23 April 2018 09:50:04 UTC+3, Kai Stian Olstad wrote:
>
> On 20.04.2018 16:01, Vlad wrote:
> > On Friday, 20 April 2018 16:44:21 UTC+3, Vlad wrote:
> >>
> >
> > I have another question, after I applied the changes, now every line in
> > the
> > files contains a new empty line. It
Am Freitag, 20. April 2018 19:44:07 UTC+2 schrieb Jeff_R:
>
> Trying to build a NIC without creating or using a NSG...this doesn't seem
> possible. If we leave the value out it creates one using defaults. We've
> tried using "security_group_name: None" also "security_group: no" and of
>
On 20.04.2018 16:01, Vlad wrote:
On Friday, 20 April 2018 16:44:21 UTC+3, Vlad wrote:
I have another question, after I applied the changes, now every line in
the
files contains a new empty line. It is possible to be removed ?
{% for key, value in vars[item].iteritems()| sort %}
{{ key }}=
26 matches
Mail list logo