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