Verified Commit d99245fa authored by Loïc Dachary's avatar Loïc Dachary
Browse files

website: use {{ domain }} instead of a hardcoded value

parent 17d65cb3
......@@ -27,9 +27,9 @@
path: /srv
owner: debian
- name: git clone https://lab.securedrop.club/main/website
- name: git clone https://lab.{{ domain }}/main/website
git:
repo: "https://lab.securedrop.club/main/website"
repo: "https://lab.{{ domain }}/main/website"
force: yes
dest: /srv/website
become: False
......
......@@ -6,7 +6,7 @@ def test_website(host):
flock /tmp/update-website \
bash -x /srv/update-website.sh \
>> /var/log/update-website.log 2>&1
grep --quiet -i securedrop /var/www/html/index.html
grep --quiet -i enough /var/www/html/index.html
""")
print(cmd.stdout)
print(cmd.stderr)
......
......@@ -30,6 +30,6 @@
http_vhost_name: Website
http_vhost_fqdn: "{{ website_vhost_fqdn }}"
http_vhost_uri: "/"
http_vhost_string: "SecureDrop"
http_vhost_string: "Enough"
become: True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment