We have a template to create ifcfg files with the following partial
snippet: (second line commented out for test with 2.1)
HWADDR={{ ansible_wlp2s0.macaddress }}
{#HWADDR={{ hostvars[inventory_hostname]['ansible_' +
xsce_wireless_lan_iface|trim]['macaddress'] ]] #}
In ansible version 1.9 both
On 03. sep. 2016 19:27, Jon Langemak wrote:
I want to be able to run a task only when I pass a tag to the playbook.
Namely, I want to have a tag that allows for decoming a user and one would
normally never run that as part of normal playbook run.
To my knowledge this is not possible to do with
On 03. sep. 2016 23:15, Tony Owens wrote:
In my yml I have this defined.
1. - name: "pull image to force update if ImageTag=latest"
2. shell: "docker pull {{ image }}"
3. when: "{{ ImageTag == latest }}"
but I get this error when executing. I know that I could use ignore_errors
but th
In my yml I have this defined.
1. - name: "pull image to force update if ImageTag=latest"
2. shell: "docker pull {{ image }}"
3. when: "{{ ImageTag == latest }}"
but I get this error when executing. I know that I could use ignore_errors
but that doesn't seem like the right thing to d
I managed to implement this thanks to this stack overflow post:
http://stackoverflow.com/questions/39300734/how-can-i-configure-an-all-or-nothing-ansible-playbook?answertab=votes#tab-top
I hope it helps.
Kind regards,
AS
El viernes, 2 de septiembre de 2016, 17:38:45 (UTC-3), Amir Samary escribió
Hi,
Anyone know when we will get ec2 alb module or where I should look to see
whats in the pipeline?
I tried to find aws cli for managing ec2 alb but its not available either.
Wanted to use these for rolling release in ansible as we are moving from
elb to alb.
Thanks
Kevin
--
You received
Hi
I have means to generate a variables file which will look like:
---
pools:
name1:
x: ['1','1','1','1','2','2','2','2','3','3','3']
y: ['0','0','0','0','0','0','0','0','0','0','0']
z: ['1','2','3','4','1','2','3','4','1','2','3']
name2:
x: ['1','1','1','1','2','2','2','2','3
Hi,
Initially my playbook stuck at setup stage for a specific server.
Upon running ansible - -m setup , the process also stuck.
I have set the environment variable ANSIBLE_KEEP_REMOTE_FILES=1 then trying
again, and still stuck.
In the target server, I went to the folder
/root/.ansible/tm
I want to be able to run a task only when I pass a tag to the playbook.
Namely, I want to have a tag that allows for decoming a user and one would
normally never run that as part of normal playbook run.
I found the conditional 'what: tags is defined' but it doesnt seem to work.
My task look
Hi Amir,
Have you taken a look at
http://docs.ansible.com/ansible/playbooks_error_handling.html#aborting-the-play?
I haven't used it myself, but i think the any_errors_fatal play option may
be what you need?
matt
On Fri, Sep 2, 2016 at 5:21 PM, Amir Samary wrote:
> Hi everyone!
>
> I have a bu
--
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, send email to ansible-project@googlegrou
11 matches
Mail list logo