Fix ansible-lint failures

Change-Id: I452cde8a2c6ea65f0ec81d971e07a406e57067a7
changes/61/739161/2
Federico Ressi 2020-07-03 07:18:54 +02:00
parent c0246318c9
commit 39cfc87676
1 changed files with 2 additions and 5 deletions

View File

@ -1,13 +1,10 @@
---
#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
command: systemctl mask tmp.mount # noqa 303
when: ansible_distribution == 'Fedora'
ignore_errors: yes
@ -20,7 +17,7 @@
auto_attach: yes
when:
- rh_username is defined
- rh_username != ''
- (rh_username | length) > 0
- hosts: primary