From 7344502d02a89d2595f2348c960c47da64369c98 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 4 Mar 2014 18:49:00 +0000 Subject: [PATCH] Also update the is_fedora use --- playbooks/groups/jenkins-cloud.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/playbooks/groups/jenkins-cloud.yml b/playbooks/groups/jenkins-cloud.yml index fcc359f31c..3d734a751f 100644 --- a/playbooks/groups/jenkins-cloud.yml +++ b/playbooks/groups/jenkins-cloud.yml @@ -387,23 +387,23 @@ - packages - name: drop current android SDK - when: is_fedora == 'True' + when: is_fedora is defined action: file state=absent path=/var/android - name: mkdir dir for android SDK - when: is_fedora == 'True' + when: is_fedora is defined action: file state=directory path=/var/android owner=jenkins_slave group=jenkins_slave - name: copy android SDK - when: is_fedora == 'True' + when: is_fedora is defined action: copy src="{{ bigfiles }}/jenkins/android-sdk-with-platform-17.tar.gz" dest=/var/android/ owner=jenkins_slave group=jenkins_slave - name: extract android SDK - when: is_fedora == 'True' + when: is_fedora is defined command: tar -xvf /var/android/android-sdk-with-platform-17.tar.gz --owner=jenkins_slave --group=jenkins_slave -C /var/android/ - name: delete sdk archive - when: is_fedora == 'True' + when: is_fedora is defined action: file state=absent path=/var/android/android-sdk-with-platform-17.tar.gz - name: set the hostname to jenkins-osversion