make the playbooks a tiny bit cleaner
This commit is contained in:
		
					parent
					
						
							
								9b27745f2e
							
						
					
				
			
			
				commit
				
					
						2f7d7b8ffd
					
				
			
		
					 2 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- hosts: 10.66.0.1
 | 
					- hosts: all
 | 
				
			||||||
  tasks:
 | 
					  tasks:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ### ALSA Config ###
 | 
					    ### ALSA Config ###
 | 
				
			||||||
| 
						 | 
					@ -87,15 +87,15 @@
 | 
				
			||||||
        state: present
 | 
					        state: present
 | 
				
			||||||
        update_cache: true
 | 
					        update_cache: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: "Create directory for the repos (first delete it to make it empty)"
 | 
					    - name: "Remove repos that already exist"
 | 
				
			||||||
      ansible.builtin.file:
 | 
					      ansible.builtin.file:
 | 
				
			||||||
        path: "/opt/repos/"
 | 
					        path: "/opt/repos/{{ item }}"
 | 
				
			||||||
        state: "{{ item }}"
 | 
					        state: "absent"
 | 
				
			||||||
        owner: nobody
 | 
					        owner: nobody
 | 
				
			||||||
        group: nogroup
 | 
					        group: nogroup
 | 
				
			||||||
      loop:
 | 
					      loop:
 | 
				
			||||||
        - "absent"
 | 
					        - "tinyalsa"
 | 
				
			||||||
        - "directory"
 | 
					        - "q6voiced"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: "Clone tinyalsa repo"
 | 
					    - name: "Clone tinyalsa repo"
 | 
				
			||||||
      ansible.builtin.git:
 | 
					      ansible.builtin.git:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- hosts: 10.66.0.1,
 | 
					- hosts: all,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  tasks:
 | 
					  tasks:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue