]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
format nicely the args in cli.yml
authorAlfredo Deza <adeza@redhat.com>
Tue, 30 Jun 2015 20:36:05 +0000 (16:36 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 30 Jun 2015 20:36:05 +0000 (16:36 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ansible/master/ansible-jenkins/tasks/cli.yml

index 86c197c66f1ec1bb1c410944fdb57f807da34619..bb492b8dfe7d41e7d9807d25f17167c1e8e7e750 100644 (file)
@@ -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