Fix some ansible-lint issues (#907)

* Fix fqcn[action-core].

* Fix fqcn[action].

* Fix jinja[spacing].
This commit is contained in:
Felix Fontein
2025-05-30 22:03:16 +02:00
committed by GitHub
parent 7241d5543a
commit 8792635bef
142 changed files with 2161 additions and 2164 deletions

View File

@@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- name: delete temporary directory
file:
ansible.builtin.file:
path: "{{ remote_tmp_dir }}"
state: absent
no_log: true

View File

@@ -4,12 +4,12 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- name: create ~/tmp
file:
ansible.builtin.file:
path: '~/tmp'
state: directory
- name: create temporary directory
tempfile:
ansible.builtin.tempfile:
state: directory
suffix: .test
path: '~/tmp'
@@ -18,5 +18,5 @@
- delete temporary directory
- name: record temporary directory
set_fact:
ansible.builtin.set_fact:
remote_tmp_dir: "{{ remote_tmp_dir.path }}"

View File

@@ -9,11 +9,11 @@
####################################################################
- name: make sure we have the ansible_os_family and ansible_distribution_version facts
setup:
ansible.builtin.setup:
gather_subset: distribution
when: ansible_facts == {}
- include_tasks: "{{ lookup('first_found', files)}}"
- ansible.builtin.include_tasks: "{{ lookup('first_found', files) }}"
vars:
files:
- "{{ ansible_os_family | lower }}.yml"