style: make ansible-lint happier
This commit is contained in:
@@ -1,36 +1,37 @@
|
||||
---
|
||||
|
||||
- name: install scootaloo
|
||||
get_url:
|
||||
- name: Install scootaloo
|
||||
ansible.builtin.get_url:
|
||||
url: "https://r.mateu.be/scootaloo/scootaloo.v{{ scootaloo_version }}"
|
||||
dest: "{{ scootaloo_bin_path }}"
|
||||
owner: root
|
||||
group: www-data
|
||||
mode: 0750
|
||||
|
||||
- name: create scootaloo config dir
|
||||
file:
|
||||
- name: Create scootaloo config dir
|
||||
ansible.builtin.file:
|
||||
path: "{{ scootaloo_db_path }}"
|
||||
state: directory
|
||||
owner: www-data
|
||||
group: www-data
|
||||
mode: 0750
|
||||
|
||||
- name: init scootaloo db
|
||||
shell:
|
||||
- name: Init scootaloo db
|
||||
ansible.builtin.command:
|
||||
cmd: "{{ scootaloo_bin_path }} init"
|
||||
creates: "{{ scootaloo_db_path }}/scootaloo.sqlite"
|
||||
become: true
|
||||
become_user: www-data
|
||||
|
||||
- name: migrate scootaloo db
|
||||
shell:
|
||||
- name: Migrate scootaloo db
|
||||
ansible.builtin.command:
|
||||
cmd: "{{ scootaloo_bin_path }} migrate"
|
||||
changed_when: false
|
||||
become: true
|
||||
become_user: www-data
|
||||
|
||||
- name: cron for scootaloo
|
||||
cron:
|
||||
- name: Cron for scootaloo
|
||||
ansible.builtin.cron:
|
||||
name: Scootaloo Dojo
|
||||
user: www-data
|
||||
minute: "*/{{ scootaloo_min_refresh_interval }}"
|
||||
|
Reference in New Issue
Block a user