- Jan 05, 2017
-
-
Bogdan Dobrelya authored
Signed-off-by:
Bogdan Dobrelya <bogdando@mail.ru>
-
Bogdan Dobrelya authored
Signed-off-by:
Bogdan Dobrelya <bogdando@mail.ru>
-
- Dec 28, 2016
-
-
Bogdan Dobrelya authored
* Add restart for weave service unit * Reuse docker_bin_dir everythere * Limit systemd managed docker containers by CPU/RAM. Do not configure native systemd limits due to the lack of consensus in the kernel community requires out-of-tree kernel patches. Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
- Dec 27, 2016
-
-
Bogdan Dobrelya authored
Signed-off-by:
Bogdan Dobrelya <bogdando@mail.ru>
-
- Dec 20, 2016
-
-
Bogdan Dobrelya authored
Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
- Dec 09, 2016
-
-
Bogdan Dobrelya authored
Add upload tag allow users to exclude distributing images across nodes when running with the download tag set. Add related tags and update docs as well. Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
Bogdan Dobrelya authored
Add tags to allow more granular tasks filtering. Add generator script for MD formatted tags found. Add docs for tags how-to. Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
- Nov 24, 2016
-
-
Bogdan Dobrelya authored
When download_run_once with download_localhost is used, docker is expected to be running on the delegate localhost. That may be not the case for a non localhost delegate, which is the kube-master otherwise. Then the dnsmasq role, had it been invoked early before deployment starts, would fail because of the missing docker dependency. * Fix that dependency on docker and do not pre download dnsmasq image for the dnsmasq role, if download_localhost is disabled. * Remove become: false for docker CLI invocation because that's not the common pattern to allow users access docker CLI w/o sudo. * Fix opt bin path hack for localhost delegate to ignore errors when it fails with "sudo password required" otherwise. * Describe download_run_once with download_localhost use case in docs as well. Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
- Nov 22, 2016
-
-
Aleksandr Didenko authored
When setting permission for containers download/upload dir we're using `ansible_ssh_user`. But if playbook is executed without user being explicitly set `ansible_ssh_user` may be undefined. In such situations dir ownership will default to `ansible_user_id` Closes: #644
-
- Nov 18, 2016
-
-
Bogdan Dobrelya authored
* Add download_localhost for the download_run_once mode, which is use the ansible host (a travis node for CI case) to store and distribute containers across cluster nodes in inventory. Defaults to false. * Rework download_run_once logic to fix idempotency of uploading containers. * For Travis CI, enable docker images caching and run Travis workers with sudo enabled as a dependency * For Travis CI, deploy with download_localhost and download_run_once enabled to shourten dev path drastically. * Add compression for saved container images. Defaults to 'best'. Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com> Co-authored-by:
Aleksandr Didenko <adidenko@mirantis.com>
-
Aleksandr Didenko authored
Add one more step (task) to containers download/upload sequence - copy saved .tar containers to ansible host (delegate_to: localhost). Then upload images to target nodes. It uses synchronize module so if ansible host (localhost) is the same host as kube-master[0] then new task causes no issues and the copy to localhost process is basically skipped.
-
- Oct 24, 2016
-
-
Bogdan Dobrelya authored
* Don't push containers if not changed * Do preinstall role only once and redistribute defaults to corresponding roles Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
- Sep 30, 2016
-
-
Bogdan Dobrelya authored
Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
- Sep 28, 2016
-
-
Anthony Haussmann authored
Move the variable kube_version to defaults to have the possibility to overwrite it via group_vars inventory if needed.
-
- Sep 27, 2016
-
-
Bogdan Dobrelya authored
Save/push/load containers if only download.enabled and download.container Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
Aleksandr Didenko authored
"else omit" is causing problems in this expression. Replacing it with more strict "inventory_hostname" fixes the issue and handles `download_run_once` as expected. Closes issue #514
-
- Sep 15, 2016
-
-
Bogdan Dobrelya authored
* Add the retry_stagger var to tweak push and retry time strategies. * Add large deployments related docs. Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
Bogdan Dobrelya authored
Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
Bogdan Dobrelya authored
Move version/repo vars to download role. Add container to download params, which overrides url/source_url, if enabled. Fix networking plugins download depending on kube_network_plugin. Signed-off-by:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
- Jun 29, 2016
-
-
Smana authored
-
- May 23, 2016
-
-
Paul Czarkowski authored
This should make things a little more composable, by making these roles meta roles that perform no actions by default we allow each role to own its own resources.
-
- May 21, 2016
-
-
Paul Czarkowski authored
using a shared folder can cause race conditions for the download role as it tries to download files on all the nodes to the same shared path. This adds a flag to run the tasks in the download role on just one node.
-
- Mar 30, 2016
-
-
teuto.net Netzdienste GmbH authored
-
- Jan 26, 2016
-
-
Antoine Legrand authored
-
- Jan 25, 2016
-
-
Greg Althaus authored
files. get_url doesn't honor owner and mode is spotty.
-
- Jan 24, 2016
-
-
Antoine Legrand authored
-
- Jan 22, 2016
-
-
Smaine Kahlouch authored
-
Smaine Kahlouch authored
-
- Dec 31, 2015
-
-
ant31 authored
-
Smaine Kahlouch authored
-
Smaine Kahlouch authored
-
Smaine Kahlouch authored
-
Smaine Kahlouch authored
-
- Oct 04, 2015
-
-
Smaine Kahlouch authored
-