mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-31 19:01:28 +01:00 
			
		
		
		
	Update to 2022-03-28 12:00
This commit is contained in:
		| @@ -78,8 +78,13 @@ | ||||
|     creates: /var/lib/samba/private/tls/dhparam.pem | ||||
|   tags: samba | ||||
|  | ||||
| - name: Deploy smb.conf | ||||
|   template: src=smb.conf.j2 dest=/etc/samba/smb.conf | ||||
| - name: Deploy samba configuration | ||||
|   template: src={{ item.src }} dest={{ item.dest }} | ||||
|   loop: | ||||
|     - src: smb.conf.j2 | ||||
|       dest: /etc/samba/smb.conf | ||||
|     - src: sysconfig.j2 | ||||
|       dest: /etc/sysconfig/samba | ||||
|   notify: reload samba | ||||
|   tags: samba | ||||
|  | ||||
|   | ||||
							
								
								
									
										18
									
								
								roles/samba/templates/sysconfig.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								roles/samba/templates/sysconfig.j2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| ## Path:           Network/Samba | ||||
| ## Description:    Samba process options | ||||
| ## Type:           string | ||||
| ## Default:        "" | ||||
| ## ServiceRestart: samba | ||||
| SAMBAOPTIONS="--log-basename=/var/log/samba" | ||||
| ## Type:           string | ||||
| ## Default:        "" | ||||
| ## ServiceRestart: smb | ||||
| SMBDOPTIONS="" | ||||
| ## Type:           string | ||||
| ## Default:        "" | ||||
| ## ServiceRestart: nmb | ||||
| NMBDOPTIONS="" | ||||
| ## Type:           string | ||||
| ## Default:        "" | ||||
| ## ServiceRestart: winbind | ||||
| WINBINDOPTIONS="" | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud