linting fixes
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
- import_tasks: configuration-nginx-https.yml
|
||||
- import_tasks: configuration-nginx-modsec.yml
|
||||
|
||||
- meta: flush_handlers
|
||||
- name: flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
tags:
|
||||
- http
|
||||
- modsec
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
- "{{ drone_path }}/data"
|
||||
tags: drone
|
||||
|
||||
- meta: flush_handlers
|
||||
- name: flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
tags: drone
|
||||
|
||||
- name: create drone-ci server container
|
||||
|
||||
@@ -34,11 +34,13 @@
|
||||
- name: unshare chown the elastic volume
|
||||
become: true
|
||||
become_user: "{{ podman_user }}"
|
||||
changed_when: false
|
||||
ansible.builtin.command: |
|
||||
podman unshare chown -R 1000:1000 {{ graylog_path }}/elastic
|
||||
tags: graylog
|
||||
|
||||
- meta: flush_handlers
|
||||
- name: flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
tags: graylog
|
||||
|
||||
- name: create graylog mongodb container
|
||||
@@ -103,7 +105,6 @@
|
||||
net.ipv6.conf.default.disable_ipv6: 1
|
||||
network:
|
||||
- shared
|
||||
- host
|
||||
volumes:
|
||||
- "{{ graylog_path }}/conf:/usr/share/graylog/data/config"
|
||||
- "{{ graylog_path }}/bin:/usr/share/graylog/bin"
|
||||
|
||||
@@ -27,7 +27,8 @@
|
||||
- automations.yaml
|
||||
tags: hass
|
||||
|
||||
- meta: flush_handlers
|
||||
- name: flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
tags: hass
|
||||
|
||||
- name: create home-assistant server container
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
- "{{ partkeepr_path }}/mysql"
|
||||
tags: partkeepr
|
||||
|
||||
- meta: flush_handlers
|
||||
- name: flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
tags: partkeepr
|
||||
|
||||
- name: create partkeepr-db container
|
||||
|
||||
@@ -76,7 +76,8 @@
|
||||
- "{{ podman_volumes }}"
|
||||
tags: podman
|
||||
|
||||
- meta: flush_handlers
|
||||
- name: flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
tags: podman
|
||||
|
||||
- name: create podman shared network
|
||||
@@ -98,7 +99,8 @@
|
||||
|
||||
- name: fetch subuid of {{ podman_user }}
|
||||
become: true
|
||||
changed_when: false
|
||||
ansible.builtin.shell: |
|
||||
cat /etc/subuid | awk -F':' '/{{ podman_user }}/{ print $2 }' | head -n 1
|
||||
set -o pipefail && cat /etc/subuid | awk -F':' '/{{ podman_user }}/{ print $2 }' | head -n 1
|
||||
register: podman_subuid
|
||||
tags: always
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
- name: create systemd startup job for {{ container_name }}
|
||||
become: true
|
||||
become_user: "{{ podman_user }}"
|
||||
changed_when: false
|
||||
ansible.builtin.shell: |
|
||||
podman generate systemd --name {{ container_name }} > {{ podman_home }}/.config/systemd/user/{{ container_name }}.service
|
||||
tags: systemd
|
||||
|
||||
Reference in New Issue
Block a user