Ansible: download vim-plug from GitHub
Use get_url to download vim-plug/plug.vim from GitHub. Create a new eryn_vim_plug_tag variable to control which tag to download.
This commit is contained in:
		
							parent
							
								
									4bd546e649
								
							
						
					
					
						commit
						29fdc610bb
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								Ansible/roles/eryn/defaults/main.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								Ansible/roles/eryn/defaults/main.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | |||
| --- | ||||
| eryn_vim_plug_tag: 0.14.0 | ||||
|  | @ -4,6 +4,12 @@ | |||
|     name: neovim | ||||
|     state: present | ||||
| 
 | ||||
| - name: "neovim : Download vim-plug from GitHub" | ||||
|   ansible.builtin.get_url: | ||||
|     url: "https://raw.githubusercontent.com/junegunn/vim-plug/{{ eryn_vim_plug_tag }}/plug.vim" | ||||
|     dest: "{{ ansible_local.xdg.data_home }}/nvim/site/autoload/plug.vim" | ||||
|     mode: "0644" | ||||
| 
 | ||||
| - name: "neovim : Symlink config" | ||||
|   ansible.builtin.include_tasks: symlink_dotfile_directory.yml | ||||
|   vars: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue