Scheduling via Ansible Tower for daily updates

Ansible Tower allows us to schedule jobs to run automatically against servers. We can configure this in templates by configuring the start date and repeat frequency to execute the playbook.

Ansible Tower job scheduling for automated WordPress updates

Otherwise, we can use the cron job template to perform this daily and add this template while deploying the WordPress setup:

#!/bin/bash/etc/cron.hourly/duply-backupwp core updatewp theme update --allwp plugin update --all

Get Security Automation with Ansible 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.