From 4d069700c7b2b96de3422b832dd2e0faa2868dc4 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 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 96414ef..08d5451 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ 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) @@ -38,7 +39,7 @@ 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) @@ -50,6 +51,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 +60,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 action) + vaultCredentialsId(String id) + newVaultCredentialsId(String id) + content(String content) + input(String input) + output(String output) + } } ```