From 7eac337be550e5855df00914b1d29652e2b4f7f4 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Thu, 27 Aug 2015 10:39:12 +0200 Subject: [PATCH] Removing the async fire-and-forget I am hitting some bug in current devel, using async will raise: 'The async task did not return valid JSON: No JSON object could be decoded' Will monitor and revert when this is fixed. --- roles/bootstrap_jjb/tasks/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/bootstrap_jjb/tasks/main.yml b/roles/bootstrap_jjb/tasks/main.yml index 793c775..857edc5 100644 --- a/roles/bootstrap_jjb/tasks/main.yml +++ b/roles/bootstrap_jjb/tasks/main.yml @@ -1,4 +1,7 @@ --- +- name: Run puppet agent to install Jenkins + puppet: + - name: Get JJB password from Puppetmaster Hiera command: hiera -c /etc/puppet/hiera.yaml jenkins_jobs_password environment=production delegate_to: "{{ groups['meta-infra_type_puppetmaster'][0] }}" @@ -18,5 +21,3 @@ - name: Trigger 'jenkins-jobs update' to populate Jenkins jobs command: jenkins-jobs update /etc/jenkins_jobs/config --delete-old - async: 3600 - poll: 0