Role Name
Base role for Virtualmachines. It will install base packages, configures ssh and disables floppy, multipathd for vmware.
More info
Check out meta/defaults.yml
for variables.
If you don't want to use the provided templates for ssh or netplan just change the xy_file
variable and
it will point to your playbooks template folder.
Playbooks using this role
Harbor
K8S backup
Temp K8S Gateway
Add your playbook here!
Example
base.yaml
file:
- hosts: harbor
become: true
roles:
- role: kszk.base
vars_files:
- "vars/base.yaml"
vars/base.yaml
file:
# KSZK Base role
base_motd_playbook_url: https://git.sch.bme.hu/kszk/sysadmin/kubernetes/harbor
base_hostname: harbor
base_motd_text: "Harbor"
base_users:
- name: rlacko
sudo: yes
passwordless_sudo: yes
ssh_key: https://git.sch.bme.hu/rlacko.keys
base_ssh:
port: 10022
permitRootLogin: "no"
pubkeyAuthentication: "yes"
passwordAuthentication: "no"
allow:
users: "rlacko"