diff --git a/tasks/main.yml b/tasks/main.yml index fc1e0e5..0c0e102 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -34,7 +34,7 @@ dest: "{{ docker_docker_default_file }}" owner: root group: root - mode: 0644 + mode: '0644' notify: restart docker tags: - configuration diff --git a/tasks/repository.yml b/tasks/repository.yml index 92b96f8..396529c 100644 --- a/tasks/repository.yml +++ b/tasks/repository.yml @@ -15,7 +15,7 @@ state: directory owner: root group: root - mode: 0755 + mode: '0755' tags: - docker-repository-keyrings-directory-create @@ -32,7 +32,7 @@ repo: "{{ item.type }} {{ item.url }} {{ item.component }}" state: "{{ item.state | default('present') }}" update_cache: true - mode: 0644 + mode: '0644' with_items: "{{ docker_apt_repositories }}" tags: - docker-repository-add diff --git a/tests/test.yml b/tests/test.yml index 8d7cd5f..d62b457 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -1,6 +1,7 @@ # test file --- -- hosts: localhost +- name: converge + hosts: localhost connection: local become: true pre_tasks: diff --git a/tests/vagrant.yml b/tests/vagrant.yml index afdaebc..c51aabf 100644 --- a/tests/vagrant.yml +++ b/tests/vagrant.yml @@ -1,6 +1,7 @@ # test file --- -- hosts: all +- name: converge + hosts: all remote_user: vagrant become: true roles: