Change to FQCN with ansible-lint fixer

Since ansible-base 2.10 (later ansible-core), FQCN is the new way to go.

Updated .ansible-lint with a production profile and removed fqcn in skip_list.
Updated .yamllint with rules needed.

Ran ansible-lint --fix=all, then manually applied some minor changes.
This commit is contained in:
Richard Holmboe
2024-08-02 09:18:06 +02:00
parent 635f0b21b3
commit 6ed58687d1
48 changed files with 315 additions and 316 deletions

View File

@@ -17,16 +17,16 @@
ansible.builtin.include_tasks: http_proxy.yml
- name: Deploy K3s http_proxy conf
include_tasks: http_proxy.yml
ansible.builtin.include_tasks: http_proxy.yml
when: proxy_env is defined
- name: Configure the k3s service
ansible.builtin.template:
src: "k3s.service.j2"
src: k3s.service.j2
dest: "{{ systemd_dir }}/k3s-node.service"
owner: root
group: root
mode: '0755'
mode: "0755"
- name: Manage k3s service
ansible.builtin.systemd: