ansible lint additions, .yamllint.yml configuratuion

This commit is contained in:
Bastian de Byl
2022-04-12 01:43:26 -04:00
parent d955598f05
commit 78f8ce2c6f
35 changed files with 87 additions and 411 deletions

View File

@@ -1,6 +1,6 @@
---
- name: restart_motion
become: true
service:
ansible.builtin.service:
name: motion
state: restarted

View File

@@ -1,7 +1,7 @@
---
- name: install shinobi dependencies
become: true
pacman:
community.general.pacman:
name: "{{ deps }}"
state: present
tags:

View File

@@ -1,14 +1,14 @@
---
- name: create shinobi user
become: true
user:
ansible.builtin.user:
name: "{{ motion_user }}"
shell: /bin/nologin
tags: motion
- name: mount shinob videos folder
become: true
file:
ansible.builtin.file:
path: /mnt/shinobi
state: directory
owner: "{{ motion_user }}"
@@ -18,7 +18,7 @@
- name: mount smb via cifs
become: true
mount:
ansible.posix.mount:
path: /mnt/shinobi
src: "//{{ motion_hostname }}/share/GardenCamera"
fstype: cifs
@@ -29,13 +29,13 @@
- name: create shinobi data volume
become: true
docker_volume:
community.general.docker_volume:
name: shinobi_data
tags: motion
- name: create shinobi server container
diff: false
docker_container:
community.general.docker_container:
name: shinobi
image: migoller/shinobidocker:latest
recreate: true