Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oefenweb/ansible-mainwp-crons

Ansible role to manage cron jobs related to MainWP
https://github.com/oefenweb/ansible-mainwp-crons

ansible cron-jobs debian mainwp mainwp-crons ubuntu wordpress

Last synced: about 2 months ago
JSON representation

Ansible role to manage cron jobs related to MainWP

Awesome Lists containing this project

README

        

## mainwp-crons

[![CI](https://github.com/Oefenweb/ansible-mainwp-crons/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-mainwp-crons/actions?query=workflow%3ACI)
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-mainwp--crons-blue.svg)](https://galaxy.ansible.com/Oefenweb/mainwp_crons)

Manage [cron jobs](http://docs.mainwp.com/disable-wp-cron/) related to [MainWP](https://mainwp.com/).

#### 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

```yaml
---
- 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](https://github.com/Oefenweb/ansible-mainwp-crons/issues)!