Ensure debops host function apply to one host/group
This commit is contained in:
		
							parent
							
								
									7efbbd271d
								
							
						
					
					
						commit
						447675b01a
					
				
							
								
								
									
										6
									
								
								zshrc
								
								
								
								
							
							
						
						
									
										6
									
								
								zshrc
								
								
								
								
							|  | @ -316,7 +316,11 @@ function tasec() { | |||
| alias deal="debops" | ||||
| ## Limit to a define host/group | ||||
| function deho() { | ||||
| 	debops -l "${ANS_HOST}" | ||||
| 	if [ ${ANS_HOST} ]; then | ||||
| 		debops -l "${ANS_HOST}" | ||||
| 	else | ||||
| 		printf '%b' "${MAGENTA}ANS_HOST${RESET} vars is ${REDB}not${RESET} define !\n" | ||||
| 	fi | ||||
| } | ||||
| ## Limit to a define host/group and to a role | ||||
| function dero() { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue