summaryrefslogtreecommitdiff
path: root/Jenkinsfile
blob: d16b93b5eff415f9ec94929b89d6cf5e1d14abd7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pipeline {
    agent {
        label "master"
    }
    stages {
        stage("ping") {
            steps {
                writeFile file: 'main.yml', text: '''
---
- hosts: all
  tasks:
    - ping:
                '''
                ansiblePlaybook playbook: 'main.yml'
            }
        }
    }
}