mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Add ansible-lint to CI (#1181)
* Improve Ansible code. * Add some ansible-lint ignores. * Add ansible-lint to CI.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
tasks:
|
||||
- name: Setup docker
|
||||
ansible.builtin.import_role:
|
||||
name: setup_docker
|
||||
name: setup_docker # noqa: syntax-check[specific]
|
||||
|
||||
- name: Setup Docker SDK for Python
|
||||
ansible.builtin.import_role:
|
||||
@@ -20,4 +20,4 @@
|
||||
- name: Create a Swarm cluster
|
||||
community.docker.docker_swarm:
|
||||
state: present
|
||||
advertise_addr: "{{ansible_default_ipv4.address | default('127.0.0.1')}}"
|
||||
advertise_addr: "{{ ansible_default_ipv4.address | default('127.0.0.1') }}"
|
||||
|
||||
Reference in New Issue
Block a user