From: Alfredo Deza Date: Tue, 30 Jun 2015 20:36:05 +0000 (-0400) Subject: format nicely the args in cli.yml X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1e3acd580ffe07927f4836e30a70b57dd967ca99;p=ceph-build.git format nicely the args in cli.yml Signed-off-by: Alfredo Deza --- diff --git a/ansible/master/ansible-jenkins/tasks/cli.yml b/ansible/master/ansible-jenkins/tasks/cli.yml index 86c197c6..bb492b8d 100644 --- a/ansible/master/ansible-jenkins/tasks/cli.yml +++ b/ansible/master/ansible-jenkins/tasks/cli.yml @@ -1,21 +1,34 @@ --- # Handle plugins - name: "{{ startup_delay_s | default(10) }}s delay while starting Jenkins" - wait_for: host=localhost port={{ port }} delay={{ startup_delay_s | default(10) }} + wait_for: + host: localhost + port: {{ port }} + delay: {{ startup_delay_s | default(10) }} when: jenkins_install.changed or config_changed.changed - name: "Create Jenkins CLI destination directory: {{ jenkins_dest }}" - file: path={{ jenkins_dest }} state=directory + file: + path: {{ jenkins_dest }} + state: directory - name: Get Jenkins CLI - get_url: url=http://localhost:{{ port }}/jnlpJars/jenkins-cli.jar dest={{ jenkins.cli_dest }} mode=0440 + get_url: + url: http://localhost:{{ port }}/jnlpJars/jenkins-cli.jar + dest: {{ jenkins.cli_dest }} + mode: 0440 register: jenkins_local_cli until: "'OK' in jenkins_local_cli.msg or 'file already exists' in jenkins_local_cli.msg" retries: 5 delay: 10 - name: Get Jenkins updates - get_url: url=http://updates.jenkins-ci.org/update-center.json dest={{ jenkins.updates_dest }} thirsty=yes mode=0440 timeout=30 + get_url: + url: http://updates.jenkins-ci.org/update-center.json + dest: {{ jenkins.updates_dest }} + thirsty: yes + mode: 0440 + timeout: 30 register: jenkins_updates - name: Update-center Jenkins