blob: 7907f8684ec8d520110d32b3f5ef2e1d0b3cb36f [file] [log] [blame]
Michal Zegan6a9ea0f2019-05-27 13:57:24 +02001---
2- name: "Create needed dirs for dns role"
3 file:
4 path: "{{ item }}"
5 state: directory
6 mode: "u+rw,g+wx,o+rwx"
7 recurse: true
8 loop:
9 - "{{ app_data_path }}/cfg"
10 - "{{ infra_images_path }}"
11
12- name: Download and archive dnsmasq docker image for the dns role to use
13 delegate_to: localhost
14 docker_image:
15 name: andyshinn/dnsmasq
16 tag: 2.76
17 archive_path: /tmp/dnsmasq.tar
18
19- name: Copy dnsmasq image to node
20 copy:
21 src: /tmp/dnsmasq.tar
22 dest: "{{ infra_images_path }}/{{ dns_server_image_tar }}"