mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	This commit is contained in:
		
							parent
							
								
									45ca0da8e6
								
							
						
					
					
						commit
						739e96d7d8
					
				
					 3 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -38,6 +38,7 @@ if [ ! `command -v ansible-playbook` ]; then   # "command -v" is POSIX compliant
 | 
			
		|||
    # elif UBUNTU MUST REMAIN ABOVE (as Ubuntu ALSO contains /etc/debian_version, which would trigger the line just below)
 | 
			
		||||
    elif [ -f /etc/debian_version ] || (grep -qi raspbian /etc/*elease) ; then
 | 
			
		||||
        if ( ! grep -qi ansible /etc/apt/sources.list) && [ ! -f /etc/apt/sources.list.d/ansible ]; then
 | 
			
		||||
            apt update
 | 
			
		||||
            apt -y install dirmngr python-pip python-setuptools python-wheel patch
 | 
			
		||||
            echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" \
 | 
			
		||||
                 >> /etc/apt/sources.list.d/iiab-ansible.list
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -39,6 +39,7 @@ if [ ! `command -v ansible-playbook` ]; then   # "command -v" is POSIX compliant
 | 
			
		|||
    # elif UBUNTU MUST REMAIN ABOVE (as Ubuntu ALSO contains /etc/debian_version, which would trigger the line just below)
 | 
			
		||||
    elif [ -f /etc/debian_version ] || (grep -qi raspbian /etc/*elease) ; then
 | 
			
		||||
        if ( ! grep -qi ansible /etc/apt/sources.list) && [ ! -f /etc/apt/sources.list.d/ansible ]; then
 | 
			
		||||
            apt update
 | 
			
		||||
            apt -y install dirmngr python-pip python-setuptools python-wheel patch
 | 
			
		||||
            #echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" \
 | 
			
		||||
            #     >> /etc/apt/sources.list.d/iiab-ansible.list
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,6 +38,7 @@ if [ ! `command -v ansible-playbook` ]; then   # "command -v" is POSIX compliant
 | 
			
		|||
    # elif UBUNTU MUST REMAIN ABOVE (as Ubuntu ALSO contains /etc/debian_version, which would trigger the line just below)
 | 
			
		||||
    elif [ -f /etc/debian_version ] || (grep -qi raspbian /etc/*elease) ; then
 | 
			
		||||
        if ( ! grep -qi ansible /etc/apt/sources.list) && [ ! -f /etc/apt/sources.list.d/ansible ]; then
 | 
			
		||||
            apt update
 | 
			
		||||
            apt -y install dirmngr python-pip python-setuptools python-wheel patch
 | 
			
		||||
            #echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" \
 | 
			
		||||
            #     >> /etc/apt/sources.list.d/iiab-ansible.list
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue