mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 01:28:11 -03:30
Fix ansible-lint E404 (#6417)
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
instance_tags: "{{ aws.tags }}"
|
||||
register: ec2
|
||||
|
||||
- name: Template the inventory # noqa 404
|
||||
- name: Template the inventory
|
||||
template:
|
||||
src: ../templates/inventory-aws.j2
|
||||
src: ../templates/inventory-aws.j2 # noqa 404 CI inventory templates are not in role_path
|
||||
dest: "{{ inventory_path }}"
|
||||
|
||||
@@ -86,8 +86,8 @@
|
||||
msg: "{{ droplets }}, {{ inventory_path }}"
|
||||
when: state == 'present'
|
||||
|
||||
- name: Template the inventory # noqa 404
|
||||
- name: Template the inventory
|
||||
template:
|
||||
src: ../templates/inventory-do.j2
|
||||
src: ../templates/inventory-do.j2 # noqa 404 CI templates are not in role_path
|
||||
dest: "{{ inventory_path }}"
|
||||
when: state == 'present'
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
add_host: hostname={{ item.public_ip }} groupname="waitfor_hosts"
|
||||
with_items: '{{ gce.instance_data }}'
|
||||
|
||||
- name: Template the inventory # noqa 404
|
||||
- name: Template the inventory # noqa 404 CI inventory templates are not in role_path
|
||||
template:
|
||||
src: ../templates/inventory-gce.j2
|
||||
dest: "{{ inventory_path }}"
|
||||
@@ -60,7 +60,7 @@
|
||||
state: directory
|
||||
when: mode in ['scale', 'separate-scale', 'ha-scale']
|
||||
|
||||
- name: Template fake hosts group vars # noqa 404
|
||||
- name: Template fake hosts group vars # noqa 404 CI templates are not in role_path
|
||||
template:
|
||||
src: ../templates/fake_hosts.yml.j2
|
||||
dest: "{{ inventory_path|dirname }}/group_vars/fake_hosts.yml"
|
||||
|
||||
Reference in New Issue
Block a user