瀏覽代碼

Add readlater/wallabag default vars to role

Allen Riddell 9 年之前
父節點
當前提交
19ff4c5958
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10
    0
      roles/readlater/defaults/main.yml

+ 10
- 0
roles/readlater/defaults/main.yml 查看文件

@@ -0,0 +1,10 @@
1
+secret_root: '{{ inventory_dir | realpath }}'
2
+secret_name: 'secret'
3
+secret: '{{ secret_root + "/" + secret_name }}'
4
+
5
+wallabag_version: 1.9.1
6
+wallabag_domain: "read.{{ domain }}"
7
+wallabag_salt: "{{ lookup('password', secret + '/' + 'wallabag_salt', length=32) }}"
8
+wallabag_db_username: wallabag
9
+wallabag_db_password: "{{ lookup('password', secret + '/' + 'wallabag_db_password', length=32) }}"
10
+wallabag_db_database: wallabag

Loading…
取消
儲存