Skip to content
Snippets Groups Projects
Commit bf72c6c6 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

feat: add rewrite_map role

parent acc62573
No related branches found
No related tags found
2 merge requests!155Feat http proxy rewrite map,!117This MR merges the feat-hpc-factory branch, which was focused on building and deploying proxy images for the COD cluster.
---
- name: Add apache rewritemap script config
ansible.builtin.template:
src: rewrite_map_config_py.j2
mode: '600'
user: root
group: root
dest: /var/www/rewrite_map_config.py
DEBUG = False
target_groups = {
{% for group in target_groups %}
"{{ group.name }}": "{{ group.host }}",
{% endfor %}
}
{% for group in target_groups %}
{% if group.default %}
default_hostname = "{{ group.host }}"
{% endif %}
{% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment