Added README.md file
This commit is contained in:
parent
d0be3a30d5
commit
8a12ceb2b4
|
@ -0,0 +1,27 @@
|
|||
# k3s playbook
|
||||
|
||||
## Introduction
|
||||
|
||||
This is the top level playbook for the 'k3s' role and will install a k3s
|
||||
cluster to three or more target hosts.
|
||||
|
||||
This playbook requires at least three target hosts, previously deployed. Each
|
||||
host should have at least 4GB of RAM and at least a 20GB disk.
|
||||
|
||||
It is also assumed that the user running the playbook has SSH key access
|
||||
set up for the root user on the target hosts.
|
||||
|
||||
NOTE: If you are installing in a proxied environment, make sure that you
|
||||
have either 'HTTP_PROXY' or 'HTTPS_PROXY' (case is not important)
|
||||
defined in your env variables (usually via ~/.bashrc). In addition
|
||||
to that, you also need to have 'NO_PROXY' (again, case is not
|
||||
important) also defined. This is where the k3s installer will
|
||||
retrieve the relevant proxy configuration values.
|
||||
|
||||
This playbook can be run using the following command line;
|
||||
|
||||
ansible-playbook -i <inventory file> -e "username=<username>" k3s.yml
|
||||
|
||||
ie,
|
||||
ansible-playbook -i k3s_inventory.yml -e "username=ubuntu" k3s.yml
|
||||
|
17
ansible.cfg
17
ansible.cfg
|
@ -1,17 +0,0 @@
|
|||
###########################################################################
|
||||
#
|
||||
# This is a custom ansible configuration file with select config values set
|
||||
# as required.
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
[defaults]
|
||||
callback_whitelist = profile_tasks
|
||||
command_warnings = False
|
||||
deprecation_warnings = False
|
||||
display_skipped_hosts = False
|
||||
host_key_checking = False
|
||||
stdout_callback = default
|
||||
interpreter_python = auto
|
||||
|
||||
# EOF
|
Loading…
Reference in New Issue