Skip to content

Oefenweb/ansible-mainwp-crons

Repository files navigation

mainwp-crons

CI Ansible Galaxy

Manage cron jobs related to MainWP.

Requirements

Requirements

  • wget (will be not installed)

Variables

  • mainwp_crons_sites [default: []]: A list of MainWP sites
  • mainwp_crons_sites.{n}.name [required]: Name of the site
  • mainwp_crons_sites.{n}.url [required]: Url of the site
  • mainwp_crons_sites.{n}.state: [default: present]: Whether to ensure the job is present or absent

Dependencies

None

Example(s)

Simple configuration
---
- hosts: all
  roles:
    - oefenweb.mainwp-crons
  vars:
    mainwp_crons_sites:
      - name: site
        url: http://localhost

License

MIT

Author Information

  • Mark van Driel
  • Mischa ter Smitten

Feedback, bug-reports, requests, ...

Are welcome!