David K. Bainbridge | b541504 | 2016-05-13 17:06:10 -0700 | [diff] [blame^] | 1 | - name: CentOS files are copied |
2 | copy: | ||||
3 | src: "{{ item.src }}" | ||||
4 | dest: "{{ item.dest }}" | ||||
5 | with_items: centos_files | ||||
6 | 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] | ||||
17 | |||||
18 | - name: CentOS service is running | ||||
19 | service: | ||||
20 | name: docker | ||||
21 | state: running | ||||
22 | tags: [docker] | ||||
23 |