Hi all, 1.9.4 has been released, and is now available.
This release addresses several bugs, most notably those related to the yum
module (introduced in 1.9.3):
* Fixes a bug where yum state=latest would error if there were no updates
to install.
* Fixes a bug where yum state=latest did not work
I'm trying to add a new key to an existing dictionary but I'm having some
trouble. I have this set_fact task:
- set_fact:
ha.listeners.backends[item.key].servers="{{ groups[item.key] }}"
with_dict: ha.listeners.backends
It runs through without complaining, but when I debug the car there's
Thanks David.
I think it would be a nice feature.
Right now I suppose that I could just run ansible-playbook from within the
ansible playbook which would run the "
*/this/file/does/not/exist/yet/configure.yml*" playbook. It should work,
shouldn't it? But it even sound so awfull ! ;-)
El jueves,
That's unusual. For non-wan connections we are usually looking at max 3
seconds for the setup module. What happens when you set up a psremoting
session from a windows computer to the same nodes, hows performance?
On Friday, October 9, 2015 at 6:50:56 PM UTC+2, Brian Coca wrote:
>
> there is no
Hello Brian,
Thank you.
On Fri, Oct 9, 2015 at 3:33 PM Brian Coca wrote:
> validate checks the file BEFORE putting it into place, since you are
> using a multifile configuration, the validation will always fail as it
> is missing the rest of the apache config.
>
>
> validate
All servers are local in this building. Will look at increasing forks even
more than we already have, though limited in what we can do until 2.0 is
released and allows for per task serial values.
On Fri, Oct 9, 2015 at 12:02 PM Trond Hindenes wrote:
> There's no getting
There's no getting around the fact that winrm is a much slower protocol
than ssh. Those numbers seem unreasonably high tho. Any chance you're using
a local ansible control node against cloud-based windows servers?
You could also consider speeding up your playbooks using the "forks"
Hi!
I would like to run a role something like
- name: debug role
debug: msg="{{ hostvars[item].ansible_host }}"
with_items: groups[ {{ALLOWED_HOSTS_GROUP}} ]
however the syntax groups[ {{ALLOWED_HOSTS_GROUP}} ] is not accepted.
Is there any other way to pass a group name from a variable
Brian,
This is incredibly useful info and could be helpful to add to the official
documentation.
Similar to the play_hosts variable, is there something like a "play_roles"
variable that is an ordered list of roles for the current play? I'd like
to be able to trigger certain behavior
you can already set plugins paths in ansible.cfg, as for
group/host_vars they are also relative to inventory, which I guess you
share across plays, so it all can already be organized 'globally'
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
there is no plan to allow per task serial, it is not a feature in 2.0.
you can easily add a play in the middle of a playbook for such tasks
that need a change in the 'serial' setting
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project"
with_items: "{{ groups[ALLOWED_HOSTS_GROUP] }}"
--
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
Hey folks,
Is anyone aware of a module that can be used to release floating ip
addresses allocated to a project? There is an os_floating_ip module, but it
only looks like it handles attaching and detaching them. I specifically
want to release one if it was allocated to my project.
Thanks,
tim
I have the same issue. I use a gce_module of ansible which uses
apache-libcloud. When I try to run a google instance, I get an error -
failed: [localhost] => {"changed": false, "failed": true} msg: Unexpected
response: {}
What can possibly cause it?
On Saturday, January 24, 2015 at 9:59:50
A few of our windows hosts take 20-30 seconds to gather facts, and that's
the good news. The other hosts take > 1 minute just to gather facts.
When run with -, it appears to me that every winrm step just takes a
long time.
Has anyone run into this? Suggestions? Adding each windows host
Hello All,
I have tried with single configuration this time but it didn't work still.
I get the part it checks before but in my case I was not even using it.
it's part of a include file task that would get skipped anyway. So am not
too sure how to make this compatible with my
Hi,
It seems this bug reappear in 1.9.3:
- name: restart php5-fpm
service: name=php5-fpm state=restarted
does not works anymore, again, I need it to temporary fix with:
# - name: restart PHP-FPM
# service: name=php5-fpm state=restarted
- name: restart php-fpm
command: service php5-fpm
Veera,
I got your request for an example off-list, but thought I'd post it here:
---
- hosts: all
gather_facts: true
# sudo: yes
tasks:
- nagios: action=downtime minutes=5 author="Dimitri Yioulos"
service=host host={{item}}
with_items: "{{ groups['test'] }}"
delegate_to:
Yes, this appears to be similar to the bug SVG pointed out, which I've
tracked down to being related to the way python queues use pickle to
serialize dictionary data (the resulting size of the data can be 200x than
it was in the dictionary before). I'm currently working on a solution to
this, and
Correct, this is not possible with playbook-level includes, however you
could do it with task-level includes in 2.0.
James Cammarata
Director, Ansible Core Engineering
github: jimi-c
On Fri, Oct 9, 2015 at 3:46 AM, Dan C wrote:
> Thanks David.
> I think it would be a nice
Enter code here...
---
- hosts: all
remote_user: root
serial: 20
tasks:
- name: Install nscd
yum: pkg=nscd state=latest disable_gpg_check=no
- name: Transfer the conf file
copy: src=files/etc/nscd.conf dest=/etc/nscd.conf mode=0644 backup=yes
- name: Configure service...
Ok,
On the RHEL 7 host my versions are as follows:
1. ansible =ansible 1.9.3
2. PythoPython = 2.7.5
On the RHEL 6 host my versions are as follows:
1. ansible = ansible 1.9.2
2. Python = Python 2.6.6
I will report back once I can start monitoring malloc.
--
You received this
I have the same issues trying to manage a ton of playbooks that all use the
same resources (which is how I stumbled upon this). However, after reading
the comments, I think I better understand where Ansible is coming from.
(people who know I'm sure will correct me if I'm wrong)
It seems as
can you show the play that is producing this issue? Plenty of people
use the yum module with those versions and do not report such an
issue.
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group
In my experience, OOM's happen when the inventory is large, especially when
having lots of variables in the inventory, combined with lots (several
hundreds) of hosts.
Not very scientific, but to get a rough idea on the size of your inventory,
could you show the output of
$ time (ansible all -m
Hello Guys,
I am sure this is a little issue many of you have already solve but I seem
stuck about this rc:1 error:AH00534: apache2: Configuration error: No MPM
loaded when I use validate in tempate module of my apache role.
Everything works file when commented out. Looks like so many fix on
validate checks the file BEFORE putting it into place, since you are
using a multifile configuration, the validation will always fail as it
is missing the rest of the apache config.
validate is only useful with single file configurations
--
Brian Coca
--
You received this message because you
27 matches
Mail list logo