alpine: assume one DNS name per host
Avoid needless complexity.
This commit is contained in:
parent
393614aa79
commit
38c3464279
5 changed files with 12 additions and 22 deletions
|
@ -49,7 +49,7 @@
|
|||
line: '{{ item.line }}'
|
||||
loop:
|
||||
- key: '^ALLOWED_HOSTS = '
|
||||
line: "ALLOWED_HOSTS = [{{ fqdns | map('regex_replace', '^(.*)$', '\"\\1\"') | join(', ') }}]"
|
||||
line: "ALLOWED_HOSTS = ['{{ dns_name }}']"
|
||||
- key: 'USER.*PostgreSQL username'
|
||||
line: " 'USER': '{{ user }}', # PostgreSQL username"
|
||||
# XXX unnecessary?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue