AdopteUnOps.rancher-add-host

docker-ansible-role

Ansible role to add a host to a Rancher environment.

Requirements

You need to have Docker installed.

Required Variables

rancher_api_key: "mykey"            # Your Rancher API key
rancher_api_secret: "mysecret"      # Your Rancher API secret
rancher_project_name: "default"      # The name of the Rancher project
rancher_project_id: 1234             # The ID of the Rancher project

Role Variables

custom_host_tags: ""                   # Custom tags for the host (optional)
rancher_agent_image: "rancher/agent:{{rancher_agent_version}}"  # The image for Rancher agent
rancher_agent_version: "v1.2.6"        # The version of the Rancher agent
rancher_master_url: "http://localhost:8080"  # URL of the Rancher server
rancher_agent_ip: "{{ ansible_default_ipv4.address }}"  # IP address of the host

License

Apache License 2.0

Informazioni sul progetto

Register a host into rancher environment

Installa
ansible-galaxy install AdopteUnOps.rancher-add-host
Licenza
apache-2.0
Download
249
Proprietario