Add docker install
This commit is contained in:
parent
423c8f23c5
commit
e57fcfcfdb
@ -169,6 +169,16 @@
|
||||
state: mounted
|
||||
fstype: nfs4
|
||||
|
||||
- name: Install Docker
|
||||
hosts: nomad_instances
|
||||
become: true
|
||||
vars:
|
||||
deb_arch: "{% if ansible_architecture == 'x86_64' %}amd64{% elif ansible_architecture == 'armv7l' %}armhf{% endif %}"
|
||||
docker_apt_arch: "{{ deb_arch }}"
|
||||
docker_compose_arch: "{{ (ansible_architecture == 'armv7l') | ternary('armv7', ansible_architecture) }}"
|
||||
roles:
|
||||
- geerlingguy.docker
|
||||
|
||||
- name: Build Nomad cluster
|
||||
hosts: nomad_instances
|
||||
any_errors_fatal: true
|
||||
|
Loading…
Reference in New Issue
Block a user