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
This commit is contained in:
Federico Ressi 2020-05-25 10:20:47 +02:00
parent de0bf0ecd2
commit c85c3af404

View File

@ -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: