Will this work?
environment:
http_proxy: "{{ apt_mirror }}"
when: use_apt_mirror
So, I only want to set the environment variable when the var
"use_apt_mirror" is true. There is no obvious documentation to suggest that
this won't work.
--
You received this message because you are
Hi all
I have an interesting situation which I think the very clever people here
could probably help me with.
Our use case for ansible:
- We use ansible pull which runs a local connection. It allows us to scale
nicely without the need for a master host.
- ansible pull is set in a cron job
Sounds simple, but it isn't.
I want to create a variable called instance_role which is set to the
aws:autoscaling:groupName
on the instance.
However, there is a formatting problem as the colons are used by Jinja and
I can't figure out how to escape them.
The role:
---
- name: Get our
2015 09:16:48 UTC, Stephen Tan wrote:
Sounds simple, but it isn't.
I want to create a variable called instance_role which is set to the
aws:autoscaling:groupName
on the instance.
However, there is a formatting problem as the colons are used by Jinja and
I can't figure out how to escape
}}]
instance_type: {{ item.instance_type }}
instance_profile_name: standard-instance
user_data: {{ item.user_data }}
with_items: lc_list
On Monday, 16 March 2015 09:57:08 UTC, Stephen Tan wrote:
Hi all
Got a weird issue where I'm trying upload a bash script as user-data - via
2015 09:57:08 UTC, Stephen Tan wrote:
Hi all
Got a weird issue where I'm trying upload a bash script as user-data - via
the launch config module.
Any help regarding this is appreciated - even if it's a method of
debugging this - there are no errors which is why I'm confused.
I'm sucking
Hi all
Got a weird issue where I'm trying upload a bash script as user-data - via
the launch config module.
Any help regarding this is appreciated - even if it's a method of debugging
this - there are no errors which is why I'm confused.
I'm sucking in the user-data as a file which seems
Hi - I'm doing something which seems very simple - trying to create a file
from a jinja template.
Here are my vars:
export_root:
host: 81.187.209.128/27
options: rw,fsid=0,insecure,no_subtree_check,async
exports:
video:
host: 81.187.209.128/27
options:
Thank you for the response - I see - I'll test later - I am sure you are
correct.
thanks again
On Monday, 24 November 2014 14:47:18 UTC, Quentin Stafford-Fraser wrote:
Hi Stephen -
There may be some clever Jinja magic going on here, but if this were just
Python...
* exports, as you've
Thank you for the response - I see - I'll test later - I am sure you are
correct.
thanks again
On Monday, 24 November 2014 14:47:18 UTC, Quentin Stafford-Fraser wrote:
Hi Stephen -
There may be some clever Jinja magic going on here, but if this were just
Python...
* exports, as you've
10 matches
Mail list logo