All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			506 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			506 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| # Obvious race condition here that we are just going to ignore
 | |
| - name: Copy Nix installation script
 | |
|   become: true
 | |
|   ansible.builtin.copy:
 | |
|     src: install-nix
 | |
|     dest: /etc/pbri/install-nix
 | |
|     owner: "{{ ansible_user }}"
 | |
|     group: "{{ ansible_user }}"
 | |
|     mode: "0755"
 | |
| # --daemon: multi-user installation
 | |
| # < /dev/null: Stops the script asking for permission
 | |
| - name: Run Nix installation script
 | |
|   ansible.builtin.shell:
 | |
|     cmd: /etc/pbri/install-nix --daemon < /dev/null
 | |
|   args:
 | |
|     creates: /nix
 |