Ansible: add playbook to delete the .lttng folder of the jenkins user
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 22 Jul 2022 14:20:04 +0000 (10:20 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 22 Jul 2022 14:29:58 +0000 (10:29 -0400)
commit329764fba9292427ab3d4bf764a96623a19e4944
treeef751d30e17d98b154dbef44e31cd4cb4a94dc1a
parente1153f2703b5f8fb2c7d9d27c0f317ac7b077865
Ansible: add playbook to delete the .lttng folder of the jenkins user

The lttng-tools jobs currently do not use a custom LTTNG_HOME thus
lttng-sessiond uses /home/jenkins/.lttng as its rundir. Files in this
directory might not be always cleanup-up by lttng-sessiond during
testing. Normally this is not a problem but it is if someone (me) is
playing with the permissions of those files (lttng-sessiond side) and
end up setting a read only permissions for the user. This prevent
subsequent jobs from opening and overwriting the value of the files if
they are already present.

Removing the directory solves the problem for the CI infra.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: I102cd46368654999bd3d814dd0e09180700a129f
automation/ansible/playbooks/delete-dot-lttng.yml [new file with mode: 0644]
This page took 0.02391 seconds and 4 git commands to generate.