diff options
| author | Oleg Pykhalov <go.wigust@gmail.com> | 2019-12-31 23:19:06 +0300 |
|---|---|---|
| committer | Oleg Pykhalov <go.wigust@gmail.com> | 2019-12-31 23:24:37 +0300 |
| commit | 228a8ea473ea8b965491e15967965db74ca00201 (patch) | |
| tree | 64ee5219c7efb33a4d111735ac9c32a955c801a4 | |
| download | ansible-ping-228a8ea473ea8b965491e15967965db74ca00201.tar.gz | |
Initial commit.
| -rw-r--r-- | Jenkinsfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..d16b93b --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,18 @@ +pipeline { + agent { + label "master" + } + stages { + stage("ping") { + steps { + writeFile file: 'main.yml', text: ''' +--- +- hosts: all + tasks: + - ping: + ''' + ansiblePlaybook playbook: 'main.yml' + } + } + } +} |
