Ansible v1.9.4
I have a playbook that I launch with:
$ ansible-playbook build.yml
build.yml includes set_os.yml (just a set of tasks) that launches some ec2
instances. build.yml looks like this.
- name: Build stuff
hosts: localhost
remote_user: ec2-user
sudo: False
gather_facts: False
Since build_soft.yml is a full playbook and not just a list of tasks, like
set_os.yml, the include shouldn't be indented to the same level. Try
de-denting the build_soft.yml as far left as possible, and it should behave
as expected.
-Tim
On Thu, Nov 19, 2015 at 6:58 PM, Slim Slam
Hi all, for those not at AnsibleFest we have officially release the first
release candidate for Ansible 2.0!
For details and background, please see the original beta announcement here:
https://groups.google.com/d/msg/ansible-project/_hTjEIpbA_Y/GtllImCkCQAJ
How do you get it?
I think the short answer is that you don't. Ansible has a setting that will
allow you to merge dictionaries together, but not lists. This setting is
global and applies to all dicts. I'm guessing it doesn't merge lists
because there's no way to indicate if your intent is to merge the list or
Awesome that worked, thanks for the help.
Steven
On Thursday, November 19, 2015 at 6:00:05 AM UTC-8, Dick Davies wrote:
>
> split 'Copy MySQL Database' into two separate tasks, with one action each.
>
> On 18 November 2015 at 22:01, Steven Parsons > wrote:
>
>> I am
Try
- set_fact: locked_domains="{{ locked_domains }}item.ID"
Also using with_dict might be better option instead of with_items in this case.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving
Try this way:
when: 'jboss.server' in jboss_java_process.stdout
--
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
split 'Copy MySQL Database' into two separate tasks, with one action each.
On 18 November 2015 at 22:01, Steven Parsons
wrote:
> I am wondering if anyone has copied a MySQL database from a location and
> then restored it locally using Ansible? I thought I had it
H All,
I have a piece of code which is required to run by many roles.
Instead of duplicating these tasks which brings maintenance problem as it
grows, I would like somehow to re-use same set of tasks across many roles
and define them just in one place.
Is there any way to achieve this?
Hi Brian - thanks for the reply.
I had found from_jsonbut then I realized that the uri module is
actually putting stuff into an attribute of registered_variable called
registered_variable.json.
I did solve my problem, thoughit was a bonehead YAML syntax issue with
the indents of my
Hello, I use Zabbix heavily to monitor networks, so I'm loving the
zabbix-related extras modules.
I am using the zabbix_screens
module: http://docs.ansible.com/ansible/zabbix_screen_module.html and it's
quite straightforward and helpful.
However, I added one graph for each of a group
11 matches
Mail list logo