-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkubernetes.yaml
61 lines (41 loc) · 1.21 KB
/
kubernetes.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
- name: Install K3s Kubernetes
hosts: |-
{%- if nfc_pb_host is defined -%}
{{ nfc_pb_host }}
{%- elif nfc_pb_kubernetes_cluster_name is defined -%}
kubernetes_cluster_{{ nfc_pb_kubernetes_cluster_name | lower }}
{%- else -%}
{%- if ansible_limit is defined -%}
{{ ansible_limit }}
{%- else -%}
localhost
{%- endif -%}
{%- endif %}
become: true
gather_facts: true
tasks:
- name: Install/Configure Kubernetes
ansible.builtin.include_role:
name: nofusscomputing.kubernetes.nfc_kubernetes
tags:
- always
vars:
nfc_pb_awx_tower_template:
- name: "Playbook/NoFussComputing/Kubernetes/Install"
ask_credential_on_launch: true
ask_job_type_on_launch: true
ask_limit_on_launch: true
ask_tags_on_launch: true
ask_variables_on_launch: true
description: |
Install/Configure Kubernetes using nfc collection kubernetes.
execution_environment: "No Fuss Computing EE"
job_type: "check"
labels:
- cluster
- k3s
- kubernetes
verbosity: 2
use_fact_cache: true
survey_enabled: false