From 447ce1331876ee9d28b7339600335261274e5bbf Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 4 Dec 2015 11:02:38 -0800 Subject: [PATCH] Clarify section on ansible inventory file Change-Id: I3c5acb7a45c482854f68e9c9f008a2fa6ed945be --- doc/source/sysadmin.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/sysadmin.rst b/doc/source/sysadmin.rst index 036caee87c..022e4a2c8d 100644 --- a/doc/source/sysadmin.rst +++ b/doc/source/sysadmin.rst @@ -320,7 +320,8 @@ hosts that need to be disabled, you should put those in `disabled`. Because of the way static and dynamic inventories get merged by ansible, the static file needs to stand alone. If you need to disable a dynamic host from OpenStack (pretty much all of our hosts) you need to not only add it to -dynamic:children, you need to add an emtpy group into the static file too. +disabled:children, you need to add an emtpy group into the inventory file +(either `static` or `emergency` as appropriate) too. Disabling puppet via ansible inventory does not disable puppet from being run directly on the host, it merely prevents the puppetmaster from causing