c12s-kubespray/roles/dnsmasq
Bogdan Dobrelya aa447585c4 Fix download dnsmasq image dependency on docker
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>
2016-11-24 18:31:26 +01:00
..
defaults Ensure /etc/resolv.conf content for CoreOS 2016-11-23 16:51:49 +01:00
files Initial commit 2015-10-03 22:19:50 +02:00
handlers Ensure /etc/resolv.conf content for CoreOS 2016-11-23 16:51:49 +01:00
library Fix kubedns idempotency 2016-09-13 16:49:51 +03:00
meta Fix download dnsmasq image dependency on docker 2016-11-24 18:31:26 +01:00
tasks Ensure /etc/resolv.conf content for CoreOS 2016-11-23 16:51:49 +01:00
templates Ensure /etc/resolv.conf content for CoreOS 2016-11-23 16:51:49 +01:00