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:
Alan Orth 2020-04-25 16:19:30 +03:00
parent ef6ce2335e
commit ba3004ef2b
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
tags: sysctl
- 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
- name: Set I/O scheduler