Varia library working group XPPL.
https://gitea.xpub.nl/XPUB/XPPL
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
552 B
20 lines
552 B
---
|
|
|
|
- hosts: managed
|
|
pre_tasks:
|
|
- name: Shutdown the running XPPL for the deployment.
|
|
become: true
|
|
supervisorctl:
|
|
name: 'xppl:'
|
|
state: stopped
|
|
roles:
|
|
- role: git # Clone the project source
|
|
- role: pipenv # Install Python dependencies
|
|
- role: env # Configure the application environment
|
|
- role: nginx # Setup the Nginx configuration
|
|
post_tasks:
|
|
- name: Start back up the XPPL after the deployment.
|
|
become: true
|
|
supervisorctl:
|
|
name: 'xppl:'
|
|
state: stopped
|
|
|