- ntop build
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
state: present
|
||||
tags: update_hosts
|
||||
- name: install required packages
|
||||
become: true
|
||||
package:
|
||||
name: "{{ dependency_packages }}"
|
||||
state: present
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
dependency_packages:
|
||||
- name:
|
||||
- expect
|
||||
- ftp
|
||||
- cadaver
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
when: ntopng_check_deb.rc == 1
|
||||
- name: Install ntopng source
|
||||
become: yes
|
||||
apt: deb="/home/{{ ansible_env.USER }}/Downloads/{{ ntopng_deb }}.deb"
|
||||
apt: deb="/home/{{ ansible_env.USER }}/Downloads/{{ ntopng_deb }}.deb" allow_unauthenticated=yes
|
||||
when: ntopng_check_deb.rc == 1
|
||||
- name: install ntopng
|
||||
become: yes
|
||||
@@ -20,6 +20,7 @@
|
||||
name: ntopng
|
||||
state: present
|
||||
update_cache: yes
|
||||
force: yes
|
||||
- name: start ntopng
|
||||
become: yes
|
||||
systemd:
|
||||
|
||||
Reference in New Issue
Block a user