Prevent multiple service restarts
This commit is contained in:
		| @@ -45,8 +45,6 @@ | |||||||
|   notify: |   notify: | ||||||
|     - 'ensure_os_upgrade.package_facts' |     - 'ensure_os_upgrade.package_facts' | ||||||
|     - 'ensure_os_upgrade.service_facts' |     - 'ensure_os_upgrade.service_facts' | ||||||
| - name: 'flush handlers' |  | ||||||
|   meta: 'flush_handlers' |  | ||||||
| - name: 'ensure services' | - name: 'ensure services' | ||||||
|   when: |   when: | ||||||
|     - ansible_system == 'Linux' |     - ansible_system == 'Linux' | ||||||
| @@ -63,8 +61,6 @@ | |||||||
|   notify: |   notify: | ||||||
|     - 'ensure_os_upgrade.package_facts' |     - 'ensure_os_upgrade.package_facts' | ||||||
|     - 'ensure_os_upgrade.service_facts' |     - 'ensure_os_upgrade.service_facts' | ||||||
| - name: 'flush handlers' |  | ||||||
|   meta: 'flush_handlers' |  | ||||||
| - name: 'Ensure system-upgrade download' | - name: 'Ensure system-upgrade download' | ||||||
|   when: |   when: | ||||||
|     - ansible_system == 'Linux' |     - ansible_system == 'Linux' | ||||||
| @@ -115,3 +111,4 @@ | |||||||
|     - 'ensure_os_upgrade.service_facts' |     - 'ensure_os_upgrade.service_facts' | ||||||
| - name: 'flush handlers' | - name: 'flush handlers' | ||||||
|   meta: 'flush_handlers' |   meta: 'flush_handlers' | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user