Have you had a look at
https://docs.ansible.com/ansible/latest/user_guide/playbooks_advanced_syntax.html#yaml-anchors-and-aliases-sharing-variable-values
?
On Fri, 3 Jan, 2020, 3:38 AM Claudio M. Lombardo,
wrote:
> Hello All.
> I am trying to solve the following issue.
>
> - I have a SSSD role w
applied. Is there a way I can use the tag
from applied limit inside the play without having to pass an additional
parameter?
--
With Regards,
Mehul Ved
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group
Turned out to be a google cloud issue, not ansible.
On Feb 20, 2018 17:53, "Mehul Ved" wrote:
> As a follow up, I tried connecting to devops.rightleads.io from python
> and it checking the certificate, it works fine. But, ansible still
> seems to be throwing the SSL error.
&g
rs':
(u'http://cert.int-x3.letsencrypt.org/',), 'OCSP':
(u'http://ocsp.int-x3.letsencrypt.org',), 'serialNumber':
u'03789CEA86C5F31787ED45697AACB172BA58', 'notAfter': 'May 19 11:09:28
2018 GMT', 'version': 3L, 's
ode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
&qu
msgid/ansible-project/3df38b0b-4c79-40c9-866c-7c5ad7aca1c8%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/3df38b0b-4c79-40c9-866c-7c5ad7aca1c8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.c
HTTP(S) LB allows me to have SSL termination and also have the routing
based on URL. Is this going to be supported in ansible anytime soon?
--
With Regards,
Mehul Ved
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe
On Wed, Jan 11, 2017 at 7:16 AM, Tom Melendez wrote:
>
>
> On Tuesday, January 10, 2017 at 3:38:53 AM UTC-8, Mehul Ved wrote:
>>
>> A small update, removing the quotes around the IP Address worked:
>> GCE_INI_PATH=inventory/gce.ini ansible all -i inventory/localho
age=debian-8 external_ip=104.199.231.152
tags='dev,trial' network=ansiblenet subnetwork=dev zone=asia-east1-a
state=present" -
So, is the named ip address part not supported?
On Tue, Jan 10, 2017 at 3:57 PM, Mehul Ved wrote:
> I am trying to create a new instance in googl
7;trial','Environment':'Development'} machine_type=f1-micro
image=debian-8 external_ip='104.199.231.152' tags='dev,trial'
network=ansiblenet subnetwork=dev zone=asia-east1-a state=present" -
I couldn't find anything in the documentation which
ion_shortname[region] }}.{{
> tld_name_internal }}"
> with_items: "{{ ec2.instances | default({}) }}"
>
>
> For example, when I launch 2 more instance with environment of stage and
> role of web, and there were already 2 existing instances, then I would get
> web03.sta
-archive.com/ansible-project@googlegroups.com/msg08024.html
Is there a better way to handle grouping of servers? Is there anything in
the documentation or best practices that I've missed?
On Mon, Oct 26, 2015 at 12:13 PM, Mehul Ved wrote:
> Hi Bryan,
> Here's what I get when I
27;beta_db1']
I'm not sure what I'm missing out here.
On Sat, Oct 24, 2015 at 12:48 AM, Brian Coca wrote:
> actually [u'beta_db1'] is a list with 1 string item inside, the debug
> construct you are using is mixing templated and non templated vars,
> that won't work a
direction? If so how to handle the issue where hostvars
needs a list but intersection returns a string? Or is there a better way to
achieve what I want?
--
With Regards,
Mehul Ved
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To
o this?
>
> Thanks
>
> --
> 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.
>
e new host during creation and write it to hosts file?
--
With Regards,
Mehul Ved
--
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-p
Just to close the thread and incase somebody else runs into it again. I did
more testing, it was some regression in ansible 1.8.1 and symlinks
http://pastebin.com/X9Z3wwB1
Upgrading to 1.8.2 has resolved the issue.
--
You received this message because you are subscribed to the Google Groups
"Ans
I was looking through the docs again and saw
http://docs.ansible.com/intro_configuration.html#private-key-file so
vagrant is supplying the wrong CLI parameters? Has the parameter changed at
any point?
On Wed, Dec 10, 2014 at 3:08 PM, Mehul Ved wrote:
> I am working on setting up Ansi
if I give
ansible_ssh_private_key_file=/home/mehul/.vagrant.d/insecure_private_key it
works fine.
--
With Regards,
Mehul Ved
--
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 i
install at
times and doing it multiple times doesn't make sense in most cases.
--
With Regards,
Mehul Ved
--
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 i
On Sun, Nov 30, 2014 at 1:36 AM, xuxu wrote:
> This is what my playbook looks like:
> ---
>
> - hosts: ec2
> user: root
> roles:
> - createuser
>
> - hosts: ec2
> user: winery
> roles:
> - winery
>
> The task for createuser looks like this:
>
> ---
>
> - name: create user for given
trigger any error.
Then do the check whether service is running.
--
With Regards,
Mehul Ved
--
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
On Thu, Nov 27, 2014 at 4:35 PM, Tomas Karasek wrote:
> Hi, I don't see 1.8.1 (nor 1.8) in the ppa:
> https://launchpad.net/~ansible/+archive/ubuntu/ansible
>
> I got the ppa link from:
> http://docs.ansible.com/intro_installation.html#latest-releases-via-apt-ubuntu
Probably removed because of th
On Tue, Jun 17, 2014 at 8:18 PM, Matt Martz wrote:
> To define "secondary" or extra groups to a device, you need to use the
> "groups" meta key. Note that this is plural and different from "group".
>
> I really recommend using the current copy of the 'rax' module in ansible
> (devel), not what ha
tting as long the whole deployment code will be maintained by
me?
--
With Regards,
Mehul Ved
--
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
possible to pass a list to group parameter? Or is there
another way to achieve this?
--
With Regards,
Mehul Ved
--
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
d probably understand how it works internally to
understand why this happens.
On Tue, Mar 25, 2014 at 8:41 PM, Petros Moisiadis wrote:
> On 03/25/2014 04:42 PM, Mehul Ved wrote:
>> On Tue, Mar 25, 2014 at 8:00 PM, Petros Moisiadis wrote:
>>> The syntax error you get could be caus
No it didn't earlier.
On Tue, Mar 25, 2014 at 8:42 PM, James Tanner wrote:
> Does the remote host have ansible_python_interpreter set in your inventory?
>
> On Mar 25, 2014, at 10:42 AM, Mehul Ved wrote:
>
>> On Tue, Mar 25, 2014 at 8:00 PM, Petros Moisiadis wrote:
>&
. I was assuming that isn't required when you
install using virtualenv. Everything else has been working fine so
far, this was the first thing I ran into an issue with while using
ansible from virtualenv. Should this be considered a bug? If so, I'll
open a new ticket on github.
--
Wit
Hi,
I am using ansible 1.4.4. I get SyntaxError when running synchronize plugin.
Here's the playbook entry
- name: create common folders
synchronize: src=s dest=/etc/ssh
Here's the error that I get
failed: [play] => {"failed": true, "item": "", "parsed": false}
invalid output was: F
On Tue, Mar 4, 2014 at 3:53 PM, Marco Corte wrote:
> Yes, it is hardcoded in the first line
>
> % head /usr/share/ansible/system/ping
>
> gives
>
> #!/usr/bin/python2
> # -*- coding: utf-8 -*-
>
>
> # (c) 2012, Michael DeHaan
> #
> # This file is part of Ansible
> #
> # Ansible is free software:
I was following rsync example
from https://github.com/ansible/ansible/pull/2508 to recursively transfer
files. I added following lines to my tasks
1. - name: copy generic config files for freeswitch
2. sudo: no
3. local_action: command rsync -a files/conf root@{{
ansible_
32 matches
Mail list logo