added vim scripts
This commit is contained in:
		
							parent
							
								
									48abdc5f6b
								
							
						
					
					
						commit
						7505a6e336
					
				| @ -8,3 +8,6 @@ | ||||
|     - name: Include the rpi_watchdog role | ||||
|       include_role: | ||||
|         name: rpi_watchdog | ||||
|     - name: Include configure_vim role | ||||
|       include_role: | ||||
|         name: configure_vim | ||||
|  | ||||
							
								
								
									
										21
									
								
								roles/configure_vim/tasks/main.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								roles/configure_vim/tasks/main.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,21 @@ | ||||
| --- | ||||
| - name: Performing APT cache update | ||||
|   ansible.builtin.apt: | ||||
|     upgrade: no | ||||
|     update_cache: yes | ||||
|     cache_valid_time: 86400 | ||||
|   become: true | ||||
|   become_method: sudo | ||||
| 
 | ||||
| - name: Install vim | ||||
|   ansible.builtin.package: | ||||
|     name: | ||||
|       - vim | ||||
|     state: latest | ||||
|   become: true | ||||
|   become_method: sudo | ||||
| 
 | ||||
| - name: Download vim config from aperture (current user) | ||||
|   ansible.builtin.get_url: | ||||
|     dest: ~/.vimrc | ||||
|     url: https://aperture.dismyserver.net/.vimrc | ||||
| @ -1,9 +1,9 @@ | ||||
| --- | ||||
| # Model script | ||||
| - name: Confirm directory structure | ||||
|   ansible.builtin.file: | ||||
|     path: /home/pi/bin | ||||
|     state: directory | ||||
| # Model script | ||||
| - name: Ensure raspberry pi model script is present | ||||
|   ansible.builtin.copy: | ||||
|     src: rpi-model.sh | ||||
| @ -11,10 +11,6 @@ | ||||
|     mode: '0755' | ||||
|     force: yes | ||||
| # Temperature script | ||||
| - name: Confirm directory structure | ||||
|   ansible.builtin.file: | ||||
|     path: /home/pi/bin | ||||
|     state: directory | ||||
| - name: Ensure raspberry pi temp script is present | ||||
|   ansible.builtin.copy: | ||||
|     src: rpi-temp.sh | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 WhatTheMike
						WhatTheMike