muawiakh f2e1b4ac80 Automation for single node deployment for quickstart
- Change consists of two deployment models:
  - Using Vagrant(single node, with/without docker)
  - Using Ansible(single node, with/without docker)
- Updated quickstart documentation.
- Some WIP comments, which will be addressed later. Depending on the
  requirements.
2017-09-14 14:00:13 +02:00

34 lines
686 B
YAML

---
- name: Uninstall older versions of Docker | Fedora
dnf:
name: "{{ item }}"
state: absent
with_items:
- docker-engine-selinux
- docker-common
- docker-engine
- docker-selinux
when: uninstall_old_version
tags: [docker]
- name: Setup Pre-reqs | Fedora
dnf:
name: "{{ item }}"
state: present
with_items:
- dnf-plugins-core
tags: [docker]
- name: Add Docker repo | Fedora
shell: "dnf config-manager --add-repo {{ docker_dnf_repo }}"
tags: [docker]
- name: Update Cache | Fedora
shell: "dnf makecache fast"
tags: [docker]
- name: Install Docker | Fedora
dnf:
name: "{{ docker_pkg }}"
state: present
tags: [docker]