Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returning Successful Execution of jobs on target minions #66518

Open
RewaaM opened this issue May 14, 2024 · 2 comments
Open

Returning Successful Execution of jobs on target minions #66518

RewaaM opened this issue May 14, 2024 · 2 comments

Comments

@RewaaM
Copy link

RewaaM commented May 14, 2024

Hi, i am new to salt and i am trying to schedule salt states and find out whether they have successfully been executed on the respective minions or not. I am using schedule.sls to create Jobs, and i am successfully able to run the jobs on the minions during the scheduled time.

However, in the log files on the master, in /var/log/salt/master, there were no logs indicating successful execution of the scheduled job on the minion.I even made sure to include this argument in my scheduled jobs, ' return_job: true'.
On the Master. I want to automatically generate separate directories for each minion containing files of each job scheduled to run on that minion. Each file containing timestamps along with message whenever a job is successfully run on that minion.

Would be great if anyone can guide me on how to do this using salt tools.

Copy link

welcome bot commented May 14, 2024

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants