first steps for ansible deployment
This commit is contained in:
12
ansible/playbook.yml
Normal file
12
ansible/playbook.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- hosts: autoreply_editor
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Get newest version of autoreply-editor
|
||||
git:
|
||||
repo: https://src.mehl.mx/mxmehl/autoreply-editor.git
|
||||
dest: autoreply-editor
|
||||
|
||||
- name: Deploy config file
|
||||
template:
|
||||
src: config.py.j2
|
||||
dest: autoreply-editor/config.py
|
||||
Reference in New Issue
Block a user