Fix ansible-lint failures
Change-Id: I452cde8a2c6ea65f0ec81d971e07a406e57067a7
This commit is contained in:
parent
c0246318c9
commit
39cfc87676
@ -1,13 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
#TODO: disable mounting /tmp on a tempfs:
|
|
||||||
# sudo systemctl mask tmp.mount
|
|
||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
- name: 'disable tempfs on Fedora'
|
- name: 'disable tempfs on Fedora'
|
||||||
become: yes
|
become: yes
|
||||||
command: systemctl mask tmp.mount
|
command: systemctl mask tmp.mount # noqa 303
|
||||||
when: ansible_distribution == 'Fedora'
|
when: ansible_distribution == 'Fedora'
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
@ -20,7 +17,7 @@
|
|||||||
auto_attach: yes
|
auto_attach: yes
|
||||||
when:
|
when:
|
||||||
- rh_username is defined
|
- rh_username is defined
|
||||||
- rh_username != ''
|
- (rh_username | length) > 0
|
||||||
|
|
||||||
|
|
||||||
- hosts: primary
|
- hosts: primary
|
||||||
|
Loading…
x
Reference in New Issue
Block a user