Fixed README

master
shnee 4 years ago
parent b6d90f536d
commit 9cade6f800

@ -11,16 +11,16 @@ Role Variables
---------------------------------------- ----------------------------------------
The users that will be added to the `docker` group. The users that will be added to the `docker` group.
This role will also install Docker via the 'install\_docker` role. The This role will also install Docker via the `install_docker` role. The
`install\_docker` role accepts a `docker\_users` variable. The `install\_k8s` `install_docker` role accepts a `docker_users` variable. The `install_k8s` role
role just passes through this varaible. just passes through this varaible.
```yml ```yml
docker_users: [admin docker_admin] docker_users: [admin docker_admin]
``` ```
The kubelet config is automatically added to `~/.kube/config` of `ansible\_user` The kubelet config is automatically added to `~/.kube/config` of `ansible_user`
(the user used to run Ansible). Additionally you can set (the user used to run Ansible). Additionally you can set
`copy\_kubectl\_config\_to\_local` to have the file copied to you local machine `copy_kubectl_config_to_local` to have the file copied to you local machine
running the Ansible playbook. running the Ansible playbook.
```yml ```yml
# Defaults to false. # Defaults to false.
@ -42,8 +42,8 @@ Dependencies
Use in requirements.yml Use in requirements.yml
```yml ```yml
- src: git+https://github.com/shnee/docker-ansible-role.git - src: git+https://github.com/shnee/docker-ansible-role.git
name: install_docker name: install_docker
version: master version: master
``` ```
@ -72,4 +72,4 @@ MIT
Author Information Author Information
---------------------------------------- ----------------------------------------
This role was created by [shnee](github.com/shnee). This role was created by [shnee](https://github.com/shnee).

Loading…
Cancel
Save