mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-09-07 17:52:30 +02:00
update depricated 303 rule, add name[missing] rule
This commit is contained in:
parent
ffc1374a22
commit
b8260ab4c2
@ -8,7 +8,7 @@
|
||||
apt: update_cache=yes cache_valid_time=600
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: Wait for systemd to complete initialization. # noqa 303
|
||||
- name: Wait for systemd to complete initialization. # noqa: command-instead-of-module
|
||||
command: systemctl is-system-running
|
||||
register: systemctl_status
|
||||
until: >
|
||||
|
@ -10,10 +10,10 @@
|
||||
paths:
|
||||
- 'vars'
|
||||
|
||||
- include_tasks: setup-RedHat.yml
|
||||
- include_tasks: setup-RedHat.yml # noqa: name[missing]
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- include_tasks: setup-Debian.yml
|
||||
- include_tasks: setup-Debian.yml # noqa: name[missing]
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: Install Docker packages.
|
||||
@ -76,7 +76,7 @@
|
||||
- name: Ensure handlers are notified now to avoid firewall conflicts.
|
||||
meta: flush_handlers
|
||||
|
||||
- include_tasks: docker-compose.yml
|
||||
- include_tasks: docker-compose.yml # noqa: name[missing]
|
||||
when: docker_install_compose | bool
|
||||
|
||||
- name: Get docker group info using getent.
|
||||
@ -94,5 +94,5 @@
|
||||
- item not in ansible_facts.getent_group["docker"][2]
|
||||
with_items: "{{ docker_users }}"
|
||||
|
||||
- include_tasks: docker-users.yml
|
||||
- include_tasks: docker-users.yml # noqa: name[missing]
|
||||
when: at_least_one_user_to_modify is defined
|
||||
|
Loading…
Reference in New Issue
Block a user