here we go: https://github.com/ansible/ansible/issues/7701
:)
On Friday, June 6, 2014 2:38:03 PM UTC+2, Michael DeHaan wrote:
Please file a ticket in github so we can remember to update the docs.
Thanks!
On Thu, Jun 5, 2014 at 6:03 AM, Fred frederi...@gmail.com javascript:
wrote:
The
Excerpts from James Cammarata's message of 2014-06-07 21:14:41 -0400:
We are planning on doing this at some point in the (hopefully near) future,
for both yum and apt.
Not entirely on-topic, but it's a thing of mine:
Thank you all *so much* for having functioning distribution packages
from a
This is more of a topic for ansible-devel, but to answer your question you
can use the hacking/test-module script to run your module. At that point,
you can either use print statements or epdb to debug your code, since it's
running locally. If you only want to test your module remotely (ie. a
I want to make the same (upload a release to github API with uri module).
I have seen an example posting the contents of a file:
- uri: url=https://your.jira.example.com/rest/api/2/issue/
method=POST user=your_username password=your_pass
body={{ lookup('file','issue.json') }}
Hi,
I am using mac. I can notice for different module it takes two path.
either it takes from '/Library/Python/2.7/site-packages or
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib
import jinja2
jinja2
module 'jinja2' from
You should not be using vars files from inside roles as vars_files entries.
If you want easily overridden variables put them in defaults/main.yml and
then override them either via role parameters or inventory variables (like
host_vars and group_vars).
On Sun, Jun 8, 2014 at 10:22 PM, Greg
ansible_ssh_args is leveragable here to pass additional arguments correct?
Also this is configurable in ansible.cfg.
On Sat, Jun 7, 2014 at 11:34 AM, Brent Langston brent...@brentley.net
wrote:
I see your logic, but I think this world break a use case I have in my
environment where a bot
I've tried using the commit hash as argument for version, but it doesn't
work: it has the same effect of version=master.
By same effect you mean it does the pull every time, rather than it checks
out master, I'd assume? :)
I'd like to see the -v output in that case.
(Also note, in regard to
You could rename your development settings.py to settings.py.sample,
continue to keep it under version control, and add settings.py itself to
your .gitignore. This is what Rails does with things like database.yml,
which may contain passwords.
On Friday, June 6, 2014 1:27:00 PM UTC-7, parnigot
Thanks James. I've re-jigged it as you describe and things are working
nicely.
-Greg
On Monday, June 9, 2014 7:29:19 AM UTC-7, James Cammarata wrote:
You should not be using vars files from inside roles as vars_files
entries. If you want easily overridden variables put them in
Ah, mine are all lumped in together, like this:
ansible-mystack:$ tree -L 1
.
├── Vagrantfile
├── ansible.cfg
├── group_vars
├── preprod_hosts
├── prod_hosts
├── roles
├── site.yml
└── vagrant_hosts
Are you talking about having a group_vars per inventory then?
Trying to figure out how that would
So, I've double checked things, I can't see any reason why the first play
completes successfully and hits node m7b as defined in vagrant_hosts but
the second play hits 127.0.0.1 and m7b. It should be a repeat of the first
play.
On Friday, June 6, 2014 6:27:13 PM UTC+1, Richard Shaw wrote:
That 'file:///' part is there so that the uri module can be notified that
the body data is actually in a file and should be read in from disk . . .
I don't really like that because it seems a little too magical.
I prefer either amending the current file lookup plugin to read binary data
if the
ansible_ssh_args does not appear to be a config value used by Ansible.
[ssh_connection]
ssh_args
that is read, and looking at the source, it appears the environment
ANSIBLE_SSH_ARGS is read by the ssh connection plugin.
I'll try to play around and see if I can get that manipulated /in the
You might also want to read this post
http://michaeldehaan.net/post/35403909347/tips-on-using-debuggers-with-ansible
J.
On Monday, June 9, 2014 7:24:27 AM UTC-7, James Cammarata wrote:
This is more of a topic for ansible-devel, but to answer your question you
can use the hacking/test-module
I do not have these problems on my Mac but it seems like you might have
installed a custom Python and have installed some other things with pip
from the main python?
On Mon, Jun 9, 2014 at 4:53 AM, Nitin Kumar nitin.n...@gmail.com wrote:
Hi,
I am using mac. I can notice for different
Per IRC, I'm open to that being a thing.
On Mon, Jun 9, 2014 at 1:04 PM, Jesse Keating jkeat...@j2solutions.net
wrote:
ansible_ssh_args does not appear to be a config value used by Ansible.
[ssh_connection]
ssh_args
that is read, and looking at the source, it appears the environment
If there is value in this change of behavior, then cool. I have some other
work-arounds in mind that shouldn't be a big deal.
Brent
On Mon, Jun 9, 2014 at 12:53 PM, Michael DeHaan mich...@ansible.com wrote:
Per IRC, I'm open to that being a thing.
On Mon, Jun 9, 2014 at
Ok, yes.
The proposal seems like it should be to make the uri module take an
optional file parameter, so the lookup plugin doesn't have to use the
content parameter.
This will prevent the need to transfer the file in the arguments, which
could get ungainly for large files.
--Michael
On Mon,
Hey there,
I'm trying to write a playbook that gets the latest Pingdom probe servers
IPs and add updates an EC2 Security groups rules with those IPs, but I'm
failing are iterating the IPs in the rule and only the latest IPs is added
(I'm replacing instead of appending). I opened an ticket on
Ansible 1.6.3 has been released, which addresses a few bugs:
* Corrects a regression where handlers were run across all hosts, not just
those that triggered the handler.
* Corrects a regression in the order of variable merging done by the
internal runner code.
* Fixed two bugs related to symlinks
Hi folks,
The goal was to provision an rds instance using ansible, which was easy
enough using this module: http://docs.ansible.com/rds_module.html
Unfortunately this module doesn't have the option to allow the RDS to pass
in publicly_accessible and ec2 defaults making it publicly accessible
22 matches
Mail list logo