Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drush
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
drush
Commits
9bcbcf7b
Commit
9bcbcf7b
authored
3 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-inventories/gentner#2386 Update drush cron syntax
parent
b137f733
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/config-8.yml
+2
-2
2 additions, 2 deletions
tasks/config-8.yml
tasks/config-9.yml
+2
-2
2 additions, 2 deletions
tasks/config-9.yml
with
4 additions
and
4 deletions
tasks/config-8.yml
+
2
−
2
View file @
9bcbcf7b
...
...
@@ -123,7 +123,7 @@
tags
:
-
DrushUpdateAliases
-
name
:
Install cron for core
-
cron
-
name
:
Install cron for core
:
cron
cron
:
name
:
Run Drush Cron on @{{ inventory_hostname }}{{ drushSubkey }}
month
:
'
{{
drush_cron_core.month|default(omit)
}}'
...
...
@@ -131,7 +131,7 @@
weekday
:
'
{{
drush_cron_core.weekday|default(omit)
}}'
hour
:
'
{{
drush_cron_core.hour|default(omit)
}}'
minute
:
'
{{
drush_cron_core.minute|default(omit)
}}'
job
:
'
{{
composer_home_path
}}/vendor/bin/drush
-y
@{{
inventory_hostname
}}{{
drushSubkey
}}
core
-
cron
>/dev/null
2>&1'
job
:
'
{{
composer_home_path
}}/vendor/bin/drush
-y
@{{
inventory_hostname
}}{{
drushSubkey
}}
core
:
cron
>/dev/null
2>&1'
disabled
:
'
{{
crons_disabled|default(false)
}}'
when
:
drush_cron_core.active
tags
:
...
...
This diff is collapsed.
Click to expand it.
tasks/config-9.yml
+
2
−
2
View file @
9bcbcf7b
...
...
@@ -65,7 +65,7 @@
-
extra_drush_aliases
when
:
drupal.create_drush_aliases|default(true)
-
name
:
Install cron for core
-
cron
-
name
:
Install cron for core
:
cron
cron
:
name
:
Run Drush Cron on {{ drushAlias }}
month
:
'
{{
drush_cron_core.month|default(omit)
}}'
...
...
@@ -73,7 +73,7 @@
weekday
:
'
{{
drush_cron_core.weekday|default(omit)
}}'
hour
:
'
{{
drush_cron_core.hour|default(omit)
}}'
minute
:
'
{{
drush_cron_core.minute|default(omit)
}}'
job
:
cd {{ webRoot }} && /usr/local/bin/drush -y {{ drushAlias }} core
-
cron >/dev/null 2>&1
job
:
cd {{ webRoot }} && /usr/local/bin/drush -y {{ drushAlias }} core
:
cron >/dev/null 2>&1
disabled
:
'
{{
crons_disabled|default(false)
}}'
when
:
drush_cron_core.active and not drupal.docker|default(false)
tags
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment