29 lines
1 KiB
YAML
29 lines
1 KiB
YAML
---
|
|
|
|
- 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..."
|
|
seconds: 10
|
|
|
|
|
|
# Pre-check
|
|
- include_tasks: roles/jenkins-php-v1/tasks/00_precheck.yml
|
|
|
|
# Install Jenkins via the upstream repository
|
|
- include_tasks: roles/jenkins-php-v1/tasks/10_jenkins-repository.yml
|
|
|
|
- include_tasks: roles/jenkins-php-v1/tasks/20_install-plugins.yml
|
|
|
|
# At the moment, groups or roles are kinda overkill
|
|
# (but it probably will get back on us at the end...)
|
|
- include_tasks: roles/jenkins-php-v1/tasks/30_users.yml
|
|
|
|
# Big configuration step : ACL, SSH keys aka. credentials, etc.
|
|
- include_tasks: roles/jenkins-php-v1/tasks/40_configure-jenkins.yml
|
|
|
|
- include_tasks: roles/jenkins-php-v1/tasks/50_create-jobs.yml
|
|
|
|
- include_tasks: roles/jenkins-php-v1/tasks/60_install-nginx-proxy.yml
|
|
|
|
# Display the list of things to manually check (wekhooks, ssh keys, etc.)
|
|
- include_tasks: roles/jenkins-php-v1/tasks/90_conclusion.yml
|