summaryrefslogtreecommitdiffstats
path: root/molecule/raspberrypi
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2025-12-12 00:29:23 +0100
committerAhmed AbdelHalim <[email protected]>2025-12-12 01:03:42 +0100
commitae729fb095ff1ba0454a26b4fbb3fe0c8b76662c (patch)
treef655e66a44180c2caf0672374b73913fa624ef82 /molecule/raspberrypi
parent6e7fa24ccc7d227ad0d2db62f6ac11564e66dc42 (diff)
Fix testing wrong chroot detection for configure playbook
Theory is that when running a normal user on a docker container that is running root user, something triggers that gather_facts thinks that ansible is running in a chroot (while in fact it's just running in a container mimicking a real system that has multiple users) This is a side effect of fixing the issue that caused the splitting of the bootstrap/configure testing. While some roles can't run root and needs to run some user and not root, setting that in the test isn't possible (AFAIK) and therefore we just override the variable
Diffstat (limited to 'molecule/raspberrypi')
-rw-r--r--molecule/raspberrypi/converge.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/molecule/raspberrypi/converge.yml b/molecule/raspberrypi/converge.yml
index 8fa66dba..e634cddf 100644
--- a/molecule/raspberrypi/converge.yml
+++ b/molecule/raspberrypi/converge.yml
@@ -32,6 +32,7 @@
PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}"
vars:
ansible_become_method: sudo
+ ansible_is_chroot: false
locales:
- "en_US.UTF-8 UTF-8"
timezone: "GMT"