Hi Guys, I am hoping you can help me, I have my site running locally on my machine absolutely fine, I have come to upload this onto my server which is an ubuntu server on the AWS Lightsail service. My issue is that the deploy is halting when it comes to setting up the WP System Cron Please see the error I receive below.
TASK [wordpress-setup : Setup WP system cron] **********************************************************
System info:
Ansible 2.4.3.0; Darwin
Trellis at "Bump Ansible `version_tested_max` to 2.4.3.0"
---------------------------------------------------
The task includes an option with an undefined variable. The error was: 'None'
has no attribute 'enabled'
The error appears to have been in 'myLocalSitePath/trellis/roles
/wordpress-setup/tasks/main.yml': line 45, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Setup WP system cron
^ here
exception type: <class 'ansible.errors.AnsibleUndefinedVariable'>
exception: 'None' has no attribute 'enabled'
fatal: [52.203.19.96]: FAILED! => {}
Why would Ansible be failing here, any help you can give would be great.
Thanks.
Luke