Thanks, have created the issue ticket
(https://github.com/ansible/ansible/issues/5456).
Btw i had totally forgotten miyagi, how crass :-/. watching it today
again.. ur awesome :)
On Monday, December 30, 2013 5:12:03 AM UTC+5:30, Michael DeHaan wrote:
>
> Thanks!
>
> Can you please report this o
I'd maybe consider passing in what version (git tag, etc?) you are
deploying with "-e" and then you could probably save the "timestamp" step
too.
Note that the timestamp might be different between hosts, so passing it in
seems better to me, that way your directory names would be consistent.
(Or o
There will be cleaner ways to do this once jinja2.7 becomes more
readily available, but for now you could probably simulate the above
loop with 'with_items' and a 'when' conditional:
tasks:
- name: ipv6 link local
debug: msg="{{ item.address }}"
when: item.scope == 'link'
with_it
Thanks!
Can you please report this one on github (github.com/ansible/ansible) so we
don't lose track of it?
I believe I know the swap on swap off technique from the Karate Kid.
On Sun, Dec 29, 2013 at 5:12 PM, boochi shiva wrote:
> hi all,
> I'm trying run the below playbook and facing an e
hi all,
I'm trying run the below playbook and facing an exception
ansbile version : 1.4.3
os : debian wheezy
playbook:
===
---
- hosts: db
gather_facts: false
tasks:
- name: get free mem
Thank you for your answers. I will use your apt module.
But just for the record - I always rollback to fresh virtual machine, so
the reason for hanging is not double task execution for sure.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
You should absolutely use the apt module.
You can install multiple packages in a single step by using "with_items"
and there's a flag for controlling whether recommended packages are
installed (see module docs).
I suspect as for the commands not being interactive the second time it was
because yo
you can execute shell commands, just not ones that expect interactivity as
they hold the tty (this happens with any background ssh execution).
for apt commands, yes use the apt module, it takes care of 99% f these
issues.
--
You received this message because you are subscribed to the Google Grou
Thanks for answer.
However, apt is not the only task that hangs without ANY information why.
Another example:
shell: apt-get install --no-install-recommends virtualbox-guest-utils &&
sudo apt-get install virtualbox-guest-dkms
Should I always use your apt module? Why can't I just execute simple
Hi everyone,
I'm new to Ansible and I've been exploring it with Vagrant to perform some
automated deployment tests for a project. I'm enjoying it so far! As part
of setting up the deployment environment, I need to adjust some kernel
parameters which take effect at boot time. It's easy to do:
nothing broken I can see, but a few things:
- local_action: and delegate_to: 127.0.0.1 mean the same thing you can
remove one, don't need both.
- sudo: false is the default, since you don't set it to true at the play
level you should only need to set it to true for tasks that require it.
- git a
It's in the latest FAQ, though it's not pushed to the website just yet.
(This is waiting for about a week for some other reasons)
On Fri, Dec 27, 2013 at 8:03 AM, Trond Hindenes wrote:
> Thanks Michael,
>
> Just out of curiosity, I can't seem to find this type of info in the
> documentation.
This email looks remarkably similar to a bug report where I asked if you
could share your authorized_key file (ideally sanitized) so we could take a
look.
If this was yours please comment on the bug ticket.
On Fri, Dec 27, 2013 at 4:54 PM, t2d wrote:
> Today, we updated from ansible 1.3 to 1.4.
Apt by default needs eleventy zillion flags to not go interactive.
There's a parameter you should use on the 'apt' module that does upgrades
that will take care of this for you.
On Fri, Dec 27, 2013 at 1:40 PM, 9dev <9devm...@gmail.com> wrote:
> Some of tasks I wrote start and never end. Ans
Ah, apologies. Will move discussion over.
On Friday, December 27, 2013 9:42:05 AM UTC-5, Michael DeHaan wrote:
>
> I was suggesting this be posed on ansible-devel list btw, will let you
> post there and we can discuss.
>
> -- Michael
>
> On Dec 27, 2013, at 7:15 AM, "herby@axial.net " <
> he
Hi Rella.
Please refer to it.
It is old thread that talking about reboot.
https://groups.google.com/forum/#!msg/ansible-project/9KVUY8yBKww/FHnX6FUvrH8J
And I wrote sample-code about reboot, But it's japanese..
http://qiita.com/volanja/items/d38fe0678848bae6902f#2-6
volanja
2013年12月27日金曜日 9時05
Thanks! I’d love to take a look at that. Rolling LB’s isn’t a requirement for
my current project, though it’s not entirely out of the foreseeable future.
Here is a gist of what I threw together today while fiddling around:
https://gist.github.com/stanlemon/8153200
I’d appreciate any feedback or
Today, we updated from ansible 1.3 to 1.4.3
This part of the play worked until now
```
- name: ensure key files for ssh are present
action: authorized_key
user={{ item }}
key='files/{{ item }}.pub'
with_items:
- user1
- user2
```
but now, w
Some of tasks I wrote start and never end. Ansible does not provide any
errors or logs that would explain this, even with - option. Playbook
just hangs and passing hours doesn't change anything.
When I try to run my tasks manually (by entering commands via SSH)
everything is fine.
Exam
Thanks Michael,
Just out of curiosity, I can't seem to find this type of info in the
documentation. Is it in there somewhere?
On Monday, December 23, 2013 5:59:52 PM UTC+1, Michael DeHaan wrote:
>
> This part:
>
> {{ hostvars[host][groups['tag_Group_MySQL'][0]] }}
>
> is incorrect.
>
> Try this
Hello,
I apologize if this accidentally got send to the list twice! I am
wondering if anyone is familiar with a set of play books or modules to
perform atomic deployments akin to the capistrano 2 copy strategy? I am
interested in implementing something like this, but don't want to reinvent
the
21 matches
Mail list logo