diff --git a/tasks/repository.yml b/tasks/repository.yml index 764f416..47eee09 100644 --- a/tasks/repository.yml +++ b/tasks/repository.yml @@ -15,7 +15,7 @@ state: directory owner: root group: root - mode: 0755 + mode: '0755' tags: - virtualbox-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: "{{ virtualbox_repositories }}" tags: - virtualbox-repository-add diff --git a/tests/test.yml b/tests/test.yml index be2b897..6ca55c7 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 roles: 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: