Open isaiaholoyede opened 5 years ago
What version of the project are you using? When did you run debops-update
last? I just did a new release last week because a lot changed with DebOps in the last 6 months so it's possible that that's the issue.
I am running the latest version. I cleaned out my old project and I did debops-update before running it. I also refreshed my DO droplet a second time and re-ran the project just in case I missed a step, and I still got the same error at the same point.
Let me reclone and try it one more time, starting from scratch again. Will let you know.
I am running the latest version. I cleaned out my old project and I did debops-update before running it. I also refreshed my DO droplet a second time and re-ran the project just in case I missed a step, and I still got the same error at the same point.
Let me reclone and try it one more time, starting from scratch again. Will let you know.
Same problem at the same place - I did everything from scratch.
Can you show me the config that you're using? (Sorry, I should have asked that earlier.)
This is what I have:
# .debops.cfg
# DebOps configuration file
# Nothing added here
# hosts
[debops_all_hosts]
genesis.rccgla.org ansible_python_interpreter=/usr/bin/python3
[wordpress]
genesis.rccgla.org
---
# inventory/host_vars/genesis.rccgla.org/vars.yml
wordpress__admin_email: 'xxxx@rccgla.org'
wordpress__admin_username: 'xxxxx'
wordpress__title: 'Light Assembly'
wordpress__domain: 'rccgla.org'
wordpress__table_prefix: 'xxxx_wp_'
wordpress__disable_file_edit: True
wordpress__ssl: True
wordpress__ssl_provider: 'letsencrypt' # Default, not necessary.
wordpress__plugins:
- name: 'google-analytics-dashboard-for-wp'
- name: 'safe-redirect-manager'
- name: 'elasticpress'
- name: 'redis-cache'
- name: 'wordpress-seo'
- name: 'tiny-compress-images'
- name: 'varnish-http-purge'
wordpress__varnish__add_ban_lurker_headers: True
wordpress__varnish__purge_conditions:
'req.http.X-Purge-Method ~ "(?i)regex"': |
ban("obj.http.X-Url ~ " + req.url + " && obj.http.X-Host == " + req.http.host);
return (synth(200, "Purged"));
Let me check things and get back to you. I have a feeling that if you create the secret/pki/realms/by-host/genesis.rccgla.org/rccgla.org/external/
directory manually it'll work. But I'd like to see why it's not created automatically. I might have missed some dependency.
ok.. let me create manually then... I compared your code from the previous version to the new one.. I noticed that instead of wordpress__pki__host_realms
, you now use wordpress__pki__dependent_realms
, could it be the culprit?
Nah, that's a change from the new version of DebOps. Everything needs to go through dependent_
variables.
Did it fix the issue @isaiaholoyede?
Did it fix the issue @isaiaholoyede?
Yes, manually creating the folders fixed the issue. Sorry that I did not get back to you. I had to manually create the folders for internal
, external
, and private
. Creating external
alone still caused it to fail.
Ok, I'll try to figure out why that's happening with @drybjed
Also, I had to add apt__cache_valid_time: 0
as part of vars.yml
because it fails to find the source repo for redis for some weird reason No package matching 'redis-server' is available
- not sure whether it is peculiar to me or it is general.
By the way, great job on this playbook! This is not the first time I will be using this playbook. I just pulled the latest release, but I cannot get the playbook to go past that particular task. I believe that I have things setup correctly.
On close inspection, I noticed that the task is referring to a non-existent directory in the secret folder:
secret/pki/realms/by-host/genesis.rccgla.org/rccgla.org/external/
This directory exists instead:
secret/pki/realms/by-host/genesis.rccgla.org/domain/external/
Could you point me in the right direction of what I must have done wrong?