mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Fleet Module - Move database stuff to the fleet module
This commit is contained in:
@@ -30,3 +30,21 @@ so-fleet:
|
||||
- /etc/pki/fleet.crt:/ssl/server.cert
|
||||
- watch:
|
||||
- /opt/so/conf/fleet/etc
|
||||
|
||||
fleetdb:
|
||||
mysql_database.present:
|
||||
- name: fleet
|
||||
|
||||
fleetdbuser:
|
||||
mysql_user.present:
|
||||
- host: 172.17.0.0/255.255.0.0
|
||||
- password: {{ FLEETPASS }}
|
||||
- connection_user: root
|
||||
- connection_pass: {{ MYSQLPASS }}
|
||||
|
||||
fleetdbpriv:
|
||||
mysql_grants.present:
|
||||
- grant: all privileges
|
||||
- database: fleet.*
|
||||
- user: fleetdbuser
|
||||
- host: 172.17.0.0/255.255.0.0
|
||||
|
||||
@@ -65,21 +65,3 @@ so-mysql:
|
||||
- /opt/so/log/mysql:/var/log/mysql:rw
|
||||
- watch:
|
||||
- /opt/so/conf/mysql/etc
|
||||
|
||||
fleetdb:
|
||||
mysql_database.present:
|
||||
- name: fleet
|
||||
|
||||
fleetdbuser:
|
||||
mysql_user.present:
|
||||
- host: 172.17.0.0/255.255.0.0
|
||||
- password: {{ FLEETPASS }}
|
||||
- connection_user: root
|
||||
- connection_pass: {{ MYSQLPASS }}
|
||||
|
||||
fleetdbpriv:
|
||||
mysql_grants.present:
|
||||
- grant: all privileges
|
||||
- database: fleet.*
|
||||
- user: fleetdbuser
|
||||
- host: 172.17.0.0/255.255.0.0
|
||||
|
||||
@@ -21,6 +21,7 @@ base:
|
||||
- master
|
||||
- idstools
|
||||
- redis
|
||||
- mysql
|
||||
- elasticsearch
|
||||
- logstash
|
||||
- kibana
|
||||
@@ -29,7 +30,8 @@ base:
|
||||
- bro
|
||||
- curator
|
||||
- utility
|
||||
- schedule
|
||||
- schedule
|
||||
- fleet
|
||||
|
||||
|
||||
'G@role:so-master':
|
||||
@@ -40,11 +42,13 @@ base:
|
||||
- master
|
||||
- idstools
|
||||
- redis
|
||||
- mysql
|
||||
- elasticsearch
|
||||
- logstash
|
||||
- kibana
|
||||
- utility
|
||||
- schedule
|
||||
- fleet
|
||||
|
||||
# Storage node logic
|
||||
|
||||
|
||||
Reference in New Issue
Block a user