diff --git a/tasks/repository.yml b/tasks/repository.yml index f6b67fc..a369574 100644 --- a/tasks/repository.yml +++ b/tasks/repository.yml @@ -15,7 +15,7 @@ state: directory owner: root group: root - mode: 0755 + mode: '0755' tags: - yarn-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: "{{ yarn_repositories }}" tags: - yarn-repository-add diff --git a/tests/test.yml b/tests/test.yml index 9d93014..1ab5069 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 1592611..b4dfcee 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 pre_tasks: