22 lines
		
	
	
		
			619 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			619 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| - name: Proxmox maintenance
 | |
|   hosts: proxmox
 | |
|   tasks:
 | |
|     - name: Ensuring login-check is present
 | |
|       ansible.builtin.copy:
 | |
|         src: /home/michael/ansible/files/prox-login-check.sh
 | |
|         dest: /root/prox-login-check
 | |
|         mode: "0755"
 | |
| 
 | |
|     - name: Ensuring login-check is configured to run on login
 | |
|       ansible.builtin.lineinfile:
 | |
|         state: present
 | |
|         insertafter: "EOF"
 | |
|         line: "/root/prox-login-check"
 | |
|         path: /root/.profile
 | |
| 
 | |
|     - name: Download vim config from aperture
 | |
|       ansible.builtin.get_url:
 | |
|         dest: ~/.vimrc
 | |
|         url: https://aperture.dismyserver.net/.vimrc
 | 
