https://github.com/jftuga/ansible_minikube_fedora
Install minikube on Fedora 35 using Ansible
https://github.com/jftuga/ansible_minikube_fedora
Last synced: about 1 year ago
JSON representation
Install minikube on Fedora 35 using Ansible
- Host: GitHub
- URL: https://github.com/jftuga/ansible_minikube_fedora
- Owner: jftuga
- License: mit
- Created: 2021-11-26T14:31:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-26T15:35:45.000Z (over 4 years ago)
- Last Synced: 2025-01-29T23:30:00.527Z (over 1 year ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible_minikube_fedora
Install minikube on Fedora 35 using this Ansible playbook
## Synopsis
This is an ansible playbook that will install [minikube](https://minikube.sigs.k8s.io/docs/) onto a Fedora system. It has been tested with Fedora 35 on an AWS EC2 `t3a.small` instance.
## Playbook Details
1) Configure the [inventory.ini](inventory.ini) file.
* * Replace `w.x.y.z` with your own IP address
* * Set the `ansible_ssh_private_key_file` value
* * Set the `ansible_user` value
* * * **Note:** This user should be able to ssh into the remote system without having to be prompted to accept any ssh keys by using the `ansible_ssh_private_key_file` file mentioned above
2) `Docker` will first be installed via the uploaded `install_docker.sh` script
* * First, edit `DOCKER_USER` to be the same user listed in the `inventory.ini` file
* * Check `/root/install_docker.log` for any errors
3) `Minikube` will then be installed via the uploaded `install_minikube.sh` script
* * Check `/root/install_minikube.log` for any errors
4) Start minikube as the `anisible_user` by using the uploaded `start_minikube.sh` script
* * Check `/home/ANSIBLE_USER/start_minikube.log` for any errors
## Execution
```shell
ansible-playbook -i inventory.ini minikube.yml
```
## Post install
* It is necessary to re-login as the `ansible_user` because this user has been added to the `docker` security group
* Run `minikube status` to check the current operation
## See also
* [Install packages onto Fedora system via Ansible playbook](https://github.com/jftuga/ansible_fedora_post_install)