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:
Alan Orth 2015-03-15 17:43:21 +03:00
parent 2367b843d9
commit 9fda345a24
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
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 == '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