Don't inject facts as vars

This commit is contained in:
2020-06-27 15:56:55 +02:00
parent bce3dc670b
commit 38b3239854
18 changed files with 73 additions and 72 deletions
+2 -2
View File
@@ -3,9 +3,9 @@
import_role:
name: snapstromegon.uberspace_web_domain
vars:
domain: kodos-{{ ansible_user_id }}.codesignd.net
domain: kodos-{{ ansible_facts.user_id }}.codesignd.net
- name: Set up host site
template:
src: index.html.j2
dest: /var/www/virtual/{{ ansible_user_id }}/html/index.html
dest: /var/www/virtual/{{ ansible_facts.user_id }}/html/index.html