From b08a44379657219f04d4ac21f168fa224409925d Mon Sep 17 00:00:00 2001 From: Alex Demidoff Date: Mon, 4 Dec 2023 09:03:38 +0000 Subject: [PATCH] PMM-7 enable agent autostart after build --- build/ansible/pmm/post-build-actions.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build/ansible/pmm/post-build-actions.yml b/build/ansible/pmm/post-build-actions.yml index 8ad28081ab..47fab11aad 100644 --- a/build/ansible/pmm/post-build-actions.yml +++ b/build/ansible/pmm/post-build-actions.yml @@ -218,4 +218,11 @@ state: directory owner: pmm group: pmm - mode: "0775" + mode: 0775 + + - name: Enable pmm-agent autostart + ini_file: + path: /etc/supervisord.d/pmm.ini + section: program:pmm-agent + option: autostart + value: "true"