From c85c3af4046fa3486c886d6d6225d38ba69144b3 Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Mon, 25 May 2020 10:20:47 +0200 Subject: [PATCH] Disable tempfs mounting on /tmp of Fedoras There a no-space left error affecting pip packages installation when using Fedora-32 withing Vagrant Change-Id: I900656f23f5fd9da448294477a174565b29a9a1e --- roles/tests/provision.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/tests/provision.yaml b/roles/tests/provision.yaml index 0bcfc469d..ff5e60ccc 100644 --- a/roles/tests/provision.yaml +++ b/roles/tests/provision.yaml @@ -1,7 +1,16 @@ --- +#TODO: disable mounting /tmp on a tempfs: +# sudo systemctl mask tmp.mount + - hosts: all tasks: + - name: 'disable tempfs on Fedora' + become: yes + command: systemctl mask tmp.mount + when: ansible_distribution == 'Fedora' + ignore_errors: yes + - name: Register as user '{{ rh_username }}' and auto-subscribe to available content become: yes redhat_subscription: