From f22aa0f34c673a3c6be845edfaf5492c6dde7054 Mon Sep 17 00:00:00 2001 From: KASSAMANY Yamen Date: Thu, 19 Apr 2018 12:36:33 +0300 Subject: [PATCH] Adding ansible vault job dsl documentation --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 96414ef..dc98db4 100644 --- a/README.md +++ b/README.md @@ -31,14 +31,17 @@ steps { skippedTags(String tags) startAtTask(String task) credentialsId(String id) + vaultCredentialsId(String id) become(boolean become = true) becomeUser(String user = 'root') sudo(boolean sudo = true) sudoUser(String user = 'root') + tags(String tags) + skippedTags(String skippedTags) forks(int forks = 5) unbufferedOutput(boolean unbufferedOutput = true) colorizedOutput(boolean colorizedOutput = false) - hostKeyChecking(boolean hostKeyChecking = false) + disableHostKeyChecking(boolean disableHostKeyChecking = false) additionalParameters(String params) extraVars { extraVar(String key, String value, boolean hidden) @@ -50,6 +53,7 @@ steps { inventoryPath(String path) inventoryContent(String content, boolean dynamic = false) credentialsId(String id) + vaultCredentialsId(String id) hostPattern(String pattern) become(boolean become = true) becomeUser(String user = 'root') @@ -58,12 +62,22 @@ steps { forks(int forks = 5) unbufferedOutput(boolean unbufferedOutput = true) colorizedOutput(boolean colorizedOutput = false) - hostKeyChecking(boolean hostKeyChecking = false) + disableHostKeyChecking(boolean disableHostKeyChecking = false) additionalParameters(String params) extraVars { extraVar(String key, String value, boolean hidden) } } + + ansibleVault { + ansibleName(String name) + action(String path) + vaultCredentialsId(String id) + newVaultCredentialsId(String id) + content(String content) + input(String input) + output(String output) + } } ```