Changed "netflows" role to be consistent with role setup.
Also, main.yaml in root is example of how to "call" roles
This commit is contained in:
0
ansible.cfg
Normal file → Executable file
0
ansible.cfg
Normal file → Executable file
1
main.retry
Normal file
1
main.retry
Normal file
@@ -0,0 +1 @@
|
||||
192.168.50.2
|
||||
5
main.yaml
Normal file
5
main.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: netflows
|
||||
become: true
|
||||
roles:
|
||||
- netflows
|
||||
0
roles/netflows/tasks/main.retry
Normal file → Executable file
0
roles/netflows/tasks/main.retry
Normal file → Executable file
2
roles/netflows/tasks/main.yaml
Normal file → Executable file
2
roles/netflows/tasks/main.yaml
Normal file → Executable file
@@ -1,6 +1,4 @@
|
||||
---
|
||||
- hosts: netflows
|
||||
tasks:
|
||||
- name: Install fprobe Package
|
||||
become: yes
|
||||
apt:
|
||||
|
||||
0
roles/public/tasks/main.yaml
Normal file → Executable file
0
roles/public/tasks/main.yaml
Normal file → Executable file
Reference in New Issue
Block a user