Provide dev-tools with APT on Debian targets only, with privilege escalation
This commit is contained in:
		
							parent
							
								
									b0333049d5
								
							
						
					
					
						commit
						cec0d7cd8c
					
				
					 1 changed files with 34 additions and 31 deletions
				
			
		|  | @ -1,6 +1,7 @@ | ||||||
| --- | --- | ||||||
| # tasks file for jotbe.dev-tools | # tasks file for jotbe.dev-tools | ||||||
| 
 | - name: Provide dev-tools | ||||||
|  |   block: | ||||||
|   - name: Add key for Sublime Text repo |   - name: Add key for Sublime Text repo | ||||||
|     apt_key: |     apt_key: | ||||||
|       url: https://download.sublimetext.com/sublimehq-pub.gpg |       url: https://download.sublimetext.com/sublimehq-pub.gpg | ||||||
|  | @ -37,3 +38,5 @@ | ||||||
|       pkg: |       pkg: | ||||||
|         - codium |         - codium | ||||||
|     register: vscodium_installed |     register: vscodium_installed | ||||||
|  |   when: ansible_facts['os_family'] == 'Debian' | ||||||
|  |   become: yes | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue