* 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. * Changed octal value in molecule/ipv6/prepare.yml
19 lines
458 B
YAML
19 lines
458 B
YAML
---
|
|
- name: Create k3s-node.service.d directory
|
|
ansible.builtin.file:
|
|
path: "{{ systemd_dir }}/k3s-node.service.d"
|
|
state: directory
|
|
owner: root
|
|
group: root
|
|
mode: "0755"
|
|
when: proxy_env is defined
|
|
|
|
- name: Copy K3s http_proxy conf file
|
|
ansible.builtin.template:
|
|
src: http_proxy.conf.j2
|
|
dest: "{{ systemd_dir }}/k3s-node.service.d/http_proxy.conf"
|
|
owner: root
|
|
group: root
|
|
mode: "0755"
|
|
when: proxy_env is defined
|