Skip to content

5003/ansible-rancher-provisioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Wizard

vagrant up
vagrant ssh master

cd /vagrant/
make install-ansible
# Current version: 2.1.4.0

Installs the docker and their dependencies to the All hosts:

PARAM="--tags common:setup,docker" make play

Invokes the rancher server to the master host:

PARAM="--limit master --tags rancher:server" make play

Optionally, you can use the preview version: PARAM="--limit master --tags rancher:server --extra-vars rancher_server_version=1.2.0-pre3" make play

Invokes the rancher agent to the kevin.minions, stuart.minions and bob.minions hosts:

PARAM="--limit minions --tags rancher:agent" make play

Optionally, you can use the preview version: PARAM="--limit minions --tags rancher:agent --extra-vars rancher_api_version=v2-beta" make play

Overview

hostname ip address distribution mode inventory group
master 172.16.0.18 CentOS 7.2 server master
kevin.minions 172.16.1.18 Ubuntu 16.04 LTS agent minions, kevin
stuart.minions 172.16.2.18 Ubuntu 14.04 LTS agent minions, stuart
bob.minions 172.16.3.18 Debian GNU/Linux 8.6 agent minions, bob

Manage Versions

You should change these advanced usage settings only if you fully understand the dependencies and relationships and the effects these changes will have.

key default value related tags note
docker_builds_selected main docker:engine You can set main, testing and experimental
docker_engine_version 1.13.1 docker:engine x.x.x
docker_compose_version 1.9.0 docker:compose x.x.x
rancher_server_version 1.5.3 rancher:server x.x.x (with no leading v)
rancher_server_expose_port 8080 rancher:server rancher:agent External Port number for rancher server
rancher_api_version v2-beta rancher:agent v1, v2-beta
rancher_agent_version automatically generated by the rancher server rancher:agent x.x.x (with no leading v)
rancher_compose_version 0.12.4 rancher:compose x.x.x (with no leading v)
rancher_cli_version 0.5.1 rancher:cli x.x.x (with no leading v)

Pull Request

Sorry, this repository is not accepting requests right now.

Releases

No releases published

Packages

No packages published