Hi List,
In a role that installs a mcafee antivirus scanner on linux (Don't ask why;
short answer: corporate policy made up by windows people) I have defined a
role dependency like so:
mmaas@xmgtansible:~/playbooks$ cat roles/mcafee/meta/main.yml
---
dependencies:
- { role: all_common }
Role all_common is evaluated, but contains no tasks with tag mcafee, so
nothing from this role is running. You should add tag to role dependency:
dependencies:
- { role: all_common, tags [ mcafee ] }
W dniu środa, 12 lutego 2014 10:54:38 UTC+1 użytkownik Mark Maas napisał:
Hi List,
In a
Hi
I've got a machine that needs to have remote_tmp set to
$HOME/.ansible/tmp. But this gives me issues with the rest of the boxes.
So the option in the config file says remote_tmp = /tmp.
I've tried to set the option on the inventory file for this host only:
commando
this is not currently configurable by host, just the ansible.cfg setting
and the environment variable ANSIBLE_REMOTE_TEMP.
--
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
Is there a way then to set this in a playbook at runtime?
On Wednesday, 12 February 2014 12:39:02 UTC, Brian Coca wrote:
this is not currently configurable by host, just the ansible.cfg setting
and the environment variable ANSIBLE_REMOTE_TEMP.
--
You received this message because you are
Hi,
I'm trying to mix dynamic static inventory, but I fall short having
these inventories cooperating with each other.
My playbook is supposed to :
- handle droplet creation on Digital Ocean
- provision each droplet
Because of this, I do not know target host IPs in advance, and I don't
want to
Not currently.
Patches to add it as an inventory variable would be accepted (just apply to
any group you need), but I'm not sure it really belongs as a playbook
keyword.
On Wed, Feb 12, 2014 at 7:53 AM, Makimoto Marakatti makim...@gmail.comwrote:
Is there a way then to set this in a playbook
On 12 February 2014 13:58, Michel Blanc m...@mbnet.fr wrote:
[backends:children]
web1.example.org
Now when I run `ansible all -i inventory/ --list-hosts` I get :
ERROR: child group is not defined: (web1.example.org)
files and scripts within an inventory are parsed separately from
On 12/02/2014 14:07, Serge van Ginderachter wrote:
files and scripts within an inventory are parsed separately from each
other, and only merged afterwards.
So at the time of the parsing of your hosts file, the parser doesn't
know yet about that group.
Just add an empty group definition:
Thanks James,
Do you happen to have a kind of release schedule anywhere?
I was trying to google it, all I could find is that 1.5 will be release in
March.
Also, are modules (in particular ec2*) get updated within minor releases
(1.4.x) or just only within major ones?
Thanks again!
Stan
On
Hello all,
I'm currently wrestling with creating DNS zonefiles when running a playbook
which uses tempates to set NS authority records based on the members of the
'dns' group.
Consider the template snippet:
{% for host in groups['dns-edge'] %}
{% if hostvars[host]['ansible_default_ipv4'] is
Hi all,
We do hotfix releases for major bugs only, and they do not include feature
updates.
Ansible 1.5 (the next full release) is currently targetted for
approximately the end of Feb, so that we can finish up ansible-vault, share
it, and get it well tested. We also want to mix in some more
You invoke ansible-playbook with the tags argument, incidentally selecting
only the tasks in the mcafee role. Invoke without tags and it should run
the all_common tasks as well.
On Wednesday, February 12, 2014 10:54:38 AM UTC+1, Mark Maas wrote:
Hi List,
In a role that installs a mcafee
There is not a way to do this currently.
On Tue, Feb 11, 2014 at 9:36 PM, Christopher O'Connell c...@fasttcp.comwrote:
Hello all,
I'm currently wrestling with creating DNS zonefiles when running a
playbook which uses tempates to set NS authority records based on the
members of the 'dns'
Ok. So what are my options here? I cannot be the only person with a
situation like this.
Diverging OS baseline installs is one of the reasons ansible is used after
all?
Is there not any workaround?
On Wednesday, 12 February 2014 12:57:54 UTC, Michael DeHaan wrote:
Not currently.
Patches to
There is not, which is not saying I'm unsympathetic.
Needing to specify remote temp is an infrequent thing, and not really a
common OS divergence thing most people run into anymore. Most folks just
pick a path that works, like $HOME/tmp.
I'm a bit curious why the $HOME related option didn't
What if the task for zone file templates is a in a later play where you
might limit the targeted hosts by an external variable you pass from the
ansible-playbook command, and run another prior play for all hosts that you
need in another play above it. not a clean solution, but will possibly work
Slight update -- it is just be the latter fix.
The other issue seems to be only on devel, which is good. Which also
explains why there was less shouting about it.
On Wed, Feb 12, 2014 at 11:46 AM, Michael DeHaan mich...@ansible.comwrote:
There's a bug on 1.4.5 that deals with handlers
Hi Michael,
Could you give me an example of how I could accomplish this using
parameterization? I basically just need to be able to have a role task call
multiple notifications which in 1.4.1 was just one notify call to the same
named handlers :) I tried specifying multiple notify's in the
This is what is available:
tasks:
- shell: foo {{ my_port }}
notify:
- some handler {{ my_port }}
handlers:
- name: some handler 22
shell: bar
- name: some handler 50
shell: baz
On Wed, Feb 12, 2014 at 12:43 PM, Jose Chavez
Hello ansible list,
Here's a quick question that I was trying to find an answer for. Maybe I am
missing the obvious but I can't find a way to control the output of the
item variable during a loop (with_items) while the playbook is running.
Example:
changed: [s1.server.com] =
I find this annoying too. +1 on my vote.
On 02/12/2014 12:55 PM, Rumen Telbizov wrote:
Hello ansible list,
Here's a quick question that I was trying to find an answer for. Maybe I
am missing the obvious but I can't find a way to control the output of
the item variable during a loop
Thanks Michael
On 12 February 2014 19:52, Michael DeHaan mich...@ansible.com wrote:
Slight update -- it is just be the latter fix.
The other issue seems to be only on devel, which is good. Which also
explains why there was less shouting about it.
On Wed, Feb 12, 2014 at 11:46 AM,
This came up for me in the past. I found setsid pretty helpful too
https://github.com/ansible/ansible/pull/4800
(note that #4800 never amounted to much as it caused too many other
problems, but the workaround still applies!)
Will
On Wednesday, February 12, 2014 4:58:42 AM UTC+10, Alain Sahli
I spent a fair amount of time writing up documentation for my role(s), only
to find that Galaxy doesn't like Markdown's table syntax.
For example this is how it looks on github:
https://github.com/basho/ansible-riak/blob/master/README.md
Unfortunately, when that is sucked into Galaxy, it
Hello,
When I run a command that asks for user input, Ansible 1.4.4 hangs without
any indication of what is going on. When I interrupt it with Ctrl-C, it
prints a stacktrace that also contains noindication of the root cause.
I have been running *command: /usr/bin/unzip /my-archive.zip*. I was
Whenever I try to deploy my app using ansible-playbook, it fails on start
app since it says ERROR (no such process).
Can't understand why this is happening. Anyone know good docs on this stuff
or know the answer?
--
You received this message because you are subscribed to the Google Groups
Using ANSIBLE_KEEP_REMOTE_FILES=1 as an environment variable when running
ansible with - is usually what I recommend.
After running ansible, log into the server and run the script from the task
that is hanging per the output of -
You can usually see what is going on then.
On Wednesday,
Not a whole lot of info to go on here...
Maybe you could provide us with you playbook?
I'm guessing that error is coming from supervisorctl. How are you running
supervisorctl? Using the provided module or some other way?
On Wednesday, February 12, 2014, Alex Chumbley chumbl...@gmail.com
Searching the mailing list for aix turns up a bunch of hits. Looks
like there is AIX support built into various key modules as well.
On Wed, Feb 12, 2014 at 8:49 AM, Bill King wjkin...@gmail.com wrote:
Has anybody used ansible on AIX?
--
You received this message because you are subscribed to
Ansible 1.4.5 is now available, and addresses a local security issue
involving fireball/accelerate keys, where those keys (and the directory
containing them) might be created with permissions that were too open if
the system had a permissive umask set by default. This issue affects
controlling
Yes, we can get this included in the next release.
On Wed, Feb 12, 2014 at 5:49 PM, James Martin jmar...@basho.com wrote:
I spent a fair amount of time writing up documentation for my role(s),
only to find that Galaxy doesn't like Markdown's table syntax.
For example this is how it looks on
soo ... when is 1.6 being released?
:-p
--
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group,
Sorry, here's some more information:
Playbook: deploy.yml
---
- hosts: webservers
user: ubuntu
sudo: True
vars:
app_name: app
repo_url: https://github.com/my_git/App.git
repo_remote: origin
repo_version: master
webapps_dir: /srv/webapps
wsgi_file: wsgi.py
On Wednesday, February 12, 2014 6:58:37 PM UTC-5, Alex Chumbley wrote:
Whenever I try to deploy my app using ansible-playbook, it fails on start
app since it says ERROR (no such process).
Can't understand why this is happening. Anyone know good docs on this
stuff or know the answer?
Almost there I think!
I changed it into:
---
dependencies:
- { role: all_common, tags: [ mcafee ] }
which resulted in:
mmaas@xmgtansible:~/playbooks$ ansible-playbook site.yml -l xmonopssla00
--tags=mcafee
sudo password:
Traceback (most recent call last):
File
We found we needed to mold AIX to accept a few things that should be there
anyway:
link /bin/md5sum with /bin/csum for instance. or the copy module won't work
Adding users works, but not with HACMP.
find at least python 2.6 and update sudo.
We are trying to get rid of this archaic remnant of
I finally solved it by using the script from the ansible
examples:
https://github.com/ansible/ansible-examples/blob/master/tomcat-standalone/roles/tomcat/files/tomcat-initscript.sh
On Thursday, February 13, 2014 12:48:22 AM UTC+1, Will Thames wrote:
This came up for me in the past. I found
38 matches
Mail list logo