Matthew Mosesohn
dc6a17e092
Use include/import tasks ( #2192 )
import_tasks will consume far less memory, so it should be
used whenever it is compatible.
6 years ago
Evan Zeimet
a6975c1850
Rename runtime docker_version ( #2082 )
Renaming runtime docker_version to prevent setting that
value on the command line from breaking the play run.
This fixes #2081
7 years ago
Spencer Smith
53a4355e60
set docker_version fact regardless of docker_dns in use
7 years ago
Spencer Smith
b27453d8d8
improved proxy support
7 years ago
Chad Swenson
256bbb1a8a
Parameterize apt repo endpoints
This allows overriding of apt repo endpoints when internet sources are not accessible. Additionally, switch to using the dockerproject.org gpg key url for apt instead of keyservers.net
7 years ago
Matthew Mosesohn
eb0dcf6063
Improve proxy ( #1771 )
* Set no_proxy to all local ips
* Use proxy settings on all necessary tasks
7 years ago
Aivars Sterns
9c86da1403
Normalize tags in all places to prepare for tag fixing in future ( #1739 )
7 years ago
Brad Beam
8b151d12b9
Adding yamllinter to ci steps ( #1556 )
* Adding yaml linter to ci check
* Minor linting fixes from yamllint
* Changing CI to install python pkgs from requirements.txt
- adding in a secondary requirements.txt for tests
- moving yamllint to tests requirements
7 years ago
Matthew Mosesohn
7760c3e4aa
Retry yum/apt/rpm download commands, fix succeeded filter
7 years ago
Vijay Katam
a0b1eda1d0
Add support for atomic host
Updates based on feedback
Simplify checks for file exists
remove invalid char
Review feedback. Use regular systemd file.
Add template for docker systemd atomic
7 years ago
Mark Lee
de50f37fea
enable proxy support on docker repository
7 years ago
neith00
bbc8c09753
Using the command module instead of raw
Using the command module instead of raw.
Also fixed the syntax.
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
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
9b8a757526
missed a name update :)
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
00c562828f
Initial commit
9 years ago