First release
This commit is contained in:
		
							
								
								
									
										26
									
								
								tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
- name: Vikunja | Install package
 | 
			
		||||
  package:
 | 
			
		||||
    name:
 | 
			
		||||
      - vikunja-api-bin
 | 
			
		||||
      - vikunja-frontend
 | 
			
		||||
    state: present
 | 
			
		||||
 | 
			
		||||
- name: Vikunja | Deploy config
 | 
			
		||||
  template:
 | 
			
		||||
    src: config.yml.j2
 | 
			
		||||
    dest: /etc/vikunja/config.yml
 | 
			
		||||
    mode: 0660
 | 
			
		||||
    owner: root
 | 
			
		||||
    group: vikunja
 | 
			
		||||
  notify: Vikunja | Restart
 | 
			
		||||
 | 
			
		||||
- name: Vikunja | Run handlers
 | 
			
		||||
  meta: flush_handlers
 | 
			
		||||
 | 
			
		||||
- name: Vikunja | Enable and start service
 | 
			
		||||
  service:
 | 
			
		||||
    name: vikunja
 | 
			
		||||
    state: started
 | 
			
		||||
    enabled: yes
 | 
			
		||||
		Reference in New Issue
	
	Block a user