blob: 3112554e2e91ab3c70b446aa240a0240e5c9ec75 [file] [log] [blame]
Zack Williams41513bf2018-07-07 20:08:35 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
Zsolt Haraszti3d163532016-09-08 15:57:32 -070014- name: CentOS files are copied
15 copy:
16 src: "{{ item.src }}"
17 dest: "{{ item.dest }}"
18 with_items: centos_files
19 tags: [docker]
20
21- name: CentOS package is installed
22 yum:
23 name: docker-engine
24 state: present
25 tags: [docker]
26
27- name: CentOS Daemon is reloaded
28 command: systemctl daemon-reload
29 tags: [docker]
30
31- name: CentOS service is running
32 service:
33 name: docker
34 state: running
35 tags: [docker]
36