diff --git a/templates/packer/ansible/roles/common/templates/monitrc.j2 b/templates/packer/ansible/roles/common/templates/monitrc.j2 index a147a845c..3d7938252 100644 --- a/templates/packer/ansible/roles/common/templates/monitrc.j2 +++ b/templates/packer/ansible/roles/common/templates/monitrc.j2 @@ -31,12 +31,18 @@ CHECK FILESYSTEM root PATH / CHECK HOST rhel_cdn WITH ADDRESS cdn.redhat.com if failed ping + for 3 cycles + then exec {{ pozorbot_script }} + else if succeeded + for 3 cycles then exec {{ pozorbot_script }} - else if succeeded then exec {{ pozorbot_script }} if failed port 443 protocol https status = 403 with ssl options { CACERTIFICATEFILE: /etc/rhsm/ca/redhat-uep.pem } + for 3 cycles + then exec {{ pozorbot_script }} + else if succeeded + for 3 cycles then exec {{ pozorbot_script }} - else if succeeded then exec {{ pozorbot_script }}