Explorar o código

Fix a typo in "Determine if growpart is installed"

Vadim Rutkovsky %!s(int64=7) %!d(string=hai) anos
pai
achega
1dc910c68f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      roles/openshift_expand_partition/tasks/main.yml

+ 1 - 1
roles/openshift_expand_partition/tasks/main.yml

@@ -8,7 +8,7 @@
 - name: Determine if growpart is installed
   command: "rpm -q cloud-utils-growpart"
   register: has_growpart
-  failed_when: has_growpart.cr != 0 and 'package cloud-utils-growpart is not installed' not in has_growpart.stdout
+  failed_when: has_growpart.rc != 0 and 'package cloud-utils-growpart is not installed' not in has_growpart.stdout
   changed_when: false
   when: openshift_is_containerized | bool