system-config/playbooks/roles/static/tasks/50-ask.openstack.org.yaml
Ian Wienand 1fbd156697 ask.openstack.org static site
We have decided to decommision the ask.openstack.org server as it is
running EOL Xenial, and its manually purchased certiface is about to
expire.  Although it has been deprecated for some time, we feel like
it has been around long-enough as a resource that it is best if we
replace it with a place-holder.  The links included here are the same
as the currently shown header explaining the site is read-only.

There's nowhere particularly relevant to redirect the site, so we add
a static file here, and some minimal Ansible to put it in the right
place in a generic way in-case we want to do the same for another
service.

Change-Id: I8a31f8fcf9b3064c0ae58e463a6014dc14b518a7
2021-05-25 16:09:52 +10:00

16 lines
332 B
YAML

- name: Create ask directory
file:
path: /var/www/ask.openstack.org
state: directory
owner: www-data
group: www-data
mode: 0755
- name: Copy ask index.html
copy:
src: 'ask.openstack.org/index.html'
dest: '/var/www/ask.openstack.org/index.html'
owner: www-data
group: www-data
mode: 0644