From 3cbf319ee7d9eb457d3adb72d6b42c1b2094bfdc Mon Sep 17 00:00:00 2001 From: LeenSun Date: Fri, 29 Jun 2018 00:53:07 +0900 Subject: [PATCH] Update supervisorctl.py (#42031) +label: docsite_pr (cherry picked from commit 5ea414422bd5571d2c779a68ae5d8f5054ed1649) --- lib/ansible/modules/web_infrastructure/supervisorctl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/web_infrastructure/supervisorctl.py b/lib/ansible/modules/web_infrastructure/supervisorctl.py index 5fbb7f9e1b2..b1755d67e23 100644 --- a/lib/ansible/modules/web_infrastructure/supervisorctl.py +++ b/lib/ansible/modules/web_infrastructure/supervisorctl.py @@ -55,6 +55,7 @@ options: notes: - When C(state) = I(present), the module will call C(supervisorctl reread) then C(supervisorctl add) if the program/group does not exist. - When C(state) = I(restarted), the module will call C(supervisorctl update) then call C(supervisorctl restart). + - When C(state) = I(absent), the module will call C(supervisorctl reread) then C(supervisorctl remove) to remove the target program/group. requirements: [ "supervisorctl" ] author: - "Matt Wright (@mattupstate)"