Good day team,
We are planning to run the Cron using anisble, while running we are getting
the following message (You (tomcat) are not allowed to use this program
(crontab) Any pointer.
---
-
hosts: test_servers
become: yes
become_user: tomcat
tags:
- cronjobs
tasks:
-
cron:
hour: "23"
job: /bin/logs_rotate.sh
minute: "55"
name: "Run the Logrotate script"
name: "Configure Logrotate script as Cron job"
Regards
Gurudatta N.R
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAM7YPLvg2B-2iuqHomRRzsyPh4wfw9up1zf%2B19WwQYKDW%2BZh1g%40mail.gmail.com.