New debops aliases to avoid compute nodes
This commit is contained in:
		
							parent
							
								
									b82f0b7c95
								
							
						
					
					
						commit
						bcfc4c5bb9
					
				
							
								
								
									
										6
									
								
								zshrc
								
								
								
								
							
							
						
						
									
										6
									
								
								zshrc
								
								
								
								
							|  | @ -317,8 +317,8 @@ zstyle ':completion:*:*:task:*' group-name '' | |||
| # }}} | ||||
| 
 | ||||
| # DebOps {{{ | ||||
| ## Apply all config to all hosts | ||||
| alias deal="debops" | ||||
| ## Apply all config to all hosts except the new cluster nodes | ||||
| alias deal="debops -l 'debops_all_hosts:!physix'" | ||||
| ## Limit to a define host/group | ||||
| function deho() { | ||||
| 	if [ ${ANS_HOST} ]; then | ||||
|  | @ -331,6 +331,8 @@ function deho() { | |||
| function dero() { | ||||
| 	debops -l "${ANS_HOST}" -t role::"${1}" | ||||
| } | ||||
| ## Apply only on new cluster nodes | ||||
| alias decc="debops -l 'physix'" | ||||
| 
 | ||||
| # }}} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue