Remove useless arpwatch.conf file
This commit is contained in:
		
							parent
							
								
									c9d8a0845e
								
							
						
					
					
						commit
						2819a294af
					
				|  | @ -1,10 +1,12 @@ | |||
| ## v2.X.Y | ||||
| 
 | ||||
| ### Features | ||||
| 
 | ||||
| * Adapt for Debian Buster (start with arpwatch version 2.1a15-7) | ||||
| * Drop Debian Stretch support. Stay in v1.* to be able to manage Arpwatch on Debian Stretch | ||||
| 
 | ||||
| ### Fix | ||||
| * Arpwatch doesn't support configuration file. Remove /etc/arpwatch.conf | ||||
| 
 | ||||
| ## v1.0.2 | ||||
| 
 | ||||
| ### Fix | ||||
|  |  | |||
|  | @ -52,14 +52,6 @@ arpwatch__service_manage: True | |||
| # By default, only listen on the main network interface. | ||||
| arpwatch__conf_interfaces: [ '{{ ansible_default_ipv4.interface }}' ] | ||||
| 
 | ||||
|                                                                    # ]]] | ||||
| # .. envvar:: arpwatch__conf_src [[[. | ||||
| # Template used to provide configuration file. | ||||
| # | ||||
| # Must be a relative path from default/ directory of this role or to your | ||||
| # ansible inventory directory. | ||||
| arpwatch__conf_src: 'etc/arpwatch.conf.j2' | ||||
| 
 | ||||
|                                                                    # ]]] | ||||
| # .. envvar:: arpwatch__conf_username [[[. | ||||
| # Username that should run Arpwatch. | ||||
|  |  | |||
|  | @ -15,19 +15,7 @@ | |||
|   until: pkg_result is success | ||||
|   when: arpwatch__enabled|bool | ||||
| 
 | ||||
| # Manage configuration file [[[1 | ||||
| ## Manage Arpwatch configuration [[[ | ||||
| - name: Create Arpwatch configuration | ||||
|   template: | ||||
|     src: '{{ arpwatch__conf_src }}' | ||||
|     dest: "/etc/arpwatch.conf" | ||||
|     owner: root | ||||
|     group: root | ||||
|     mode: '0644' | ||||
|   when: arpwatch__enabled|bool | ||||
|   notify: ['restart arpwatch service'] | ||||
|                                                                    # ]]] | ||||
| ## Manage service default [[[ | ||||
| # Manage service default [[[1 | ||||
| - name: Manage service default | ||||
|   template: | ||||
|     src: 'etc/default/arpwatch.j2' | ||||
|  | @ -38,7 +26,6 @@ | |||
|   when: ((arpwatch__enabled | bool) and | ||||
|          (arpwatch__service_manage | bool)) | ||||
|   notify: ['restart arpwatch service'] | ||||
|                                                                    # ]]] | ||||
| 
 | ||||
| # Manage service [[[1 | ||||
| - name: Manage arpwatch service by network interface | ||||
|  |  | |||
|  | @ -1,24 +0,0 @@ | |||
| ## {{ ansible_managed }} | ||||
| 
 | ||||
| # /etc/arpwatch.conf: Debian-specific way to watch multiple interfaces. | ||||
| # Format of this configuration file is: | ||||
| # | ||||
| #<dev1>	<arpwatch options for dev1> | ||||
| #<dev2>	<arpwatch options for dev2> | ||||
| #... | ||||
| #<devN>	<arpwatch options for devN> | ||||
| # | ||||
| # You can set global options for all interfaces by editing | ||||
| # /etc/default/arpwatch | ||||
| 
 | ||||
| # For example: | ||||
| 
 | ||||
| #eth0	-m root | ||||
| #eth1	-m root | ||||
| #eth2	-m root | ||||
| 
 | ||||
| # or, if you have an MTA configured for plussed addressing: | ||||
| # | ||||
| #eth0	-m root+eth0 | ||||
| #eth1	-m root+eth1 | ||||
| #eth2	-m root+eth2 | ||||
		Loading…
	
		Reference in New Issue