Browse Source

Merge "Remove the unnecessary space"

Zuul 9 months ago
parent
commit
b7ecc18eb6
3 changed files with 7 additions and 7 deletions
  1. 3
    3
      tasks/install_offline.yml
  2. 2
    2
      tasks/install_online.yml
  3. 2
    2
      tasks/install_source.yml

+ 3
- 3
tasks/install_offline.yml View File

@@ -22,7 +22,7 @@
22 22
         force: "yes"
23 23
         validate_certs: "{{ pip_validate_certs }}"
24 24
       register: get_pip_local
25
-      until: get_pip_local  is success
25
+      until: get_pip_local is success
26 26
       retries: 5
27 27
       delay: 2
28 28
       run_once: yes
@@ -42,7 +42,7 @@
42 42
         validate_certs: "{{ pip_validate_certs }}"
43 43
       when: get_pip_local  is failed
44 44
       register: get_pip_local_fallback
45
-      until: get_pip_local_fallback  is success
45
+      until: get_pip_local_fallback is success
46 46
       retries: 5
47 47
       delay: 2
48 48
       run_once: yes
@@ -73,7 +73,7 @@
73 73
                    {{ pip_packages | map('quote') | join (' ') }}
74 74
   changed_when: pip_local_cache.stdout.find('Successfully downloaded') != -1
75 75
   register: pip_local_cache
76
-  until: pip_local_cache  is success
76
+  until: pip_local_cache is success
77 77
   retries: 3
78 78
   delay: 2
79 79
   notify:

+ 2
- 2
tasks/install_online.yml View File

@@ -21,7 +21,7 @@
21 21
         force: "{{ pip_get_pip_force | bool }}"
22 22
         validate_certs: "{{ pip_validate_certs }}"
23 23
       register: get_pip
24
-      until: get_pip  is success
24
+      until: get_pip is success
25 25
       retries: 5
26 26
       delay: 2
27 27
       tags:
@@ -36,7 +36,7 @@
36 36
         validate_certs: "{{ pip_validate_certs }}"
37 37
       when: get_pip  is failed
38 38
       register: get_pip_fallback
39
-      until: get_pip_fallback  is success
39
+      until: get_pip_fallback is success
40 40
       retries: 5
41 41
       delay: 2
42 42
       tags:

+ 2
- 2
tasks/install_source.yml View File

@@ -23,7 +23,7 @@
23 23
                                {{ pip_packages | map('quote') | join (' ') }}
24 24
       changed_when: pip_install.stdout.find('Successfully installed') != -1
25 25
       register: pip_install
26
-      until: pip_install  is success
26
+      until: pip_install is success
27 27
       retries: 3
28 28
       delay: 2
29 29
 
@@ -38,6 +38,6 @@
38 38
                                {{ pip_packages | map('quote') | join (' ') }}
39 39
       changed_when: pip_install_fall_back.stdout.find('Successfully installed') != -1
40 40
       register: pip_install_fall_back
41
-      until: pip_install_fall_back  is success
41
+      until: pip_install_fall_back is success
42 42
       retries: 3
43 43
       delay: 2

Loading…
Cancel
Save