Ansible Role - Jenkins Backup
This Ansible role for backup jenkins configuration.
The following files will be included into the backup archive:
backup_jenkins_home: "/home/admin/.jenkins"
The Jenkins home
backup_script_dir: "{{ backup_jenkins_home }}/scripts/"
The default dir for the scripts
backup_dir: "{{ backup_jenkins_home }}/backup/config"
The default dir for all the backup files
backup_file_name: "jenkins-config-backup_`date +\"%Y%m%d%H%M%S\"`.tar.gz"
The default file name for any backup
None
- hosts:
- localhost
become: True
roles:
- ansible-role-jenkins-backup
HACH
This role was created in 2018 by CHRIFI ALAOUI Hakim