Remove spaces within {{}}, no comments

This commit is contained in:
Pierre-Yves Chibon 2014-08-06 07:29:49 +02:00
parent 02c27deaa8
commit 020445465c

View file

@ -7,7 +7,7 @@
# --extra-vars="target='host1;host2' package='python-t*' testing=True" # --extra-vars="target='host1;host2' package='python-t*' testing=True"
- name: push packages out - name: push packages out
hosts: "{{ target }}" hosts: "{{target}}"
user: root user: root
vars: vars:
@ -19,5 +19,5 @@
command: yum clean all {% if testing %} --enablerepo=infrastructure-testing {% endif %} command: yum clean all {% if testing %} --enablerepo=infrastructure-testing {% endif %}
always_run: yes always_run: yes
- name: yum update {{ package }} {% if testing %}(with infrastructure-testing on){% endif %} - name: yum update {{package}} {% if testing %}(with infrastructure-testing on){% endif %}
yum: name={{ package }} state=latest {% if testing %}enablerepo=infrastructure-testing{% endif %} yum: name={{package}} state=latest {% if testing %}enablerepo=infrastructure-testing{% endif %}