From 445918c688446e4ffd78054bf4f2d34ecdee6af4 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Tue, 10 Dec 2024 11:19:19 +0100 Subject: [PATCH] Cs fixes --- .github/workflows/ci.yml | 1 + tasks/main.yml | 8 ++++---- tests/test.yml | 3 ++- tests/vagrant.yml | 3 ++- 4 files changed, 9 insertions(+), 6 deletions(-) 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/main.yml b/tasks/main.yml index d0f4277..557c37b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -30,7 +30,7 @@ state: directory owner: root group: root - mode: 0755 + mode: '0755' tags: - configuration - gnu-parallel @@ -43,7 +43,7 @@ dest: "{{ gnu_parallel_download_path }}/{{ gnu_parallel_download_url | basename }}" owner: root group: root - mode: 0644 + mode: '0644' force: true tags: - configuration @@ -57,7 +57,7 @@ state: directory owner: root group: root - mode: 0755 + mode: '0755' tags: - configuration - gnu-parallel @@ -130,7 +130,7 @@ dest: "{{ ansible_env.HOME }}/" owner: "{{ ansible_env.USER }}" group: "{{ ansible_env.USER }}" - mode: 0644 + mode: '0644' tags: - configuration - gnu-parallel 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: