Add back handlers.yml

This commit is contained in:
Sonny Bakker 2021-01-27 22:55:07 +01:00
parent ccab22dea3
commit cb3149926c
7 changed files with 162 additions and 132 deletions

View file

@ -1,6 +1,6 @@
- name: create sites dir
file:
path: '/srv/sites'
path: "/srv/sites"
state: directory
owner: root
group: root
@ -8,17 +8,17 @@
- name: create project dir
file:
path: '{{ app_dir }}'
path: "{{ app_dir }}"
state: directory
owner: '{{ app_user }}'
group: '{{ app_user }}'
owner: "{{ app_user }}"
group: "{{ app_user }}"
mode: 0755
- name: clone project
become_user: '{{ app_user }}'
become_user: "{{ app_user }}"
git:
repo: 'https://git.fudiggity.nl/sonny/newsreader.git'
dest: '{{ app_dir }}'
version: '{{ app_branch }}'
repo: "https://git.fudiggity.nl/sonny/newsreader.git"
dest: "{{ app_dir }}"
version: "{{ app_branch }}"
update: true
force: true