You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
755 B

  1. docker_kernel_min_version: '3.2'
  2. docker_package_info:
  3. pkg_mgr: apt
  4. args:
  5. pkg: "{{ item }}"
  6. update_cache: yes
  7. cache_valid_time: 600
  8. state: latest
  9. pre_pkgs:
  10. - apt-transport-https
  11. - curl
  12. - software-properties-common
  13. pkgs:
  14. - docker-engine
  15. docker_repo_key_info:
  16. pkg_key: apt_key
  17. args:
  18. id: "{{ item }}"
  19. keyserver: hkp://p80.pool.sks-keyservers.net:80
  20. state: present
  21. repo_keys:
  22. - 58118E89F3A912897C070ADBF76221572C52609D
  23. docker_repo_info:
  24. pkg_repo: apt_repository
  25. args:
  26. repo: "{{ item }}"
  27. update_cache: yes
  28. state: present
  29. repos:
  30. - >
  31. deb https://apt.dockerproject.org/repo
  32. {{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}
  33. main