mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-27 13:35:31 +02:00
Revert "use -verify flag during grid agent install to ensure agent health"
This commit is contained in:
@@ -14,23 +14,20 @@
|
|||||||
|
|
||||||
pull_agent_installer:
|
pull_agent_installer:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /opt/so/log/agents/so-elastic-agent_linux_amd64
|
- name: /opt/so/so-elastic-agent_linux_amd64
|
||||||
- source: salt://elasticfleet/files/so_agent-installers/so-elastic-agent_linux_amd64
|
- source: salt://elasticfleet/files/so_agent-installers/so-elastic-agent_linux_amd64
|
||||||
- mode: 755
|
- mode: 755
|
||||||
- makedirs: True
|
- makedirs: True
|
||||||
|
|
||||||
run_installer:
|
run_installer:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
{# Run agent installer and wait for it to report healthy status #}
|
- name: ./so-elastic-agent_linux_amd64 -token={{ GRIDNODETOKEN }} -force
|
||||||
- name: ./so-elastic-agent_linux_amd64 -token={{ GRIDNODETOKEN }} -force -verify
|
- cwd: /opt/so
|
||||||
- cwd: /opt/so/log/agents
|
|
||||||
- retry:
|
- retry:
|
||||||
attempts: 3
|
attempts: 3
|
||||||
interval: 20
|
interval: 20
|
||||||
- require:
|
|
||||||
- file: pull_agent_installer
|
|
||||||
|
|
||||||
cleanup_agent_installer:
|
cleanup_agent_installer:
|
||||||
file.absent:
|
file.absent:
|
||||||
- name: /opt/so/log/agents/so-elastic-agent_linux_amd64
|
- name: /opt/so/so-elastic-agent_linux_amd64
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user