summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-06-29 16:06:53 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:52:07 +0200
commit658321213c4aca5f31a1695b5ac34976e130604c (patch)
treeeb3a6a70b818f13ef9c51d4cceb285e2b966bfd2
parent898b2aa04d25ef237ffc5e26da8a206022bdc3fa (diff)
Explain how to destroy existing Postfix instances.
-rw-r--r--lib/postmulti4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/postmulti b/lib/postmulti
index cad01f8..d6ecb09 100644
--- a/lib/postmulti
+++ b/lib/postmulti
@@ -33,6 +33,10 @@ def postconf(k, instance=None):
return subprocess.check_output(cmd, stderr=subprocess.STDOUT).rstrip()
+# To destroy an existing instance:
+# postmulti -e disable -i mx
+# postmulti -e destroy -i mx
+
def main():
module = AnsibleModule(
argument_spec = dict(