blob: cdfd0b4b98328bc986675e17224660c3bb67eee4 [file] [log] [blame]
David K. Bainbridgeb5415042016-05-13 17:06:10 -07001- name: CentOS files are copied
2 copy:
3 src: "{{ item.src }}"
4 dest: "{{ item.dest }}"
David K. Bainbridge17248c02016-08-29 17:04:34 -07005 with_items: "{{ centos_files }}"
David K. Bainbridgeb5415042016-05-13 17:06:10 -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
David K. Bainbridge17248c02016-08-29 17:04:34 -070016 changed_when: true
David K. Bainbridgeb5415042016-05-13 17:06:10 -070017 tags: [docker]
18
19- name: CentOS service is running
20 service:
21 name: docker
22 state: running
23 tags: [docker]
24