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