kubernetes
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
kubernetes_setup_server: true
kubernetes_setup_agent: false
kubernetes_fetch_k3s_yaml: false
kubernetes_token:
kubernetes_port: 6443
kubernetes_server_dns_name:
kubernetes_server_ip:
kubernetes_server_args: --no-deploy traefik
kubernetes_agent_ip:
kubernetes_agent_args: --kubelet-arg node-status-update-frequencey=5s
kubernetes_install_url: https://get.k3s.io
kubernetes_config_server_path: /etc/rancher/k3s/k3s.yaml
kubernetes_config_local_path: ~/.kube
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: kubernetes
roles:
- role: kubernetes
kubernetes_setup_server: true
kubernetes_setup_agent: false
kubernetes_fetch_k3s_yaml: false
kubernetes_token: ...
kubernetes_server_dns_name: ...
kubernetes_server_ip: ...
kubernetes_agent_ip: ...
GNU AFFERO GENERAL PUBLIC LICENSE
MVladislav