Skip to content
Snippets Groups Projects
  1. Jan 05, 2017
  2. Dec 28, 2016
  3. Dec 27, 2016
  4. Dec 20, 2016
  5. Dec 09, 2016
  6. Nov 24, 2016
    • Bogdan Dobrelya's avatar
      Fix download dnsmasq image dependency on docker · aa447585
      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: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      aa447585
  7. Nov 22, 2016
    • Aleksandr Didenko's avatar
      Set defaults for ansible_ssh_user · db03f174
      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
      db03f174
  8. Nov 18, 2016
    • Bogdan Dobrelya's avatar
      Add download localhost and enable for CI · a03540da
      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: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      Co-authored-by: default avatarAleksandr Didenko <adidenko@mirantis.com>
      a03540da
    • Aleksandr Didenko's avatar
      Fix download_run_once for containers · 3e687bbe
      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.
      3e687bbe
  9. Oct 24, 2016
  10. Sep 30, 2016
  11. Sep 28, 2016
  12. Sep 27, 2016
  13. Sep 15, 2016
  14. Jun 29, 2016
  15. May 23, 2016
  16. May 21, 2016
    • Paul Czarkowski's avatar
      race condition in download role under vagrant · ba615ff9
      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.
      ba615ff9
  17. Mar 30, 2016
  18. Jan 26, 2016
  19. Jan 25, 2016
  20. Jan 24, 2016
  21. Jan 22, 2016
  22. Dec 31, 2015
  23. Oct 04, 2015
Loading