Fixed mode for systemd units
							parent
							
								
									0e45384307
								
							
						
					
					
						commit
						96a780d734
					
				| 
						 | 
				
			
			@ -21,13 +21,13 @@
 | 
			
		|||
  template:
 | 
			
		||||
    src: systemd/system/ninjabot.service.j2
 | 
			
		||||
    dest: /etc/systemd/system/ninjabot.service
 | 
			
		||||
    mode: 0755
 | 
			
		||||
    mode: 0644
 | 
			
		||||
 | 
			
		||||
- name: Deploy NinjaBot webhook systemd unit
 | 
			
		||||
  template:
 | 
			
		||||
    src: systemd/system/ninjabot-webhook.service.j2
 | 
			
		||||
    dest: /etc/systemd/system/ninjabot-webhook.service
 | 
			
		||||
    mode: 0755
 | 
			
		||||
    mode: 0644
 | 
			
		||||
 | 
			
		||||
- name: Load and activate NinjaBot service
 | 
			
		||||
  systemd:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,7 @@
 | 
			
		|||
  template:
 | 
			
		||||
    src: "systemd/system/home.mount.j2"
 | 
			
		||||
    dest: "/etc/systemd/system/home-{{ item }}.mount"
 | 
			
		||||
    mode: 0755
 | 
			
		||||
    mode: 0644
 | 
			
		||||
  loop:
 | 
			
		||||
    - a
 | 
			
		||||
    - b
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue