diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70e6297..d204d7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,7 @@ jobs: matrix: include: - distro: debian10 + ansible-version: '>=9, <10' - distro: debian11 - distro: debian12 - distro: ubuntu1804 diff --git a/tasks/composer-json.yml b/tasks/composer-json.yml index 0d0cdcc..104b3d4 100644 --- a/tasks/composer-json.yml +++ b/tasks/composer-json.yml @@ -4,7 +4,7 @@ ansible.builtin.file: path: "{{ item.dest | dirname }}" state: directory - mode: 0755 + mode: '0755' with_items: "{{ composer_composer_json_map }}" become: true become_user: "{{ item.owner | default('root') }}" @@ -15,7 +15,7 @@ ansible.builtin.copy: src: "{{ item.src }}" dest: "{{ item.dest }}" - mode: 0644 + mode: '0644' with_items: "{{ composer_composer_json_map }}" become: true become_user: "{{ item.owner | default('root') }}" diff --git a/tasks/install.yml b/tasks/install.yml index 69c9dc5..0fdfba5 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -13,7 +13,7 @@ path: "{{ composer_install_dir }}/composer" owner: root group: root - mode: 0755 + mode: '0755' tags: - composer-install-permissions diff --git a/tests/test.yml b/tests/test.yml index 69b9404..35bffb6 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 0dff732..e355251 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: