Hi all, Ansible 1.9.2 final has been released and is now available.
Ansible 1.9.2 addresses two security bugs, so we recommend users update as
soon as possible:
* Security fixes to check that hostnames match certificates with https urls
(CVE-2015-3908)
- get_url and uri modules
- url and
this might be a bug, i fixed several issues with the sequence lookup
in 1.9.2, confirmed that i see what you raised, i did not test for a
count of 1, I'll add that to the basic tests.
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
Ansible Project
Try this as a workaround, set ansible_shell_type=sh for all the
hosts, if that works I'm pretty sure I can solve the issue.
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from this group and stop receiving
Hi,
This has probably been covered before but I can't find any solutions.
My project pulls in roles from other projects via Maven. This means that we
can have company wide roles reused.
This all works fine, all the roles are dropped into a subdirectory in roles
and referenced in the
Seeking some best-practice advice about where to store variables within the
following structure:
* multiple inventory folders ./inventory/x, ./inventory/y, ./inventory/z
* inside each inventory folder, combinations of dynamic and static
inventory sources
* inside each inventory folder,
Have you thought about using role default variables instead? If all
environments have the same setting, this would be simpler. Role default
variables can then be overridden for specific groups in the group vars file.
On Jun 25, 2015 06:55, ddffgpmfn t...@aioue.net wrote:
Seeking some
Hi all, just wanted to make everyone aware that we had an errant build job
accidentally release a pypi package with the 2.0.0 version. If you have
installed this package, please remove it, as it corresponds to the (now
deleted) git tag of v1_last.
We've removed the package from PyPI, however it
Hi! I've written a module and am bumping up against an issue when I try to
include a percent sign in one of the parameters, e.g.:
supervisor_prog:
name: smlp-data
user: smlp
command: java blah-blah-blah
environment: PATH='/usr/java/jdk1.8.0_11/bin:%(ENV_PATH)s'
Notice the %
Hi,
It seems that aptitude is needed by the apt module to handle apt
upgrades. Is there any way to cut this dependency?
Thanks
--
Phyks
--
You received this message because you are subscribed to the Google Groups Ansible
Project group.
To unsubscribe from this group and stop receiving
Does not seem to be able to be installed on a Redhat 7.1 server. I keep
getting this error :
TASK: [packages_el | install yum repositories]
failed: [localhost] =
To overcome this, I wrote a powershell script which will call Get-SCPFile
cmdlet by Posh-SSH and was able to successfully copy the file from
controlling node to windows clients.
Is win_package module going to be with ansible version 1.9.2 and anyone
when stable version 1.9.2 is going to be
Hi Marc, questions regarding Tower should be directed at supp...@ansible.com
.
Thanks!
James Cammarata
Director, Ansible Core Engineering
github: jimi-c
On Thu, Jun 25, 2015 at 10:51 AM, Marc Bernier bernier.m...@gmail.com
wrote:
Does not seem to be able to be installed on a Redhat 7.1
Does win_package do a copy similar to win_copy? It would be good if we have
a win module which will copy binary files with bigger size from controlling
machine to clients. This will be easier for people who do not want to setup
any ftp.
Thanks
On Thursday, June 25, 2015 at 10:59:19 AM UTC-4,
Would it be against spirit or letter of Ansible's license, if I embed it
in commercial application? The application consists of multiple services
that need to be deployed and that's for what Ansible supposed to be used.
--
Kind regards, Andrew Pashkin.
Skype: waves_in_fluids
Cell phone: +7
Hello all,
I'm unable to access the value of a variable defined in group_vars/all in
a simple `local.yml' playbook.
I have described my directory layout and the contents of the YAML files in
detail here:
Ah! Narrowing it down, the problem is actually with the ConfigParser
module . . . I have a supervisor config that has the line:
environment: PATH='/usr/java/jdk1.8.0_11/bin:%(ENV_PATH)s'
and ConfigParser chokes whenever it tries to process that line:
from ConfigParser import SafeConfigParser
I'd like to hear advices for this as well. I do have one idea that I don't
like however. You should be able to use group_vars relative to your
playbooks as well. So put a group_vars dir outside of your inventories,
next to your playbooks, and that will be evaluated for all envs.
On Thursday,
Ansible docs say:
* extra vars (-e in the command line) always win
* then comes connection variables defined in inventory (ansible_ssh_user, etc)
* then comes most everything else (command line switches, vars in play,
included vars, role vars, etc)
* then comes the rest of the variables defined
I figured it out!! RawConfigParser does not support the magical
interpolation behavior
On Thu, Jun 25, 2015 at 11:11 AM, Guy Matz guym...@gmail.com wrote:
Ah! Narrowing it down, the problem is actually with the ConfigParser
module . . . I have a supervisor config that has the line:
Thanks Hafai,
Confirming that works, unbelievably. A group_vars/all.yml next to
playbooks, as you say, is evaluated as well as in the inner group_vars.
I'm warming to the idea of writing a vars plugin that is essentially just a
pointer to a file somewhere. Advantage is that the target could be
Given a need to launch multiple cloud resources via local action, such as
the below, is there a way to parallelize the execution of the task?
I think I'm looking for something like `--forks n`, except this is
different in that there is only one host (localhost) involved in the play.
---
-
Hi,
You should use with_subelements like:
- name: remove unmanaged
file:
path: ...
state: absent
with_subelements:
- found.results
- stdout_lines
when: item.1 not in configuration_files
Thanks.
2015年6月24日水曜日 18時26分26秒 UTC+9 Nico K.:
Hi,
I'm looping over a set of
Given a need to provision 2+ instances of a cloud resource, such as the
below, is there a way to provision them in parallel?
---
- hosts: localhost
connection: local
tasks:
- local_action:
module: rds
name: {{ item.name }}
...
with_items: rds_instances
--
mandatory is only needed if error_on_undefined_vars=False (which was
the default long ago)
what version of ansible? os? python?
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from this group and stop receiving
lets make this a configuration option, this used to be the case and
many people asked for it to change into a warning, as default
localhost entry meant you always have an inventory.
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
Ansible Project
scratch that ... this is different, i was referring to empty
inventories, this is about plays not matching any host.
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from this group and stop receiving emails
I think you want this:
server:
{{hostvars.localhost.rax_nfs.results[0].success[0].rax_addresses[network_label][0].addr}}
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from this group and stop receiving
you can use the groups variable directly in your template, as it is a
list, also you are stacking moustaches and that does not work!!!
no {{ {{ }} }} , you only need one set {{ }}, anything inside you do
not quote is var:
{% for server in groups['zookeepers'] %}
server.{{ hostvars[server][id]
yes, check the facts, there are several that indicate the virtualization type.
--
Brian Coca
--
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
These are not really ansible questions, they are really ssh setup questions.
i don't recommend copying private keys, I would either generate a new
one and add that to stash. You can have multiple per user, or just
create a readonly deployment user to do checkouts. Another option is
to forward
Problem with a vars plugin is that you'll have to specify it in each
playbook. New idea: you could put another inventory script in your dir that
evaluates your common file.
On Fri, Jun 26, 2015, 02:25 ddffgpmfn t...@aioue.net wrote:
Thanks Hafai,
Confirming that works, unbelievably. A
Hi,
we are using Ansible 1.8.2, and we stumbled upon a problem after copying
and unarchiving a (large) file:
failed: [myhost.com] = {failed: true}
msg: Failed to find handler to unarchive. Make sure the required command to
extract the file is installed.
msg: Failed to find handler to
What is the scope to which |mandatory applies? It seems that debug is not
one of them:
vars:
vi_tenant: {{ tenant | mandatory }}
vi_plants: {{ plants | mandatory }}
status: |
Provisioning tenant security:
env {{env}}
tenant {{vi_tenant}}
33 matches
Mail list logo