Skip to content

Commit

Permalink
Merge pull request #50 from Oefenweb/make-it-possible-to-replace-word…
Browse files Browse the repository at this point in the history
…press-cron-with-a-real-cron-job

Improved tags
  • Loading branch information
tersmitten authored Oct 26, 2016
2 parents 8a3afec + 513b7c5 commit 983d2b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/wp-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
with_items: "{{ wordpress_installs }}"
when: item.cron is defined and item.cron.use_crond | default(false) == true
tags:
- wordpress-wp-cron-install
- wordpress-wp-cron-disable-wp-cron

- name: wp-cron | enable wp-cron
lineinfile:
Expand All @@ -19,7 +19,7 @@
with_items: "{{ wordpress_installs }}"
when: item.cron is undefined or item.cron.use_crond | default(false) == false
tags:
- wordpress-wp-cron-install
- wordpress-wp-cron-enable-wp-cron

- name: wp-cron | enable crond
cron:
Expand All @@ -35,4 +35,4 @@
user: "{{ item.cron.user if item.cron is defined and item.cron.user is defined else 'www-data' }}"
with_items: "{{ wordpress_installs }}"
tags:
- wordpress-wp-cron-install
- wordpress-wp-cron-enable-crond

0 comments on commit 983d2b2

Please sign in to comment.