CORD-391 - cleaned up ansible to pass cleanly through ansible-lint
Change-Id: I90284704255edc19abbdb239852c520a4bf48df4
diff --git a/ansible/roles/docker/tasks/centos.yml b/ansible/roles/docker/tasks/centos.yml
index a8910d4..cdfd0b4 100644
--- a/ansible/roles/docker/tasks/centos.yml
+++ b/ansible/roles/docker/tasks/centos.yml
@@ -2,7 +2,7 @@
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
- with_items: centos_files
+ with_items: "{{ centos_files }}"
tags: [docker]
- name: CentOS package is installed
@@ -13,6 +13,7 @@
- name: CentOS Daemon is reloaded
command: systemctl daemon-reload
+ changed_when: true
tags: [docker]
- name: CentOS service is running