Try this on conditionals.

This commit is contained in:
Kevin Fenzi 2014-01-25 18:04:45 +00:00
parent 9d77ed603e
commit 0542974bab
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@
- name: run netapp route
command: /etc/sysconfig/network-scripts/ifup-routes eth1
when: netapproute.stdout.find('10.5.88.0') != -1
when: netapproute.stdout.find("10.5.88.0") != -1
- name: nfs mount points
action: mount name=/mnt/fedora_koji src=vtap-fedora-nfs01.storage.phx2.redhat.com:/vol/fedora_koji fstype=nfs opts=ro,hard,bg,intr,noatime,nodev,nosuid passno=0 dump=0 state=mounted

View file

@ -9,7 +9,7 @@
- name: set kernel params for more loops
action: command /sbin/grubby --update-kernel=ALL --args=max_loop=64
when: max_loop.stdout.find('max_loop=64') != -1
when: max_loop.stdout.find("max_loop=64") != -1
- name: special pkgs for the x86_64 builders
yum: state=installed pkg={{ item }}