Browse Source
On slow systems, it's possible that systemd takes more time than usual to execute a task from Ansible (e.g. service restart); so Ansible doesn't have yet the registered facts from systemd. To make sure that Ansible doesn't fail with: dict object' has no attribute 'status' We first check if status is defined. Change-Id: Ie73cecc115c87fe452a90892755a1df5b3d894a7 Closes-Bug: #1877449changes/77/726277/1
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue