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.
This commit is contained in:
Greg Althaus
2016-01-30 09:01:04 -06:00
parent 6eff3f0fce
commit 6163fe166e
4 changed files with 18 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
- name: Set docker daemon options
template:
src: docker
dest: "/etc/default/docker"
dest: "{{ '/etc/sysconfig/docker-network' if ansible_os_family == 'RedHat' else '/etc/default/docker' }}"
owner: root
group: root
mode: 0644