From fb8a79e112d300f16f44054acbccc7c048a0c940 Mon Sep 17 00:00:00 2001 From: Josh Brower Date: Thu, 13 Jul 2023 13:15:01 -0400 Subject: [PATCH] Retry install --- salt/elasticfleet/install_agent_grid.sls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salt/elasticfleet/install_agent_grid.sls b/salt/elasticfleet/install_agent_grid.sls index 1d6c5a241..8b5bb4c3e 100644 --- a/salt/elasticfleet/install_agent_grid.sls +++ b/salt/elasticfleet/install_agent_grid.sls @@ -14,12 +14,14 @@ run_installer: - name: salt://elasticfleet/files/so_agent-installers/so-elastic-agent_linux_amd64 - cwd: /opt/so - args: -token={{ GRIDNODETOKENGENERAL }} + - retry: True {% else %} run_installer: cmd.script: - name: salt://elasticfleet/files/so_agent-installers/so-elastic-agent_linux_amd64 - cwd: /opt/so - args: -token={{ GRIDNODETOKENHEAVY }} + - retry: True {% endif %} {% endif %}