Add WSL playbook to run Unix and Windows
This commit is contained in:
		
							parent
							
								
									f4bcbbbe09
								
							
						
					
					
						commit
						01c1ca74a3
					
				@ -15,3 +15,6 @@
 | 
			
		||||
    - role: llvm
 | 
			
		||||
    - role: nodejs
 | 
			
		||||
    - role: python
 | 
			
		||||
 | 
			
		||||
    - role: wsl
 | 
			
		||||
      when: '"WSL" in ansible_kernel'
 | 
			
		||||
							
								
								
									
										3
									
								
								WSL.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								WSL.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
---
 | 
			
		||||
- import_playbook: Unix.yaml
 | 
			
		||||
- import_playbook: Windows.yaml
 | 
			
		||||
							
								
								
									
										10
									
								
								Windows.yaml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Windows.yaml
									
									
									
									
									
								
							@ -1,14 +1,4 @@
 | 
			
		||||
---
 | 
			
		||||
- 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:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user