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
|
apt: update_cache=yes cache_valid_time=600
|
||||||
when: ansible_os_family == 'Debian'
|
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
|
command: systemctl is-system-running
|
||||||
register: systemctl_status
|
register: systemctl_status
|
||||||
until: >
|
until: >
|
||||||
|
@ -4,16 +4,16 @@
|
|||||||
vars:
|
vars:
|
||||||
params:
|
params:
|
||||||
files:
|
files:
|
||||||
- '{{ansible_distribution}}.yml'
|
- '{{ ansible_distribution }}.yml'
|
||||||
- '{{ansible_os_family}}.yml'
|
- '{{ ansible_os_family }}.yml'
|
||||||
- main.yml
|
- main.yml
|
||||||
paths:
|
paths:
|
||||||
- 'vars'
|
- 'vars'
|
||||||
|
|
||||||
- include_tasks: setup-RedHat.yml
|
- include_tasks: setup-RedHat.yml # noqa: name[missing]
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
- include_tasks: setup-Debian.yml
|
- include_tasks: setup-Debian.yml # noqa: name[missing]
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: Install Docker packages.
|
- name: Install Docker packages.
|
||||||
@ -76,7 +76,7 @@
|
|||||||
- name: Ensure handlers are notified now to avoid firewall conflicts.
|
- name: Ensure handlers are notified now to avoid firewall conflicts.
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
- include_tasks: docker-compose.yml
|
- include_tasks: docker-compose.yml # noqa: name[missing]
|
||||||
when: docker_install_compose | bool
|
when: docker_install_compose | bool
|
||||||
|
|
||||||
- name: Get docker group info using getent.
|
- name: Get docker group info using getent.
|
||||||
@ -94,5 +94,5 @@
|
|||||||
- item not in ansible_facts.getent_group["docker"][2]
|
- item not in ansible_facts.getent_group["docker"][2]
|
||||||
with_items: "{{ docker_users }}"
|
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
|
when: at_least_one_user_to_modify is defined
|
||||||
|
Loading…
Reference in New Issue
Block a user