add Jenkins tools "Ansible"
This commit is contained in:
parent
bd630368ab
commit
40e7acd0e8
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -1,5 +1,8 @@
|
||||
pipeline {
|
||||
agent any
|
||||
tools {
|
||||
ansible 'Ansible'
|
||||
}
|
||||
environment {
|
||||
SSH_ROOT_PASSWORD = credentials('ssh_root_password')
|
||||
PSQL_PASSWORD = credentials('PSQL_pass')
|
||||
|
@ -4,7 +4,7 @@
|
||||
become: true
|
||||
|
||||
vars:
|
||||
backup_dir: "{{ backup_dir }}" #work
|
||||
backup_dir: "{{ backup_dir }}"
|
||||
|
||||
tasks:
|
||||
- name: Create backup directory
|
||||
|
Loading…
Reference in New Issue
Block a user