managing Gentoo services

23 views
Skip to first unread message

Phil Barron

unread,
Mar 4, 2015, 12:31:19 AM3/4/15
to ansible...@googlegroups.com
Hi,

I have a playbook that enables the vixie-cron service on Gentoo

However it fails to start the service using init scripts.  Is there a different way of managing services on Gentoo systems?

Thanks.


---

- name: Configuring service
  service: name=vixie-cron state=started enabled=yes
  tags:
    - system
    - cron
    - service



failed: [rnce-lcl] => {"failed": true, "parsed": false}
{"msg": "[Errno 2] No such file or directory", "failed": true, "cmd": "initctl version", "rc": 2}
{"msg": "cannot find 'service' binary or init script for service,  possible typo in service name?, aborting", "failed": true}

Brian Coca

unread,
Mar 4, 2015, 9:59:51 AM3/4/15
to ansible...@googlegroups.com
I just tried 1.8.4 and current development, this works for me on Gentoo



--
Brian Coca
Reply all
Reply to author
Forward
0 new messages