roles/common: Fix one logic mistake in rc.local task
I think it was originally supposed to be `ansible_os_family` but we don't have anything other than Ubuntu, so let's just use that. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
2367b843d9
commit
9fda345a24
@ -40,7 +40,7 @@
|
||||
tags: sysctl
|
||||
|
||||
- name: Reconfigure /etc/rc.local
|
||||
when: ansible_distribution == 'Debian'
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
template: src=rc.local_{{ ansible_distribution }}.j2 dest=/etc/rc.local owner=root group=root mode=0755
|
||||
|
||||
- include: ssh-keys.yml
|
||||
|
Loading…
Reference in New Issue
Block a user