Update ansible-lint

Required a lot of renaming :(
This commit is contained in:
Jake Howard 2020-09-26 17:53:47 +01:00
parent cc43910be6
commit 24d11deeae
Signed by: jake
GPG key ID: 57AFB45680EDD477
54 changed files with 12 additions and 5 deletions

View file

@ -1,2 +1,2 @@
ansible-lint==4.2.0
ansible-lint==4.3.5
yamllint==1.23.0

View file

@ -23,7 +23,7 @@
docker_package: "{{ 'docker-ce' if ansible_os_family == 'Debian' else 'docker' }}"
docker_users:
- "{{ user }}"
- docker-cleanup
- docker_cleanup
- watchtower
- traefik
@ -37,8 +37,8 @@
- hosts: intersect
roles:
- netdata
- home-assistant
- intersect-docker
- home_assistant
- intersect_docker
- plausible
- duplicati
- grafana
@ -52,4 +52,4 @@
- upload
- website
- duplicati
- gitlab-pages
- gitlab_pages

View file

@ -21,6 +21,7 @@
dest: /etc/ssh/sshd_config
validate: /usr/sbin/sshd -t -f %s
backup: yes
mode: 0644
become: true
register: sshd_config

View file

@ -8,6 +8,7 @@
src: files/haproxy.cfg
dest: /etc/haproxy/haproxy.cfg
validate: /usr/sbin/haproxy -c -- %s
mode: "0644"
backup: yes
become: true
register: haproxy_config

View file

@ -2,6 +2,7 @@
template:
src: files/wireguard-server.conf
dest: /etc/wireguard/wg0.conf
mode: "0600"
backup: yes
become: true
register: wireguard_conf

View file

@ -10,6 +10,7 @@
template:
src: files/clickhouse-config.xml
dest: /mnt/tank/dbs/clickhouse/docker_related_config.xml
mode: "0644"
notify: restart plausible
become: true
@ -17,6 +18,7 @@
template:
src: files/clickhouse-user-config.xml
dest: /mnt/tank/dbs/clickhouse/docker_related_user_config.xml
mode: "0644"
notify: restart plausible
become: true

View file

@ -33,6 +33,7 @@
file:
path: /etc/sanoid
state: directory
mode: "0755"
become: true
- name: Install default config
@ -58,6 +59,7 @@
template:
src: files/sanoid.conf
dest: /etc/sanoid/sanoid.conf
mode: "0755"
become: true
- name: Install cron job