diff --git a/roles/mongo/tasks/main.yml b/roles/mongo/tasks/main.yml index 871717dd1..8191f1f5c 100644 --- a/roles/mongo/tasks/main.yml +++ b/roles/mongo/tasks/main.yml @@ -41,10 +41,9 @@ - name: Add mongo kernel settings script to rc.local lineinfile: - dest: "/etc/rc.d/rc.local" + dest: "/etc/rc.local" state: present line: "/usr/local/sbin/mongo_kernel_settings.sh" - create: true - name: Make rc.local executable file: