mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-25 19:13:08 +00:00
Fix ansible-lint
This commit is contained in:
parent
0bd3e6f36e
commit
b7e0430f0b
3 changed files with 31 additions and 21 deletions
42
nas.yml
42
nas.yml
|
@ -2,86 +2,88 @@
|
||||||
- hosts: all
|
- hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: tasks/general.yml
|
- import_tasks: tasks/general.yml
|
||||||
|
tags: general
|
||||||
|
|
||||||
- import_tasks: tasks/docker.yml
|
- import_tasks: tasks/docker.yml
|
||||||
|
tags: docker
|
||||||
|
|
||||||
- import_tasks: tasks/traefik.yml
|
- import_tasks: tasks/traefik.yml
|
||||||
when: traefik_enabled == true
|
when: traefik_enabled
|
||||||
tags: traefik
|
tags: traefik
|
||||||
|
|
||||||
- import_tasks: tasks/heimdall.yml
|
- import_tasks: tasks/heimdall.yml
|
||||||
tags: heimdall
|
tags: heimdall
|
||||||
|
|
||||||
- import_tasks: tasks/portainer.yml
|
- import_tasks: tasks/portainer.yml
|
||||||
when: portainer_enabled == true
|
when: portainer_enabled
|
||||||
tags: portainer
|
tags: portainer
|
||||||
|
|
||||||
- import_tasks: tasks/plex.yml
|
- import_tasks: tasks/plex.yml
|
||||||
when: plex_enabled == true
|
when: plex_enabled
|
||||||
tags: plex
|
tags: plex
|
||||||
|
|
||||||
- import_tasks: tasks/emby.yml
|
- import_tasks: tasks/emby.yml
|
||||||
when: emby_enabled == true
|
when: emby_enabled
|
||||||
tags: emby
|
tags: emby
|
||||||
|
|
||||||
- import_tasks: tasks/tautulli.yml
|
- import_tasks: tasks/tautulli.yml
|
||||||
when: tautulli_enabled == true
|
when: tautulli_enabled
|
||||||
tags: tautulli
|
tags: tautulli
|
||||||
|
|
||||||
- import_tasks: tasks/transmission.yml
|
- import_tasks: tasks/transmission.yml
|
||||||
when: transmission_enabled == true
|
when: transmission_enabled
|
||||||
tags: transmission
|
tags: transmission
|
||||||
|
|
||||||
- import_tasks: tasks/transmission_with_openvpn.yml
|
- import_tasks: tasks/transmission_with_openvpn.yml
|
||||||
when: transmission_with_openvpn_enabled == true
|
when: transmission_with_openvpn_enabled
|
||||||
tags: transmission
|
tags: transmission
|
||||||
|
|
||||||
- import_tasks: tasks/sonarr.yml
|
- import_tasks: tasks/sonarr.yml
|
||||||
when: sonarr_enabled == true
|
when: sonarr_enabled
|
||||||
tags: sonarr
|
tags: sonarr
|
||||||
|
|
||||||
- import_tasks: tasks/radarr.yml
|
- import_tasks: tasks/radarr.yml
|
||||||
when: radarr_enabled == true
|
when: radarr_enabled
|
||||||
tags: radarr
|
tags: radarr
|
||||||
|
|
||||||
- import_tasks: tasks/glances.yml
|
- import_tasks: tasks/glances.yml
|
||||||
when: glances_enabled == true
|
when: glances_enabled
|
||||||
tags: glances
|
tags: glances
|
||||||
|
|
||||||
- import_tasks: tasks/netdata.yml
|
- import_tasks: tasks/netdata.yml
|
||||||
when: netdata_enabled == true
|
when: netdata_enabled
|
||||||
tags: netdata
|
tags: netdata
|
||||||
|
|
||||||
- import_tasks: tasks/duplicati.yml
|
- import_tasks: tasks/duplicati.yml
|
||||||
when: duplicati_enabled == true
|
when: duplicati_enabled
|
||||||
tags: duplicati
|
tags: duplicati
|
||||||
|
|
||||||
- import_tasks: tasks/couchpotato.yml
|
- import_tasks: tasks/couchpotato.yml
|
||||||
when: couchpotato_enabled == true
|
when: couchpotato_enabled
|
||||||
tags: couchpotato
|
tags: couchpotato
|
||||||
|
|
||||||
- import_tasks: tasks/sickrage.yml
|
- import_tasks: tasks/sickrage.yml
|
||||||
when: sickrage_enabled == true
|
when: sickrage_enabled
|
||||||
tags: sickrage
|
tags: sickrage
|
||||||
|
|
||||||
- import_tasks: tasks/znc.yml
|
- import_tasks: tasks/znc.yml
|
||||||
when: znc_enabled == true
|
when: znc_enabled
|
||||||
tags: znc
|
tags: znc
|
||||||
|
|
||||||
- import_tasks: tasks/nextcloud.yml
|
- import_tasks: tasks/nextcloud.yml
|
||||||
when: nextcloud_enabled == true
|
when: nextcloud_enabled
|
||||||
tags: nextcloud
|
tags: nextcloud
|
||||||
|
|
||||||
- import_tasks: tasks/gitea.yml
|
- import_tasks: tasks/gitea.yml
|
||||||
when: gitea_enabled == true
|
when: gitea_enabled
|
||||||
tags: gitea
|
tags: gitea
|
||||||
|
|
||||||
- import_tasks: tasks/stats.yml
|
- import_tasks: tasks/stats.yml
|
||||||
when: stats_enabled == true
|
when: stats_enabled
|
||||||
tags: stats
|
tags: stats
|
||||||
|
|
||||||
- import_tasks: tasks/guacamole.yml
|
- import_tasks: tasks/guacamole.yml
|
||||||
when: guacamole_enabled == true
|
when: guacamole_enabled
|
||||||
tags: guacamole
|
tags: guacamole
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
|
|
|
@ -3,11 +3,15 @@
|
||||||
apt:
|
apt:
|
||||||
name: python-pip
|
name: python-pip
|
||||||
state: present
|
state: present
|
||||||
|
register: result
|
||||||
|
until: result is succeeded
|
||||||
|
|
||||||
- name: 'Install docker-py'
|
- name: 'Install docker-py'
|
||||||
pip:
|
pip:
|
||||||
name: docker-py
|
name: docker-py
|
||||||
state: present
|
state: present
|
||||||
|
register: result
|
||||||
|
until: result is succeeded
|
||||||
|
|
||||||
- name: create docker home
|
- name: create docker home
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -3,12 +3,14 @@
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
|
register: result
|
||||||
|
until: result is succeeded
|
||||||
|
|
||||||
- name: Upgrade all packages
|
- name: Upgrade all packages
|
||||||
apt:
|
apt:
|
||||||
upgrade: true
|
upgrade: true
|
||||||
state: latest
|
state: latest
|
||||||
when: keep_packages_updated == true
|
when: keep_packages_updated
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
|
|
||||||
|
@ -23,6 +25,8 @@
|
||||||
- bonnie++
|
- bonnie++
|
||||||
- unzip
|
- unzip
|
||||||
- lm-sensors
|
- lm-sensors
|
||||||
|
register: result
|
||||||
|
until: result is succeeded
|
||||||
|
|
||||||
# - name: Configure smartmontools
|
# - name: Configure smartmontools
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue