mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
deploy: Add Ansible deployment scripts
This commit is contained in:
20
playbook.yml
Normal file
20
playbook.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- hosts: all
|
||||
become_user: root
|
||||
become_method: sudo
|
||||
become: yes
|
||||
|
||||
pre_tasks:
|
||||
- name: Check if running under Vagrant
|
||||
stat:
|
||||
path: /vagrant
|
||||
register: vagrant_dir
|
||||
|
||||
roles:
|
||||
- database
|
||||
- webserver
|
||||
|
||||
vars:
|
||||
ansible_python_interpreter: python2
|
||||
db_user: 'breccia'
|
||||
db_pass: 'breccia'
|
||||
Reference in New Issue
Block a user