| 
														
															@@ -3,6 +3,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   ansible.builtin.set_fact: 
														 | 
														
														 | 
														
															   ansible.builtin.set_fact: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     olivetin: OliveTin_linux_amd64.{{ 'deb' if ansible_os_family == "Debian" else 'rpm' }} 
														 | 
														
														 | 
														
															     olivetin: OliveTin_linux_amd64.{{ 'deb' if ansible_os_family == "Debian" else 'rpm' }} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 - name: Check for existing OliveTin package 
														 | 
														
														 | 
														
															 - name: Check for existing OliveTin package 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   ansible.builtin.stat: 
														 | 
														
														 | 
														
															   ansible.builtin.stat: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     path: /root/{{ olivetin }} 
														 | 
														
														 | 
														
															     path: /root/{{ olivetin }} 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -29,6 +30,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   ansible.builtin.dnf: 
														 | 
														
														 | 
														
															   ansible.builtin.dnf: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     name: /root/{{ olivetin }} 
														 | 
														
														 | 
														
															     name: /root/{{ olivetin }} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     state: present 
														 | 
														
														 | 
														
															     state: present 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    disable_gpg_check: True 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   when: 
														 | 
														
														 | 
														
															   when: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     - ansible_os_family == "RedHat" 
														 | 
														
														 | 
														
															     - ansible_os_family == "RedHat" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -43,6 +45,37 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   notify: Restart OliveTin 
														 | 
														
														 | 
														
															   notify: Restart OliveTin 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+- name: Create OliveTin systemd folder (Debian) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  ansible.builtin.file: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    path: /etc/systemd/system/OliveTin.service.d 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    state: directory 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    owner: root 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    group: root 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    mode: '0755' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  when: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    - ansible_os_family == "Debian" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+- name: Apply env var workaround (Debian) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  ansible.builtin.copy: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    dest: /etc/systemd/system/OliveTin.service.d/debian-fix.conf 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    owner: root 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    group: root 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    mode: '0644' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    content: | 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+             [Service] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+             Environment=HOME=/root 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  when: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    - ansible_os_family == "Debian" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  notify: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    - Daemon Reload 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    - Restart OliveTin 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+- name: Flush handlers 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  ansible.builtin.meta: flush_handlers 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 - name: Start/Enable OliveTin 
														 | 
														
														 | 
														
															 - name: Start/Enable OliveTin 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   ansible.builtin.systemd_service: 
														 | 
														
														 | 
														
															   ansible.builtin.systemd_service: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     name: OliveTin 
														 | 
														
														 | 
														
															     name: OliveTin 
														 |