f929aaefae
This commit adds checks for Glanec API and Registry workers Change-Id: I1aa4280158e8c85ae1e956bc9c4e46847830d2e1
13 lines
458 B
YAML
13 lines
458 B
YAML
- name: Glance API worker count
|
|
command: crudini --get /etc/glance/glance-api.conf DEFAULT workers
|
|
register: glance_api_workers
|
|
failed_when: glance_api_workers.rc == 1
|
|
changed_when: false
|
|
ignore_errors: true
|
|
- name: Glance Registry worker count
|
|
command: crudini --get /etc/glance/glance-registry.conf DEFAULT workers
|
|
register: glance_registry_workers
|
|
failed_when: glance_registry_workers.rc == 1
|
|
changed_when: false
|
|
ignore_errors: true
|