Remove spaces within {{}}, no comments
This commit is contained in:
parent
02c27deaa8
commit
020445465c
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
# --extra-vars="target='host1;host2' package='python-t*' testing=True"
|
||||
|
||||
- name: push packages out
|
||||
hosts: "{{ target }}"
|
||||
hosts: "{{target}}"
|
||||
user: root
|
||||
|
||||
vars:
|
||||
|
@ -19,5 +19,5 @@
|
|||
command: yum clean all {% if testing %} --enablerepo=infrastructure-testing {% endif %}
|
||||
always_run: yes
|
||||
|
||||
- name: yum update {{ package }} {% if testing %}(with infrastructure-testing on){% endif %}
|
||||
yum: name={{ package }} state=latest {% if testing %}enablerepo=infrastructure-testing{% endif %}
|
||||
- name: yum update {{package}} {% if testing %}(with infrastructure-testing on){% endif %}
|
||||
yum: name={{package}} state=latest {% if testing %}enablerepo=infrastructure-testing{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue