mirror of
				https://github.com/geerlingguy/ansible-role-docker.git
				synced 2025-11-01 01:19:32 +01:00 
			
		
		
		
	Make test detection of systemctl status slightly less strict for CentOS 7.
This commit is contained in:
		
							parent
							
								
									de20ffd533
								
							
						
					
					
						commit
						65269460ed
					
				@ -11,7 +11,9 @@
 | 
			
		||||
    - name: Wait for systemd to complete initialization. # noqa 303
 | 
			
		||||
      command: systemctl is-system-running
 | 
			
		||||
      register: systemctl_status
 | 
			
		||||
      until: "'running' in systemctl_status.stdout"
 | 
			
		||||
      until: >
 | 
			
		||||
        'running' in systemctl_status.stdout or
 | 
			
		||||
        'fuzz' in systemctl_status.stdout
 | 
			
		||||
      retries: 30
 | 
			
		||||
      delay: 5
 | 
			
		||||
      when: ansible_service_mgr == 'systemd'
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user