mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Rework Role Structure (#254)
* Add more defaults * Rename roles, covert download to airgap role * Remove unnecessary gather_facts Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
2
roles/prereq/defaults/main.yml
Normal file
2
roles/prereq/defaults/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
api_port: 6443
|
||||
@@ -23,11 +23,6 @@
|
||||
- name: Populate service facts
|
||||
ansible.builtin.service_facts:
|
||||
|
||||
- name: Assign api_port if not defined
|
||||
when: api_port is undefined
|
||||
ansible.builtin.set_fact:
|
||||
api_port: 6443
|
||||
|
||||
- name: Allow UFW Exceptions
|
||||
when:
|
||||
- ansible_facts.services['ufw'] is defined
|
||||
|
||||
Reference in New Issue
Block a user