roles/common: Don't run rc.local task on Ubuntu 20.04
We haven't actually used rc.local since Ubuntu 16.04. Now anything that we need to run at boot we can do with systemd anyways.
This commit is contained in:
parent
ef6ce2335e
commit
ba3004ef2b
@ -40,7 +40,7 @@
|
|||||||
tags: sysctl
|
tags: sysctl
|
||||||
|
|
||||||
- name: Reconfigure /etc/rc.local
|
- name: Reconfigure /etc/rc.local
|
||||||
when: ansible_distribution == 'Ubuntu'
|
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('18.04', '<=')
|
||||||
template: src=rc.local_Ubuntu.j2 dest=/etc/rc.local owner=root group=root mode=0755
|
template: src=rc.local_Ubuntu.j2 dest=/etc/rc.local owner=root group=root mode=0755
|
||||||
|
|
||||||
- name: Set I/O scheduler
|
- name: Set I/O scheduler
|
||||||
|
Loading…
Reference in New Issue
Block a user