added bacula-conf.py
This commit is contained in:
		| @@ -42,6 +42,8 @@ elif platform.system() == "Linux": | ||||
| else: | ||||
|     raise ValueError | ||||
|  | ||||
| if not fqdn.endswith(".liebchen.fkp"): | ||||
|     fqdn += ".liebchen.fkp" | ||||
|  | ||||
| data = { | ||||
|         "client":hostname, | ||||
|   | ||||
							
								
								
									
										11
									
								
								liebchen.yml
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								liebchen.yml
									
									
									
									
									
								
							| @@ -41,3 +41,14 @@ | ||||
|     apt: | ||||
|       name: bacula-fd | ||||
|       default_release: jammy-proposed | ||||
|   - name: Install script for  bacula-fd configuration | ||||
|     copy: | ||||
|       src: bacula-conf.py | ||||
|       dest: /usr/local/bin/bacula-conf.py | ||||
|       mode: 0700 | ||||
|   - name: run configuration for bacula-fd | ||||
|     command: /usr/local/bin/bacula-conf.py | ||||
|   - name: Restart service bacula-fd | ||||
|     service: | ||||
|       name: bacula-fd | ||||
|       state: restarted | ||||
		Reference in New Issue
	
	Block a user