Added containerization

This commit is contained in:
Scott Crossen
2020-10-16 21:21:58 -07:00
parent 53bc7a77e1
commit 51cca4c312
12 changed files with 211 additions and 40 deletions

View File

@ -6,8 +6,6 @@
You need to define a required configuration setting (`{{ item }}`).
when: "vars[item] == ''"
with_items:
- "matrix_dynamic_dns_username"
- "matrix_dynamic_dns_password"
- "matrix_domain"
- "matrix_dynamic_dns_provider"
- "matrix_dynamic_dns_mode"
@ -15,5 +13,5 @@
- name: Fail if dynamic dns mode is incorrect
fail:
msg: >-
matrix_dynamic_dns_mode needs to be set to 'daemon' or 'startup'
matrix_dynamic_dns_mode needs to be set to 'daemon' or 'dhcp'
when: "matrix_dynamic_dns_enabled and matrix_dynamic_dns_mode != 'daemon' and matrix_dynamic_dns_mode != 'dhcp'"