Some feedback
I tried a few things still to make it perform better, including mirror
repositories, but the fact that repoquery is forced on the user is perhaps
limiting... any ways to make that optional instead of using it if it is
present?
On Thursday, February 20, 2014 2:39:48 PM UTC+9, Mar
On Wednesday, February 26, 2014 6:05:26 PM UTC-8, Mark Butler wrote:
>
> Hi team,
>
> i need to download and deploy some jars using Ansible from Jenkins. Some
> of our jars with dependencies are large (150mb) so this is slow.
>
> Assuming that you can get them onto the Ansible server (use local_
Hi team,
i need to download and deploy some jars using Ansible from Jenkins. Some of
our jars with dependencies are large (150mb) so this is slow.
Is there anyway i can check if and only download if the resource has
changed?
Or alternatively what's the best practice for dealing with this situati
Basically the "async" keyword in Ansible for very long running stuff.
http://docs.ansible.com/playbooks_async.html
The devel branch is pretty darn stable now if you want to try running an
early copy (actually it usually is, but we may get more into
refactoring/overhaul in the future, but that usu
Hi Michael,
On Wednesday, February 26, 2014 7:49:04 PM UTC-5, Michael DeHaan wrote:
>
>
> Was just going to ask what version and you beat me to it :)
>
:)
>
> There was a problem with the copy module not removing tempfiles that was
> recently fixed (Feb 4), though we haven't included this in
Was just going to ask what version and you beat me to it :)
There was a problem with the copy module not removing tempfiles that was
recently fixed (Feb 4), though we haven't included this in a release --
Ansible 1.5 is slated to be released by the end of this month.
The above problem with copy,
For the record, I'm using Ansible 1.4.5 built with "make deb" after a "git
checkout v1.4.5" in the repository.
--
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
Here is a sample failure message:
fatal: [u05] => Authentication or permission failure. In some cases, you
may have been able to authenticate and did not have permissions on t
he remote directory. Consider changing the remote temp path in ansible.cfg
to a path rooted in "/tmp". Failed command w
Yeah Paul, I like. I'll add it now. Good suggestion. Thanks, Bryan
On 26 Feb 2014, at 16:59, Paul Durivage wrote:
> If you so choose, you could add a task to the role to ensure the system is a
> 64-bit system.
>
> - name: "Ensure system is x86_64"
> fail: msg="Docker requires a 64bit system
Hi Aaron.
The link above gives 404, corrent one is http://sharknet.us/2013/12/13/276/
Pavel.
On Wednesday, December 25, 2013 1:24:43 AM UTC+3, Aaron Hunter wrote:
>
> Hello,
>
> I just posted an in-depth guide to automating Xen VM creation and
> provisioning using Ansible at
> http://www.shark
Hi,
I ran across this same "not issue" thinking that my host_vars/x.yml would
override the inventory file. I get the Ansible Zen approach, and now that
I know the answer from MD above, I am A-OK. I think it would be *nice* if
this information was covered in the Ansible docs specifically so fo
Solved by myself.
Use trick with
shell={{ variable | default('/bin/sh') }} value.
Thanks a lot for help!
--
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
If you so choose, you could add a task to the role to ensure the system is
a 64-bit system.
- name: "Ensure system is x86_64"
fail: msg="Docker requires a 64bit system architecture"
when: "ansible_architecture != 'x86_64'"
See the fail module: http://docs.ansible.com/fail_module.html
On W
I still don't understand. There are different levels of variables, but
how do they stacked and overriden?
Is it like this? (I can't check right now)
[globals] (-e) - variable overrides everything below if set
[playbook] (vars section) - variable is accessible by includes
[t
works like charm!
One more little question - i have user variables like this:
> user1:
>
> - { user: 'user1', shell: '/bin/sh' }
>
how i can change shell value in special host group to /bin/nologin for
example? And keep it default value for other groups?...
--
You received this message becau
very easy:
- template: src=sametemplate dest=/var/www/{{item}}
with_items:
- host1
- host2
and you can use 'item' as a key inside the template to write specific
options to each.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To u
I'd just mention it in the comments of now.
On Wed, Feb 26, 2014 at 11:11 AM, bryan hunt wrote:
>
>
> I created a (trivial) role to install Docker onto Ubuntu Precise, and
> amended the meta/main.yml file appropriately.
>
> There is an issue though, this role only works on Ubuntu Precise 64bit.
I created a (trivial) role to install Docker onto Ubuntu Precise, and
amended the meta/main.yml file appropriately.
There is an issue though, this role only works on Ubuntu Precise 64bit.
AFAIK, Docker do not supply 32 bit debs for their service.
I can't figure out how to express this, is t
You can easily put variables in your template that the template can key off
of.
Usage of things like "set_fact" or parameterized role arguments may be
relevant here.
On Wed, Feb 26, 2014 at 10:08 AM, Andy Altepeter wrote:
> Greetings,
>
> I have a need to generate multiple configuration file
Greetings,
I have a need to generate multiple configuration files on a single host
from one template. Is this possible in ansible?
Let's say I have a variable like:
vars:
configs:
- port: 8080
directory: /var/www/host1
- port: 8081
directory: /var/www/host2
I need to g
JSON is the correct format to define a hash there. In the first two
examples you defined two seperate scalar variables with a "." in them.
You can turn on hash merging behavior in ansible.cfg if you wish hash
elements to blend together versus override.
I'll warn you that not all places of the co
There is no such code regression in Ansible and you are incorrect in this
case to assume this is a bug or a change in the code.
You likely have a crossed up install somehow.
Try on a clean box and if you're still stuck, share a minimal playbook that
uses debug and we can point it out.
On Wed, F
Yep, please direct this over there.
It's likely just a permissions issue on the license file.
On Wed, Feb 26, 2014 at 5:57 AM, benno joy wrote:
> Hi David,
>
> Could you please send across awx/tower related issue to
> supp...@ansibleworks.com as this list is mainly for ansible core .
>
> Reg
I upgrade to new version ... well Fedora 19 gave it to me after yum upgrade.
So I went from ansible-1.4.3 to ansible-1.4.5 and I experience two
regressions
1) I have this in playbook:
tasks:
- debug: msg="IP={{ int_ip.stdout }}"
And now I'm getting:
ERROR: debug is not a legal parameter
I should add that you might want to look at the best practices document
http://docs.ansible.com/playbooks_best_practices.html
which will give you a clear picture of how you could lay out your files.
If you want the same users on all hosts in all groups then you might want
to put them in group_
On Wednesday, February 26, 2014 1:05:33 AM UTC-8, Petr Sukharev wrote:
>
> Thanks for you reply, Adam!
> I think, this solution is working like charm, but main reason for defined
> users like variables - is keeping all information in separate file. It is
> more simple for managing information a
Hi David,
Could you please send across awx/tower related issue to
supp...@ansibleworks.com as this list is mainly for ansible core .
Regards,
Benno
On Wed, Feb 26, 2014 at 11:50 AM, David Chin wrote:
> Hi guys,
>
> I keep on getting these messages when logging in to AWX (Ansible Tower).
> *Fa
Hi guys,
I keep on getting these messages when logging in to AWX (Ansible Tower).
*Failed to access license information. GET returned status: 401*
After I dismissed the error, it keeps on prompting me to login again and
again and AWX is basically not usable.
Any idea how to troubleshoot this?
Thanks for you reply, Adam!
I think, this solution is working like charm, but main reason for defined
users like variables - is keeping all information in separate file. It is
more simple for managing information and apply changes...
For example, if i have 10 host groups and 40 users, and changin
29 matches
Mail list logo