Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KSZK
Ansible
Roles
Base
Commits
9fa8026d
Verified
Commit
9fa8026d
authored
Nov 09, 2021
by
rlacko
💬
Browse files
Update readme file
parent
8a9edaa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
9fa8026d
# Role Name
Base role for
every Kubernetes VM
.
Base role for
Virtualmachines
.
It will install base packages, configures ssh and
disables floppy, multipathd for vmware.
##
License
##
More info
MIT
Check out
`meta/defaults.yml`
for variables.
## Author Information
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.
KSZK
## Playbooks using this role
[
Harbor
](
https://git.sch.bme.hu/kszk/sysadmin/kubernetes/harbor
)
[
K8S backup
](
https://git.sch.bme.hu/kszk/sysadmin/kubernetes/backup
)
Add your playbook here!
## Example
`base.yaml`
file:
```
yaml
-
hosts
:
harbor
become
:
true
roles
:
-
role
:
kszk.base
vars_files
:
-
"
vars/base.yaml"
```
`vars/base.yaml`
file:
```
yaml
# 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"
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment