diff --git a/tasks/main.yml b/tasks/main.yml index 7ef1731..b9ac5a7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,7 +1,7 @@ --- - include: setup-RedHat.yml when: ansible_os_family == 'RedHat' -- copy: src=docker.j2 dest=/etc/yum.repos.d/docker.repo +- templates: src=docker.j2 dest=/etc/yum.repos.d/docker.repo when: ansible_os_family == 'RedHat' - include: setup-Debian.yml when: ansible_os_family == 'Debian'