* 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
11 lines
285 B
YAML
11 lines
285 B
YAML
---
|
|
- name: Reboot k3s_cluster
|
|
hosts: k3s_cluster
|
|
gather_facts: true
|
|
tasks:
|
|
- name: Reboot the nodes (and Wait upto 5 mins max)
|
|
become: true
|
|
ansible.builtin.reboot:
|
|
reboot_command: "{{ custom_reboot_command | default(omit) }}"
|
|
reboot_timeout: 300
|