https://github.com/aboutbits/ansible-rancher
Ansible - Rancher Role
https://github.com/aboutbits/ansible-rancher
ansible ansible-role rancher
Last synced: 3 months ago
JSON representation
Ansible - Rancher Role
- Host: GitHub
- URL: https://github.com/aboutbits/ansible-rancher
- Owner: aboutbits
- Created: 2025-05-08T09:38:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-14T12:45:47.000Z (about 1 year ago)
- Last Synced: 2025-07-02T09:42:34.959Z (about 1 year ago)
- Topics: ansible, ansible-role, rancher
- Language: Jinja
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Ansible Rancher Role
A role to install and configure Rancher.
## Requirements
- Docker and Docker Compose
## Role Variables
- `rancher_version`: Specifies the version of Rancher (Optional)
- `rancher_http_port`: Specifies the HTTP port of Rancher (Optional)
- `rancher_https_port`: Specifies the HTTPS port of Rancher (Optional)
- `rancher_bootstrap_password`: Specifies the bootstrap password (Required)
## Example Playbook
```yaml
- hosts: all
tasks:
- ansible.builtin.include_role:
name: ansible-rancher
vars:
rancher_version: "v2.11.1"
rancher_bootstrap_password: "password"
```
## Build & Publish
To build and publish the role, visit the GitHub Actions page of the repository and trigger the workflow "Release Package" manually.