Fix for distrib dicker version
This commit is contained in:
parent
790bec29ab
commit
28231e4bf1
3 changed files with 13 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue