-numerous changes to work with Raspbian 10
-redo of some roles, particularly GUI -modifications to support working from a "Raspbian Lite" install
This commit is contained in:
48
roles/netflows/tasks/main.yaml
Executable file → Normal file
48
roles/netflows/tasks/main.yaml
Executable file → Normal file
@@ -1,24 +1,24 @@
|
||||
---
|
||||
- name: Install fprobe Package
|
||||
become: yes
|
||||
apt:
|
||||
name: ['fprobe']
|
||||
state: present
|
||||
update_cache: true
|
||||
tags: install_fprobe
|
||||
- lineinfile:
|
||||
path: /etc/default/fprobe
|
||||
state: present
|
||||
backrefs: yes
|
||||
regexp: '^FLOW_COLLECTOR='
|
||||
line: 'FLOW_COLLECTOR="192.168.201.11:2055"'
|
||||
become: true
|
||||
tags: configure_fprobe
|
||||
- name: enable fprobe service and ensure it is not masked
|
||||
systemd:
|
||||
name: fprobe
|
||||
enabled: yes
|
||||
masked: no
|
||||
state: restarted
|
||||
tags: enable_fprobe
|
||||
become: true
|
||||
---
|
||||
- name: Install fprobe Package
|
||||
become: yes
|
||||
apt:
|
||||
name: ['fprobe']
|
||||
state: present
|
||||
update_cache: true
|
||||
tags: install_fprobe
|
||||
- lineinfile:
|
||||
path: /etc/default/fprobe
|
||||
state: present
|
||||
backrefs: yes
|
||||
regexp: '^FLOW_COLLECTOR='
|
||||
line: 'FLOW_COLLECTOR="192.168.201.11:2055"'
|
||||
become: true
|
||||
tags: configure_fprobe
|
||||
- name: enable fprobe service and ensure it is not masked
|
||||
systemd:
|
||||
name: fprobe
|
||||
enabled: yes
|
||||
masked: no
|
||||
state: restarted
|
||||
tags: enable_fprobe
|
||||
become: true
|
||||
|
||||
Reference in New Issue
Block a user