Split up playbook to avoid win_git missing errors
This commit is contained in:
		
							parent
							
								
									3652b3c9cb
								
							
						
					
					
						commit
						6aca74ff3c
					
				
							
								
								
									
										20
									
								
								main.yaml
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								main.yaml
									
									
									
									
									
								
							| @ -1,20 +0,0 @@ | ||||
| --- | ||||
| - hosts: localhost | ||||
| 
 | ||||
|   roles: | ||||
|     - role: zsh | ||||
|     - role: tmux | ||||
|     - role: neovim | ||||
|     - role: git | ||||
|     - role: python | ||||
|     - role: wsl | ||||
|       when: '"WSL" in ansible_kernel' | ||||
| 
 | ||||
| - hosts: windows | ||||
| 
 | ||||
|   roles: | ||||
|     - role: neovim | ||||
|     - role: git | ||||
|     - role: python | ||||
|     - role: autohotkey | ||||
|     - role: 1password | ||||
							
								
								
									
										9
									
								
								unix.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								unix.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | ||||
| --- | ||||
| - hosts: localhost | ||||
| 
 | ||||
|   roles: | ||||
|     - role: zsh | ||||
|     - role: tmux | ||||
|     - role: neovim | ||||
|     - role: git | ||||
|     - role: python | ||||
							
								
								
									
										19
									
								
								windows.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								windows.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,19 @@ | ||||
| --- | ||||
| - import_playbook: unix.yaml | ||||
| 
 | ||||
| - hosts: localhost | ||||
| 
 | ||||
|   # FIXME: Roles which depend on the win_git module can't be in the same | ||||
|   # playbook on the first run because the wsl role hasn't added the win_git | ||||
|   # module to the modules path yet. | ||||
|   roles: | ||||
|     - role: wsl | ||||
| 
 | ||||
| - hosts: windows | ||||
| 
 | ||||
|   roles: | ||||
|     - role: neovim | ||||
|     - role: git | ||||
|     - role: python | ||||
|     - role: autohotkey | ||||
|     - role: 1password | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user