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 192d43f..a56c022 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -43,7 +43,7 @@ validate: "visudo -cf %s" owner: root group: root - mode: 0440 + mode: '0440' with_dict: "{{ sudoers_sudoers_d_files }}" tags: - configuration @@ -58,7 +58,7 @@ validate: "visudo -cf %s" owner: root group: root - mode: 0440 + mode: '0440' tags: - configuration - sudoers 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: