Merge branch 'master' of ssh://gitea.reslinger.net:2222/adrien/ansible-role-docker

This commit is contained in:
Adrien Reslinger 2018-11-28 10:14:06 +01:00
commit 57004a86ea
4 changed files with 13 additions and 524 deletions

View file

@ -4,12 +4,12 @@
url: https://download.docker.com/linux/ubuntu/gpg
state: present
when:
- docker_ver == "docker-ce"
- docker_ver == "docker_ce"
- name: add docker repository
apt_repository: repo='deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ansible_distribution_release}} stable' state=present update_cache=yes
when:
- docker_ver == "docker-ce"
- docker_ver == "docker_ce"
- name: "Ensure GRUB_CMDLINE_LINUX is updated"
lineinfile: dest=/etc/default/grub regexp='^(GRUB_CMDLINE_LINUX=".*)"$' line='\1 cgroup_enable=memory swapaccount=1"' backrefs=yes