Andrew Greenwood
ca9ea097df
Cleanup legacy syntax, spacing, files all to yml
Migrate older inline= syntax to pure yml syntax for module args as to be consistant with most of the rest of the tasks
Cleanup some spacing in various files
Rename some files named yaml to yml for consistancy
7 years ago
Vladimir Rutsky
09847567ae
set "check_mode: no" for read-only "shell" steps that registers result
"shell" step doesn't support check mode, which currently leads to failures,
when Ansible is being run in check mode (because Ansible doesn't run command,
assuming that command might have effect, and no "rc" or "output" is registered).
Setting "check_mode: no" allows to run those "shell" commands in check mode
(which is safe, because those shell commands doesn't have side effects).
7 years ago
Mark Lee
de50f37fea
enable proxy support on docker repository
7 years ago
Matthew Mosesohn
8a821060a3
Update Ansible to 2.2.1
7 years ago
Matthew Mosesohn
74b78e75a1
Always trigger docker restart when docker package changes
Docker upgrade doesn't auto-restart docker, causing failures
when trying to start another container
7 years ago
Matthew Mosesohn
1dce56e2f8
Fix docker dns host scenario with no search domains
Fixes scenario where docker-dns.conf tries to create an empty
search entry
8 years ago
Alexander Block
1d2a18b355
Introduce dns_mode and resolvconf_mode and implement docker_dns mode
Also update reset.yml to do more dns/network related cleanup.
8 years ago
Bogdan Dobrelya
5af2c42bde
Better fix for different CoreOS os family facts
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
8 years ago
Bogdan Dobrelya
f7447837c5
Rename CoreOS fact
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
8 years ago
Alexander Block
ab7df10a7d
Upgrade docker version and do some cleanups for unsupported distros/docker versions
8 years ago
Bogdan Dobrelya
58062be2a3
Drop non systemd OS types support
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
8 years ago
Bogdan Dobrelya
8cc84e132a
Add tags
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>
8 years ago
Chad Swenson
8b5b27bb51
Docker Options Refactor
8 years ago
Bogdan Dobrelya
390764c2b4
Add retry_stagger var for failed download/pushes.
* 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>
8 years ago
Bogdan Dobrelya
783871a253
Add retries for packages installation
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Matthew Mosesohn
e8a1c7a53f
Move docker systemd unit creation to docker role
Creating the unit using default settings early on
and then changing it during network_plugin section
leads to too many docker restarts and duplicated code.
Reversed Wants= dependence on docker.service so it does not
restart docker when reloading systemd
Consolidated all docker restart handlers.
8 years ago
Matthew Mosesohn
33d897bcb6
Force install of specified docker version, fixes #295
This allows Ubuntu/Debian to downgrade Docker version if
a newer version is installed, instead of failing.
8 years ago
Spencer Smith
492218a3e1
resolves coreos nodes not setting up docker proxies
8 years ago
Spencer Smith
66d9a6ebbc
updated to use handlers
8 years ago
Spencer Smith
9b8a757526
missed a name update :)
8 years ago
Spencer Smith
962155e463
updated names and removed checks for rhel, as we already know we have systemd inside that play
8 years ago
Spencer Smith
c90c981bb2
updated to support all OSes using systemd
8 years ago
Spencer Smith
ebf8231c9a
only run if proxy variables are added
8 years ago
Spencer Smith
adceaf60e1
support proxies with docker on rhel
8 years ago
Smana
48a85ce8f8
use docker repository to install on CentOS
8 years ago
Smana
936927a54f
Fix docker install on rhel7
8 years ago
teuto.net Netzdienste GmbH
457ed11b49
fixed deprecation warnings regarding bare variables
8 years ago
Smana
fca384e24c
first version of CoreOS on GCE
Please enter the commit message for your changes. Lines starting
8 years ago
Smaine Kahlouch
4f92417a5d
split network plugins into distinct roles
8 years ago
Smana
b2d6626363
fix some issues with fedora 23 and dnf
8 years ago
Greg Althaus
6163fe166e
Update docker for CentOS issues in AWS and general
variables.
1. AWS has issues with ext4 (use xfs instead for CentOS only)
2. Make sure all the centos config files are include in the systemd config
3. Make sure that network options are set in the correct file by os family
This allows downstream items like opencontrail and others change variables
in expected locations.
8 years ago
ant31
56b92812fa
Fix systemd reload and calico unit
8 years ago
Smaine Kahlouch
8127e8f8e8
Flannel running as pod
9 years ago
ant31
b769636435
Ansible 2.0
9 years ago
Smaine Kahlouch
9f07f2a951
install docker on a largest number of linux distribution (based on https://github.com/marklee77/ansible-role-docker )
9 years ago
Smaine Kahlouch
47c211f9c1
upgrading docker version
9 years ago
Smaine Kahlouch
d3f35e12a2
Simplify docker role, cbr0 for calico isn't required anymore
9 years ago
ant31
fb6dd60f52
Rollback 1.8.3 docker
9 years ago
ant31
323155b0e1
Fix docker
9 years ago
ant31
c352df6fc8
Add Backup
9 years ago
Smaine Kahlouch
b45261b763
remove duplicate task
9 years ago
Smaine Kahlouch
3f8f0f550b
remove duplicate task
9 years ago
ant31
3bf74530ce
Add IP var
9 years ago
Smaine Kahlouch
f216302f95
Calico is not a network overlay
9 years ago
Smaine Kahlouch
6b798d87d1
Docker garbage collection is already managed by kubelet daemon
9 years ago
Smaine Kahlouch
6b6a5ceeae
docker-gc executable cron task
9 years ago
Smaine Kahlouch
e74ad80fe4
Readme v2
9 years ago
Smaine Kahlouch
00c562828f
Initial commit
9 years ago