From 2a182f71dcb81308ef367cc5f5ecfb89807f0fe5 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sat, 10 Jun 2023 22:54:30 +0200 Subject: [PATCH] fixed test following sudoers changes --- molecule/with_ssh_keys/tests/test_default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/molecule/with_ssh_keys/tests/test_default.py b/molecule/with_ssh_keys/tests/test_default.py index 2d79ae7..5e0d878 100644 --- a/molecule/with_ssh_keys/tests/test_default.py +++ b/molecule/with_ssh_keys/tests/test_default.py @@ -23,7 +23,7 @@ def test_ansible_sudoer(host): assert etc_sudoers_d_ansible.exists assert etc_sudoers_d_ansible.user == "root" assert etc_sudoers_d_ansible.group == "root" - assert etc_sudoers_d_ansible.mode == 0o640 + assert etc_sudoers_d_ansible.mode == 0o440 assert etc_sudoers_d_ansible.contains("ansible ALL=(ALL) NOPASSWD: ALL") def test_ansible_ssh_authorized_keys(host):