mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-26 23:46:11 -03:30
Fix outdated tag and experimental ansible-lint rules (#10254)
* project: fix outdated tag and experimental Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: remove no longer useful noqa 301 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: replace unnamed-task by name[missing] Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix daemon-reload -> daemon_reload Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
This commit is contained in:
committed by
GitHub
parent
4f85b75087
commit
f8f197e26b
@@ -28,7 +28,7 @@
|
||||
{%- endif -%}
|
||||
|
||||
- name: Create gce instances
|
||||
google.cloud.gcp_compute_instance:
|
||||
google.cloud.gcp_compute_instance: # noqa args[module] - Probably doesn't work
|
||||
instance_names: "{{ instance_names }}"
|
||||
machine_type: "{{ cloud_machine_type }}"
|
||||
image: "{{ cloud_image | default(omit) }}"
|
||||
@@ -51,7 +51,7 @@
|
||||
groupname: "waitfor_hosts"
|
||||
with_items: '{{ gce.instance_data }}'
|
||||
|
||||
- name: Template the inventory # noqa 404 CI inventory templates are not in role_path
|
||||
- name: Template the inventory # noqa no-relative-paths - CI inventory templates are not in role_path
|
||||
template:
|
||||
src: ../templates/inventory-gce.j2
|
||||
dest: "{{ inventory_path }}"
|
||||
@@ -64,7 +64,7 @@
|
||||
mode: 0755
|
||||
when: mode in ['scale', 'separate-scale', 'ha-scale']
|
||||
|
||||
- name: Template fake hosts group vars # noqa 404 CI templates are not in role_path
|
||||
- name: Template fake hosts group vars # noqa no-relative-paths - 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