What do you mean by slow?
Just use *register *and in a next task you can get the IP of the launched
instances by parsing *instances* from the registered variable.
On Wednesday, 18 February 2015 12:46:46 UTC+1, Alexey Wasilyev wrote:
Hello!
Is there any way to launch multiple different vm's
Ah, now I see.
You should be able to do that if you tag the instances and then use the ec2.py
inventory script to get the info you need.
I think the in-memory inventory wouldn't be much of a help in your use case.
Dan.
On Feb 21, 2015, at 9:40 PM, Alexey Wasilyev awasil...@qubell.com wrote
Not to intrude, but I think you will have more luck in
here: https://groups.google.com/forum/#!forum/ansible-devel
On Saturday, 21 February 2015 01:43:36 UTC+1, pixel fairy wrote:
forgot a few things. this is on os x 10.8, using ansible checked out from
github.
$ uname -a
Darwin
instances with wait=yes - they start one by one, ~1 instance per
minute. I need to launch 10 instances, so it tooks 10 minutes.
Can you explain your idea with register with few lines of code?
On Saturday, February 21, 2015 at 3:11:31 PM UTC+3, Dan Vaida wrote:
What do you mean by slow
For spinning up instances in AWS you don't need to tell ansible to use the
dynamic inventory script. That is something you might want to use later on.
Try unsetting that environment variable.
Also, when running the playbook, you are telling it to use the inventory
file */etc/ansible/hosts. *Mind
I think your other thread to which I replied is related to this as well.
Perhaps this example would be more
helpful:
https://github.com/danvaida/Ansible-Berlin-Meetup/blob/master/ansible-intro-examples/ghost.yml
On Friday, 20 February 2015 23:16:37 UTC+1, Nusenu wrote:
Hi,
I'm having the
Although not the nicest way to do it, I recon the with_sequence could come
in
handy:
http://docs.ansible.com/playbooks_loops.html#looping-over-integer-sequences
On Wednesday, 18 February 2015 18:07:21 UTC+1, Mark Olliver wrote:
Hi,
How can I extend the following code to allow me to specify
Just checked your example and it worked nicely. What ansible version do you
have?
On Thursday, 19 February 2015 10:50:38 UTC+1, shoq...@gmail.com wrote:
Hi,
I use Ansible to manage my servers.
One of my hosts can't be managed by Ansible, I get an error but he's
configured like some other
believe it could help you.
On Monday, 16 February 2015 22:26:29 UTC+1, Markus Klems wrote:
Hi Dan,
thanks for your feedback. In fact, the -1 solution does work in ansible.
However, this will open traffic to all ICMP types (which I would like to
avoid). According to James Cammarata's link
I guess you misunderstood how ICMP works.
Try this:
- proto: icmp
from_port: -1
to_port: -1
On Monday, 16 February 2015 12:06:50 UTC+1, Markus Klems wrote:
Hi,
I tried the solution as follows but it does not work for me:
- proto: icmp
from_port: 0
Try this:
- name: Create a VPC
local_action:
module: ec2_vpc
state: present
cidr_block: 10.0.0.0/16
resource_tags: { Environment: Development }
subnets:
- cidr: 10.0.0.0/24
az: us-east-1a
resource_tags: { Environment:Development, Name : Public
Subnet }
Have you tried the replace module?
Would it be feasible for you to template that file?
On Sunday, 8 February 2015 14:19:10 UTC+1, cdwer...@gmail.com wrote:
On Sunday, February 8, 2015 at 9:26:30 PM UTC+11, Giovanni Tirloni wrote:
On Fri, 06 Feb 2015 18:38 -0800, cdwer...@gmail.com wrote:
Yeah... and if I'm not mistaking the Issue should be created
here: https://github.com/ansible/ansible-modules-core
On Tuesday, 3 February 2015 16:48:20 UTC+1, Pradeep Bhadani wrote:
It seems that there is already an open bug :
https://github.com/ansible/ansible/issues/9984
On Tuesday, 3
I would try to go by including variables from a file with --extra-vars
@some_file.json
:
http://docs.ansible.com/playbooks_variables.html#passing-variables-on-the-command-line
Then you wouldn't need to worry about dumping playbook runtime variables
from different nesting layers. You would
I would use register. Take a look at it here:
http://docs.ansible.com/playbooks_conditionals.html#register-variables
On Monday, 26 January 2015 11:23:47 UTC+1, Fazal-e-Rehman Khan wrote:
Dear All,
Is there any way of pulling out the output of an ansible-playbook called
by command module in
I don't believe it's possible to have that per host, via Ansible. But you
could set it up in your ssh config. There were a few other threads in this
mailing list about this topic. One would
be: https://groups.google.com/d/msg/ansible-project/8p3XWlo83ho/Q1SflaZ9dyAJ
On Wednesday, 21 January
Hi.
I'm looking at having three environments.
A development, staging and production environment.
Development environment is a local Vagrant box.
Staging would be a DigitalOcean droplet.
Production would be several DigitalOcean droplets.
All of the DigitalOcean droplets are fetched with a
Hi Matt,
Thanks for your response. I should have mentioned above, I have
experimented with using rax_facts.
The specific error I am getting is this, if it's any help:
fatal: [dan-LON-app-01] = {'msg': AnsibleUndefinedVariable: One or more
undefined variables: 'dict object' has no attribute
Try with_file: {{ lookup('file', 'path/goes/here' ) }}
On Saturday, 17 January 2015 17:04:47 UTC+1, James Morgan wrote:
Hi,
I have the following task
- name: Create ec2 key pair using local key
when: ec2_key_material is defined
ec2_key:
name: {{ ec2_key_name }}
region: {{
If you read the documentation page of this module careful enough, you will see
that, in fact, the “{{ item }}” comes from the with_file, not from your vars.
That is the material :)
On Jan 17, 2015, at 6:13 PM, James Morgan jamesdmor...@gmail.com wrote:
Hi,
That gives me the following
Hi there,
I'd like to understand how I can access a set of newly created rackspace
servers using the group names that I specified at the point of creation.
At the moment, parts of my playbook are being ignored because the groups
the new servers are added to at the point of creation are not
As Nicolas mentioned, you will get an error when you are trying to create
the security group through Ansible and that security group already exists
and was created manually/by other tool.
If you already created the SG with Ansible and want to update it through
Ansible, the task is going to report
Hi, I got what you said. However, I must repeat myself: passing tags to the
include task will tag all tasks in the included file, it will NOT call ONLY
the tasks that have that specific tag.
On 14 January 2015 at 16:35, Wojciech Korzenny wkorze...@gmail.com wrote:
Cheers Dan for your answer
for the second, 02am for the third, etc...
Le mardi 13 janvier 2015 20:47:22 UTC+1, Dan Vaida a écrit :
to iterate over a hosts group you need with_items: groups['mysql']
instead of with_dict
On Tuesday, 13 January 2015 09:41:07 UTC+1, Laurent Goussard wrote:
Hello,
I try to setup a cron task using
The inclusion of tagged tasks doesn't work like you're expecting in your
example. That will simply tag all tasks in the included file. It won't
include the tasks that are tagged like that. You want something like:
cat hosts
[localhost]
127.0.0.1
cat playbook.yml
---
- hosts: localhost
Try with csds_vpc.subnets[0].id
On Monday, 12 January 2015 01:05:22 UTC+1, Stefan Nietert wrote:
When doing this I get:
One or more undefined variables: 'item' is undefined
It did work for you?
On Thursday, September 25, 2014 at 4:34:25 AM UTC+2, Steven Ringo wrote:
Hi,
Try this:
+1, Mark Maas wrote:
On Sunday, January 11, 2015 at 12:02:10 PM UTC+1, Dan Vaida wrote:
as I see it, based on your input, you have two problems:
1. you're creating the users and generating unique keys on each of the
target hosts
Correct, and that's what I'm trying to get.
2. you're
to iterate over a hosts group you need with_items: groups['mysql'] instead
of with_dict
On Tuesday, 13 January 2015 09:41:07 UTC+1, Laurent Goussard wrote:
Hello,
I try to setup a cron task using ansible (indeed) on my db slave pool.
This cron task is supposed to stop the replication
I'm doing this by registering the results of the ec2 provisioning task and
then cycle through the hosts in a subsequent task for creating the dns
records.
On Monday, 29 December 2014 17:09:03 UTC+1, Navid Paya wrote:
Hi
I'm trying to automate creating and destroying our staging environment.
Hope you can get some inspiration from
here: https://github.com/danvaida/Atlassian-Stash-Ansible/blob/master/ec2.yml
On Saturday, 10 January 2015 15:40:36 UTC+1, Dan Vaida wrote:
On the run now but will share this later.
Btw, are you really missing the task of allocating the EIPs
If I got your question right, you should be able to
use http://docs.ansible.com/playbooks_roles.html#role-default-variables
On Monday, 29 December 2014 06:02:05 UTC+1, Fazal-e-Rehman Khan wrote:
Dear All,
Is there a way to ignore errors if extra-vars are not given at the command
line. In
*subnets. Yes, that's right. the ec2_vpc module doesn't do NAT related
things. you'll have to launch another EC2 instance for that.
take a look
here: https://github.com/dfederlein/ansible-aws/blob/master/vpc/ec2_vpc.yml
it requires having the aws cli tools set up on your local host.
On Monday,
:
- { src: 'ddclient.conf', dest: '/etc/ddclient.conf' }
- { src: 'ddclient', dest: '/etc/default/ddclient' }
notify: restart ddclient
Having thins in a role possibly called 'ddclient', you would simply call it
from a playbook sitting next to the 'roles' folder.
Best,
Dan
I'd construct a list var with the packages names and pass it to two tasks:
first one would stop and disable the services and the second one would
remove the packages.
Some packages are stopping the daemons as part of the uninstall/purge, some
don't.
You could also do a 'dpkg-query -L
This sounds like what I had to do about 2 years ago to get to PCI-DSS level
SAQ D :) Back then, I simply used the scratch codes to go through.
Your idea is more elegant, though. Thanks for sharing!
On Friday, 12 December 2014 22:53:51 UTC+1, Nico K. wrote:
In case someone wonders, I solved
Have a look at: http://docs.ansible.com/intro_patterns.html#patterns
On Monday, 15 December 2014 16:13:18 UTC+1, Guillaume Subiron wrote:
Hi,
I manage multiple clients, and my servers are named using the following
pattern:
- foo-db01
- foo-www01
- bar-db01
- bar-mail01
- …
I
What is the role dependency in your case?
Depending on how your roles are written+called this can be expected (i.e.
the file gets templated by role B and then overwritten by A).
Share your code if you need more help.
On Thursday, 18 December 2014 06:46:38 UTC+1, Steve Kieu wrote:
Hi All,
I
Can you show the contents of templates/etc/httpd/conf/httpd.conf.j2? Seems
you're cat'ing the file directly on the target host.
BTW, when using the template module you don't need to specify 'templates/'
in the src. Same for the copy module with the 'files/'), etc.
On Friday, 5 December 2014
When you say you're sure, is that because you tried 'debug: var=result'?
Furthermore, are you doing something else with Postgres' port in your
iptables rule? If not, simply remove the first task and then in the second
task, remove everything before '-p\ tcp...' from the regexp and you should
Here's what I do to gain some other benefits:
- I let Vagrant dynamically generate the hosts file that is later used by
Ansible.
- the Vagrant boxes use a different subnet thus not conflicting with the
corner case described above.
On Wednesday, 13 August 2014 16:59:52 UTC+2, Jeppe Toustrup
Hi Lorin,
It looks like your question is similar to
mine: https://groups.google.com/d/msg/ansible-project/Xy3kt0Mr8YY/eB6TqMN0Y3EJ
Didn't had the time to explore potential fixes yet though...
Perhaps you have some updates from your side.
Cheers,
Dan.
On Friday, 14 November 2014 04:47:03 UTC+1
.
On Tuesday, December 16, 2014 10:32:46 PM UTC-5, Dan Langille wrote:
I have a role for installing ssl certificates.
I also have a playbook for installing an instance of mailman with various
vhosts. One such host like this:
host_vars/mailman.unixathome.org:
---
mailman_vhosts:
- vhost
I have a role for installing ssl certificates.
I also have a playbook for installing an instance of mailman with various
vhosts. One such host like this:
host_vars/mailman.unixathome.org:
---
mailman_vhosts:
- vhost: lists.freebsddiary.org
- vhost: lists.freshsource.org
etc
I
not sure if I can
tackle this as well any time soon.
On 4 December 2014 at 21:47, James Cammarata jcammar...@ansible.com wrote:
Hi Dan, could you please open an issue on GitHub in the
ansible/ansible-modules-core for this?
Thanks!
On Thu, Dec 4, 2014 at 2:22 PM, Dan Vaida vaida@gmail.com
It's quite frustrating that the 'rds_subnet_group' produces too few debug
info:
TASK: debug var=rds_sg_creation
---
\ ^__^
\ (oo)\___
(__)\ )\/\
||w |
|| ||
ok: [localhost]
Ansible version is 1.9
--
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.
To post to this group, send email to
11:20:33 UTC+1, Dan Vaida wrote:
A possible approach that I will try today is:
1. create the VPC
2. create the security groups with their custom settings within the VPC *and
a dummy one*
3. launch the WHOLE batch of EC2s at once, *in the dummy SG*
*4. have some subsequent tasks moving random
Hello everyone,
I'm just trying to do some cleaning up as part of my playbooks and one task
should go around and remove dummy security group(s).
Because of this case, I don't see the utility of the 'description'
parameter as being mandatory.
One step further, I'd rather see the module support
, 2014 at 8:27 AM, Dan Vaida vaid...@gmail.com
wrote:
That's right. But I was referring to another thing.
Basically, I'm trying to use their deployment role as a whole, to
perform certain operations only on certain hosts, while leaving all
the
hosts/groups, listed in the the main
- file: src=... state=absent
with_items: disable_sites
On Tue, Aug 5, 2014 at 1:22 PM, Dan Vaida vaid...@gmail.com javascript:
wrote:
Hello,
I also know some non-ansible ways of doing this, but I am interested to
see if it can be done entirely in Ansible.
Thanks.
On Aug 5, 2014
specs) in different SGs.*
*5. play around with the EC2s based on their SG membership*
On Tuesday, 25 November 2014 18:55:58 UTC+1, Dan Vaida wrote:
Hello all,
Was just curious how to accomplish this. Right now I am launching all
instances at once, so I am maximizing my chances to have all
13, 2014 at 5:59 AM, Dan Vaida vaid...@gmail.com
javascript: wrote:
Hello all,
I am creating a VPC with two subnets, a security group and trying to use
those for launching an EC2 with a private IP address from one of the
freshly created subnets.
The problem seems
Hello all,
Was just curious how to accomplish this. Right now I am launching all
instances at once, so I am maximizing my chances to have all the EC2s as
close as possible. As AWS and common sense advises, it's desirable to have
it like so, any subsequent EC2 launch targeting the same
Can you post your playbook(s)?
On Tuesday, 30 September 2014 18:03:52 UTC+2, Andy Raj wrote:
Hello Fellow ansible users,
I am new to ansible, using version 1.7.2 on Mac OSx. I am trying to launch
aws instances and install our code on them as part of an automated
deployment process.
I am
workaround as it will work only once because
of the subsequent runs (lack of a Subnet in the VPC module *deletes* the
Subnet if it exists and not used).
On Thursday, 13 November 2014 11:59:30 UTC+1, Dan Vaida wrote:
Hello all,
I am creating a VPC with two subnets, a security group and trying to use
Greetings everyone!
For a given reason, I need to handle some Route53 records for my EC2's
EIPs.
The instances are part of the [all] group in my hosts file.
Obviously, the 'setup' module is not aware of EIPs. But the ec2_facts
module is.
Right now, I'm trying to wrap my head around this
I think the problem could be caused by the delegate_to
Have you tried running the playbook without it? i.e. let the Munin master
node to generate the conf file dynamically by being the one that connects
to each Munin node to fill in the template.
On Friday, 26 September 2014 13:52:13 UTC+2,
I think you might find the answer
here: https://groups.google.com/forum/#!topic/ansible-project/wzG5BMC7h_w
On Saturday, 20 September 2014 22:14:58 UTC+2, Naween Ghimire wrote:
I am currently trying to run integrate ansible runs through jenkins. If i
use the --extra-vars option of ansible in
Hi,
Have you tried using 'true' instead of 'yes' in the make install task?
On Sat, Oct 18, 2014 at 6:09 AM, Martin van der Poel
martin.van.der.poel.1...@gmail.com wrote:
So, i'm creating a role to auto install megatools, but i'm having trouble
using sudo in a specific command, got the task /
Hi All, I'm just getting started trying to use ansible for provisioning and
orchestration of cloud resources in AWS, so I'll apologize in advance for
this noob question.
I've used ec2_group successfully before, but I can't figure out why this
task isn't working. I can see it run the playlist
At present, I have two tasks:
This one installs ssl certs for the host in question:
ssl-certificates/tasks/main.yml
---
- name: certs
copy: src={{item.file}} dest=/usr/local/etc/ssl/ owner=root group=www
mode={{item.chmod}} backup=yes
with_items:
- { file: 'hosts/{{
Pretty sure I need to use the validate parameter in a copy task but am
unclear on how to use it.
Here's my copy task for context:
- copy: src={{ item }} dest=/home/vagrant/.drush/{{ boxname
}}.aliases.drushrc.php
with_fileglob:
- ../../settings/drush_aliases/*
notify: drush cc drush
.
It seems that what you would want to do, instead, is adapt your fileglob
to only accept those files, or instead, name those files explicitly.
Sort of make sense?
Thanks!
On Thu, Sep 25, 2014 at 7:20 AM, Dan Bohea dbo...@gmail.com javascript:
wrote:
Pretty sure I need to use the validate
and hitting an error
condition, but I'm unclear which parts you find unusual.
Thanks!
On Tue, Sep 2, 2014 at 11:05 AM, Dan Bohea dbo...@gmail.com javascript:
wrote:
So I just recently discovered how to list several possible vars_files,
with precedence, and where some may not exist
saying none of the files in the list were found and hitting an
error
condition, but I'm unclear which parts you find unusual.
The path in the error looks strange ;-)
On Tue, Sep 2, 2014 at 11:05 AM, Dan Bohea dbo...@gmail.com
javascript: wrote:
So I just recently discovered how
does not look strange to me.
Is there a particular path element in the list that looks strange to you?
On Wed, Sep 3, 2014 at 5:28 AM, Dan Bohea dbo...@gmail.com javascript:
wrote:
Thanks for the suggestion but I already tried that and it results in a
huge error:
Traceback (most recent
.
If this occurs on 1.7.1 or devel, can you file a bug on this one? This
most definitely should not happen and we'll want to correct this.
Thanks!
On Wed, Sep 3, 2014 at 8:08 AM, Dan Bohea dbo...@gmail.com javascript:
wrote:
Sure. Once again for reference, here's that path from the error message
Bug report: https://github.com/ansible/ansible/issues/8881
On Wednesday, 3 September 2014 17:11:31 UTC+1, Dan Bohea wrote:
No worries :)
This is with Ansible v1.7.1 so I'll file the bug report and point back
here for reference.
On Wednesday, 3 September 2014 17:06:10 UTC+1, Michael
So I just recently discovered how to list several possible vars_files, with
precedence, and where some may not exist:
http://serverfault.com/questions/589734/ansible-can-i-use-vars-files-when-some-files-do-not-exist
Very handy. Where is the documentation for this?
Next question...
I'd like
Ah-ha!
This might very well be the cause for my
issues: https://github.com/ansible/ansible/issues/7958
https://github.com/ansible/ansible/issues/7952
On Monday, 25 August 2014 03:41:26 UTC+2, Will Thames wrote:
Digging up an old thread (as I came across
May I suggest the following way of doing it:
- name: mounting shares
mount: name={{ item.name }} src={{ item.src }} fstype=nfs opts={{
item.opts }} state=mounted
with_items:
- { name: '/root/nfs',src: 'hostname:/ExportName',opts:
'defaults' }
[...]
tags: nfs
The mount
Would be curious to see how would this handle demoting/downgrading
permissions with the above presented syntax.
Something like u=-x perhaps(?)
On Wednesday, 27 August 2014 06:15:00 UTC+2, James Cammarata wrote:
Sticky bits and setuid/setgid all work as expected currently:
o+t (sticky bit)
touched some lines at all (mostly the module declaration). I am
reusing a lot of the existing logic.
Will
On 27 Aug 2014, at 19:33, Dan Vaida vaida@gmail.com wrote:
Ah-ha!
This might very well be the cause for my issues:
https://github.com/ansible/ansible/issues/7958;
https://github.com
4:09:01 PM UTC-4, Dan Vaida wrote:
Hello again,
I managed to resize the root device by adjusting the volumes parameter
like so:
volumes:
- device_name: /dev/sda
volume_size: 20
device_type: gp2
Hint was found here: New SSD-Backed Elastic Block Storage
http
UPDATE: running either works just fine.
--
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.
To post to this group,
/where/is/sqlite3/bin
And you should be good to go.
I got a very nice recent PR to make the environment keyword also be applied
at play level, though right now it's task level only.
On Wed, Aug 20, 2014 at 6:20 AM, Dan Bohea dbo...@gmail.com javascript:
wrote:
Sure, the role
The script runs as expected when run directly from the command line.
Admittedly, I've copied and tweaked the script - it wasn't written to be
run from Ansible.
I know nothing about plistbuddy either :) but it and sqlite3 are being
called by different parts of the shell script - I don't think
I appreciate your persistence Michael :) Thanks for all your help so far.
I did try the path thing (a few comments up where I quoted some code
snippets) but it didn't seem to make any difference. The locations that I
added to PATH could have been incorrect of course - I based them on what
was
OK, I'll do some more poking prodding and see what I can turn up. Thanks
again.
--
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
For what it's worth, I get a different type of error message when I try to
run something similar with Redis.
https://github.com/ansible/ansible/issues/7986
On Saturday, 16 August 2014 02:03:11 UTC+2, Shih Oon Liong wrote:
I was trying to provision a new memcached server via ansible
- name:
Hello,
Again, a very BIG thank you for your efforts on the deploy module.
I would like to share my suggestion, perhaps as an idea to generate a
future pull request:
With capistrano, it is possible to run some of the tasks only on specific
hosts. Any plans for such a feature?
Problem is that in
?
This has been a feature in Ansible since day 1.
- hosts: hostnames
- hosts: otherhostnames
Etc
On Thu, Aug 14, 2014 at 7:42 AM, Dan Vaida vaid...@gmail.com
javascript: wrote:
Hello,
Again, a very BIG thank you for your efforts on the deploy module.
I would like to share my suggestion
of playbooks. One approach that seems somewhat
reasonable is to have tasks defined outside of main.yml for specific roles
(or common if that applies). I just feel like I'm missing something or
thinking too hard about this.
-Dan
--
You received this message because you are subscribed
I know I can set Ansible's overall verbosity when running a playbook (-v,
-vv, -vv etc) but does anyone know if it's possible to increase verbosity
for specific tasks and/or modules from within the playbook?
I'd like to see the progress reports that the homebrew, homebrew_tap
homebrew_cask
Hello,
This works just fine for me:
- name: uninstall apache-related packages
apt:
pkg={{ item }}
state=absent
purge=yes
force=yes
with_items:
- apache2*
sudo: yes
On Wednesday, 6 August 2014 10:19:51 UTC+2, Laer Cius wrote:
Hi,
Is there a way, other that with
Hello guys,
I am trying to get my head around parsing a folder for its files and
creating symlinks for those files found (depth 0) and place them in another
directory.
Example: parse sites-available/ and create symlinks in sites-enabled/ with
relative paths.
I know one can just use the
. It might be able to help.
On 08/05/2014 12:05 PM, Dan Vaida wrote:
Hello guys,
I am trying to get my head around parsing a folder for its files and
creating symlinks for those files found (depth 0) and place them in another
directory.
Example: parse sites-available/ and create
strange, that's right in the middle of a docstring. No reason for it
to break like that.
What does the result of /usr/bin/env python --version say?
Regards,
-scott
On Thursday, July 3, 2014 5:13:48 PM UTC-4, Dan Chan wrote:
I have a handful of existing EC2 instances with a specific tag
I have a handful of existing EC2 instances with a specific tag that I would
like to target and execute Ansible against. What is the best way to go
about this?
I tried to use the ec2.py script for EC2 Dynamic Inventory, but ran into
issues when trying to execute the script.
dchan $ chmod +x
records matchig our stores]
**
fatal: [localhost] = One or more undefined variables: 'list object' has no
attribute 'public_ip'
On Thursday, 19 June 2014 18:29:17 UTC+2, Dan Vaida wrote:
Could it be something as easy as (route53.yml)
...
- name: getting showing all
Hi Mark.
This is the typical outcome of AWS' flow. When you assign an EIP to an
instance, you can forget about the public dns and public ip entries. they
are updated according to the EIP.
As a tip, I am registering the output of the ec2_eip module and use that
instead of querying the ec2
Hello,
What about adding an EIP to the instance(s)?
Because that changes the game completely making the registered ec2
instances info outdated (at least the IP-related one).
How about cycling through Route53 with those EIPs? Has anyone done that
successfully? Don't want to hijack this
Hello everyone!
Since the 'include' doesn't work anymore with 'with_items', I am trying to
do the following:
...
- name: add EIP to the instance
local_action: ec2_eip in_vpc=yes instance_id={{ item.id }} region={{
region }}
with_items: ec2.instances
register: eip
- name: output the IP
potential solutions...
Thanks!
On Thursday, 19 June 2014 18:13:26 UTC+2, Dan Vaida wrote:
Hello everyone!
Since the 'include' doesn't work anymore with 'with_items', I am trying to
do the following:
...
- name: add EIP to the instance
local_action: ec2_eip in_vpc=yes instance_id
Hello everyone!
Here goes my first post in the wonderful Ansible project :)
Here's the problem that I am facing: I am trying to launch an EC2 instance
(c3.2xlarge) and, in the process, I want to resize the root partition from
8GB to something bigger. Also while in the process of launching the
Hello everyone!
I trying to do a code checkout from one of my repositories, hosted at
bitbucket.
Unfortunately, as you might know, the connection speed is not the best when
it comes to BitBucket (surely Atlassian will make this better in the
future).
Anyhow, they did a great job providing
-block-storage/
Now the only question that remains is: how to add those two SSD drives as
well?
Cheers!
On Tuesday, 17 June 2014 12:44:54 UTC+2, Dan Vaida wrote:
Hello everyone!
Here goes my first post in the wonderful Ansible project :)
Here's the problem that I am facing: I am trying
different repos for each of your projects
and check out common role content in a known location.
On Thu, Feb 20, 2014 at 6:28 AM, Dan C dco...@gmail.com javascript:wrote:
I am using the groups aproach in some cases, but I can't use it in
pull-mode, can I? The playbook I wrote
:
- dbservers
This is much cleaner on output as well.
On Wed, Feb 19, 2014 at 3:30 AM, Dan C dco...@gmail.com javascript:wrote:
Thanks Michael,
I supposed it was that (the when), but yet it seems strange to me the
fact that a handler can be notified and yet skipped.
Anyway, I changed
with the same name in one of
those roles.
On Tue, Feb 18, 2014 at 3:42 AM, Dan C dco...@gmail.com javascript:wrote:
I'm having some trouble having a handler executed. It is notified but
skipped. Is there any particular reason why a handler is notified but yet
skipped? I mean, from my point of view
201 - 300 of 307 matches
Mail list logo