mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Update ansible-2.5.x
This commit is contained in:
		
							parent
							
								
									96f113059c
								
							
						
					
					
						commit
						1e15836af6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -63,7 +63,7 @@ else
 | 
				
			||||||
    #if [[ `grep -qi ansible /etc/apt/sources.list` ]] || [ -f /etc/apt/sources.list.d/ansible*.list ]; then
 | 
					    #if [[ `grep -qi ansible /etc/apt/sources.list` ]] || [ -f /etc/apt/sources.list.d/ansible*.list ]; then
 | 
				
			||||||
    elif (grep -qi ansible /etc/apt/sources.list) || (ls /etc/apt/sources.list.d/*ansible*.list >/dev/null 2>&1) ; then
 | 
					    elif (grep -qi ansible /etc/apt/sources.list) || (ls /etc/apt/sources.list.d/*ansible*.list >/dev/null 2>&1) ; then
 | 
				
			||||||
        #echo "Ansible repo(s) found within /etc/apt/sources.list*"
 | 
					        #echo "Ansible repo(s) found within /etc/apt/sources.list*"
 | 
				
			||||||
        echo -e '\nMANUAL INTERVENTION REQUIRED: ANSIBLE REPO(S) FOUND WITHIN /etc/apt/sources.list AND/OR /etc/apt/sources.list.d/*ansible*.list -- MUST CONTAIN LINE "deb http://ppa.launchpad.net/ansible/ansible-2.5/ubuntu xenial main" IF YOU WANT THE LATEST ANSIBLE 2.5.x -- AND REMOVE ALL SIMILAR LINES -- then re-run this script.\n'
 | 
					        echo -e '\nMANUAL INTERVENTION URGED: ANSIBLE REPO(S) FOUND WITHIN /etc/apt/sources.list AND/OR /etc/apt/sources.list.d/*ansible*.list -- MUST CONTAIN LINE "deb http://ppa.launchpad.net/ansible/ansible-2.5/ubuntu xenial main" IF YOU WANT THE LATEST ANSIBLE 2.5.x -- AND REMOVE ALL SIMILAR LINES -- then re-run this script.\n'
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
        echo "Upstream ansible source repo not found, please uninstall ansible and re-run this script"
 | 
					        echo "Upstream ansible source repo not found, please uninstall ansible and re-run this script"
 | 
				
			||||||
        exit 1
 | 
					        exit 1
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue