This repository has been archived on 2023-11-22. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
# Usually, we only install Jenkins and let it live its life,
# so if it seems to be already installed, we skip this task.
- name:Check if /var/lib/jenkins exists
stat:
path:"{{ jenkins_home }}"
register:result
- name:Nogoing further if jenkinsonlyinstall is set and Jenkins is already installed
set_fact:
gogogo:"{{ jenkins_installonly is undefined or jenkins_installonly == False or result.stat.isdir is undefined or result.stat.isdir == False }}"
- name:Warning about confidentiality
pause:
prompt:"Warning: this role will manage and display a lot of passwords and keys readable through the Ansible log and the process infos on each host. Sorry..."