Update ansible-lint
Required a lot of renaming :(
This commit is contained in:
parent
cc43910be6
commit
24d11deeae
54 changed files with 12 additions and 5 deletions
|
@ -1,2 +1,2 @@
|
||||||
ansible-lint==4.2.0
|
ansible-lint==4.3.5
|
||||||
yamllint==1.23.0
|
yamllint==1.23.0
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
docker_package: "{{ 'docker-ce' if ansible_os_family == 'Debian' else 'docker' }}"
|
docker_package: "{{ 'docker-ce' if ansible_os_family == 'Debian' else 'docker' }}"
|
||||||
docker_users:
|
docker_users:
|
||||||
- "{{ user }}"
|
- "{{ user }}"
|
||||||
- docker-cleanup
|
- docker_cleanup
|
||||||
- watchtower
|
- watchtower
|
||||||
- traefik
|
- traefik
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@
|
||||||
- hosts: intersect
|
- hosts: intersect
|
||||||
roles:
|
roles:
|
||||||
- netdata
|
- netdata
|
||||||
- home-assistant
|
- home_assistant
|
||||||
- intersect-docker
|
- intersect_docker
|
||||||
- plausible
|
- plausible
|
||||||
- duplicati
|
- duplicati
|
||||||
- grafana
|
- grafana
|
||||||
|
@ -52,4 +52,4 @@
|
||||||
- upload
|
- upload
|
||||||
- website
|
- website
|
||||||
- duplicati
|
- duplicati
|
||||||
- gitlab-pages
|
- gitlab_pages
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
dest: /etc/ssh/sshd_config
|
dest: /etc/ssh/sshd_config
|
||||||
validate: /usr/sbin/sshd -t -f %s
|
validate: /usr/sbin/sshd -t -f %s
|
||||||
backup: yes
|
backup: yes
|
||||||
|
mode: 0644
|
||||||
become: true
|
become: true
|
||||||
register: sshd_config
|
register: sshd_config
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
src: files/haproxy.cfg
|
src: files/haproxy.cfg
|
||||||
dest: /etc/haproxy/haproxy.cfg
|
dest: /etc/haproxy/haproxy.cfg
|
||||||
validate: /usr/sbin/haproxy -c -- %s
|
validate: /usr/sbin/haproxy -c -- %s
|
||||||
|
mode: "0644"
|
||||||
backup: yes
|
backup: yes
|
||||||
become: true
|
become: true
|
||||||
register: haproxy_config
|
register: haproxy_config
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
template:
|
template:
|
||||||
src: files/wireguard-server.conf
|
src: files/wireguard-server.conf
|
||||||
dest: /etc/wireguard/wg0.conf
|
dest: /etc/wireguard/wg0.conf
|
||||||
|
mode: "0600"
|
||||||
backup: yes
|
backup: yes
|
||||||
become: true
|
become: true
|
||||||
register: wireguard_conf
|
register: wireguard_conf
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
template:
|
template:
|
||||||
src: files/clickhouse-config.xml
|
src: files/clickhouse-config.xml
|
||||||
dest: /mnt/tank/dbs/clickhouse/docker_related_config.xml
|
dest: /mnt/tank/dbs/clickhouse/docker_related_config.xml
|
||||||
|
mode: "0644"
|
||||||
notify: restart plausible
|
notify: restart plausible
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
@ -17,6 +18,7 @@
|
||||||
template:
|
template:
|
||||||
src: files/clickhouse-user-config.xml
|
src: files/clickhouse-user-config.xml
|
||||||
dest: /mnt/tank/dbs/clickhouse/docker_related_user_config.xml
|
dest: /mnt/tank/dbs/clickhouse/docker_related_user_config.xml
|
||||||
|
mode: "0644"
|
||||||
notify: restart plausible
|
notify: restart plausible
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
file:
|
file:
|
||||||
path: /etc/sanoid
|
path: /etc/sanoid
|
||||||
state: directory
|
state: directory
|
||||||
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Install default config
|
- name: Install default config
|
||||||
|
@ -58,6 +59,7 @@
|
||||||
template:
|
template:
|
||||||
src: files/sanoid.conf
|
src: files/sanoid.conf
|
||||||
dest: /etc/sanoid/sanoid.conf
|
dest: /etc/sanoid/sanoid.conf
|
||||||
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Install cron job
|
- name: Install cron job
|
||||||
|
|
Loading…
Reference in a new issue