On 04/24/2014 09:53 PM, ra...@future500.nl wrote:
Hey Ernest0x,
I don't think the dependencies currently stand to mean extend in the
OO sense. All it means is I depend on some othe role, so make sure
that role is run before me. Each role is still an independent one. I
believe this is a very
Hi,
I understand the suggestion about adding more variables to your templates to be
able to steer with variables; and I understand defaults - this is exactly how
we try to build roles for galaxy. The problem lies with roles beyond your own
control - i.e. roles by other people where you want to
On 04/25/14 13:28, Ramon de la Fuente wrote:
Hi,
I understand the suggestion about adding more variables to your templates to
be able to steer with variables; and I understand defaults - this is exactly
how we try to build roles for galaxy. The problem lies with roles beyond your
own
No one?
On Wednesday, April 23, 2014 3:34:47 PM UTC+2, Sébastien Han wrote:
I don't know :/
--
Regards,
Sébastien Han.
On Wed, Apr 23, 2014 at 11:40 AM, Strahinja Kustudić
strahin...@nordeus.eu wrote:
I don't understand, it's like it is not recognizing the *hostvars*keyword?
On
You are complicating things with all this, think of it a lot simpler.
Regarding your example you can solve #1 in two ways:
1. Don't set hosts file with a template, but using lineinfile
2. Don't change the hosts file in common role, since from the looks of it,
it is not common enough
On
I had to add some try/catch logic in template.py to discover that there was an
issue with the template I was using in lookup('template'). The plugin was just
returning empty string due to the template error.
Are the lookup plugins supposed to eat exceptions?
Regards,
-scott
--
You received
I can see your suggestion being useful, but for now, you just have to think
of roles as group of similar tasks and that is all, don't think of them as
classes in an OO language. I don't see that this will change any time soon.
On Friday, April 25, 2014 4:39:49 PM UTC+2, Ernest0x wrote:
On
The simple solution is not not put sudo=anything in the playbook. Those
users needing to run with sudo can use command line flags to turn that on...
It sounds like you have two separate sets of tasks... So why not use a
pair of roles?
If you have split your playbooks up into individual
On Friday, April 25, 2014 12:01:16 AM UTC-7, Ernest0x wrote:
What you suggest could be useful only if you just want to override some
templates and/or files. But you may also want your 'extend' role to have
some new tasks of its own, so that they are run after the invocation of the
On 04/25/14 17:48, Strahinja Kustudić wrote:
I can see your suggestion being useful, but for now, you just have to
think of roles as group of similar tasks and that is all, don't think
of them as classes in an OO language. I don't see that this will
change any time soon.
Actually, from
Mark,
Thanks for digging into the issue. Would you mind updating the github
ticket with this new information?
Thanks!
James
On Thursday, April 24, 2014 12:17:19 PM UTC-4, mto...@go2uti.com wrote:
I saved the tmp file on a target server and looked through it to try to
see what is
Hi,
I've open an issue on Github
(https://github.com/ansible/ansible/issues/7157) about mongo_user module.
I'm trying to use mongo_user to create some users. However, I'm unable to
login with the credentials specified.
I use the following commands :
- name: add Mongo admin
mongodb_user:
So, I'm curious, for the case where you want to start stopped EC2
instances, what's the current recommended approach?
I've kind of ignored this task for now, managing that by hand (it's just
our dev env, but it's still a couple of dozen instances at least). I'm
almost about to pull
Is there any way to have something run for all tags? For example,
ec2_facts should always be run when working with hosts in AWS even if you
want to use a tag to limit the tasks that you are running.
--
Peter Gehres
Site Reliability Engineer | AppDynamics, Inc.
www.appdynamics.com | AS62897
--
On Apr 25, 2014, at 2:31 PM, ghex...@gmail.com wrote:
So, I'm curious, for the case where you want to start stopped EC2
instances, what's the current recommended approach?
I've kind of ignored this task for now, managing that by hand (it's just
our dev env, but it's still a couple
I'm fairly new to Ansible. How do I get your code into my Ansible install
so I can use it? I run from source.
Thanks!
James
On Monday, April 21, 2014 12:29:03 PM UTC-4, cove_s wrote:
Hi folks,
We’re trying to implement a system where we can power environments on and
off AWS when
On Apr 25, 2014, at 3:08 PM, James Carroll james.carr...@idmworks.com wrote:
I'm fairly new to Ansible. How do I get your code into my Ansible install so
I can use it? I run from source.
I keep all of my new/modified modules in a library directory under where my
play books are. Ansible
I like the idea of having sftp vs scp be configurable for paramiko. We
don't use sftp in our infrastructure (except in a few cases), so having an
scp option for paramiko would be nice. (Lots of CentOS 5.x in
infrastructure, so paramiko is still desired.) Here is a custom paramiko
plugin
Nope, there's no magic all right now. There is already a suggestion for
this though (and maybe a pull request).
One option is to tag such steps with common and always include common.
On Fri, Apr 25, 2014 at 2:47 PM, Peter Gehres
peter.geh...@appdynamics.comwrote:
Is there any way to
The template module will need permissions to be able to write the template,
however the template module is smart enough to not replace the file if the
md5sum of the template has not changed.
IIRC, in some cases of sudo usage from non-root an md5sum isn't possible
and it will need to try to
A pull request would be welcome!
Thanks!
On Fri, Apr 25, 2014 at 4:18 PM, Hans Lellelid hlelle...@gmail.com wrote:
I like the idea of having sftp vs scp be configurable for paramiko. We
don't use sftp in our infrastructure (except in a few cases), so having an
scp option for paramiko would
Aha. Thanks for being the magic index of all open issues :-)
https://github.com/ansible/ansible/pull/7039 for anyone wondering.
On Fri, Apr 25, 2014 at 1:36 PM, Michael DeHaan mich...@ansible.com wrote:
Nope, there's no magic all right now. There is already a suggestion
for this though
I see, thanks. Could this be considered a bug? There may be cases where you
want a user to have write permission on a file, but not the whole directory.
On Friday, April 25, 2014 2:24:27 PM UTC-7, Brian Coca wrote:
Yes, template writes a new file and moves it into place.
--
Brian Coca
That's disappointing. I'm going to have to re-think my permission scheme.
But thanks for the info.
JW
On Friday, April 25, 2014 2:31:22 PM UTC-7, Brian Coca wrote:
it would require a major change to how template/file/assemble/etc work. In
template's case the file is actually generated on
24 matches
Mail list logo