blob: f16315a3b38c9869237ed6b91b01032747f8374f [file] [log] [blame]
Zsolt Harasztiec7df102016-05-05 13:34:18 -07001- name: CentOS files are copied
2 copy:
3 src: "{{ item.src }}"
4 dest: "{{ item.dest }}"
Scott Baker658f0212016-11-01 11:31:17 -07005 with_items: "{{ centos_files }}"
Zsolt Harasztiec7df102016-05-05 13:34:18 -07006 tags: [docker]
7
8- name: CentOS package is installed
9 yum:
10 name: docker-engine
11 state: present
12 tags: [docker]
13
14- name: CentOS Daemon is reloaded
15 command: systemctl daemon-reload
16 tags: [docker]
David K. Bainbridgef5ffb0d2016-11-04 16:14:54 +010017 changed_when: true
Zsolt Harasztiec7df102016-05-05 13:34:18 -070018
19- name: CentOS service is running
20 service:
21 name: docker
22 state: running
23 tags: [docker]
24