本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
ka
/
ansible-role-buildbot
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
local facts with role_name
covid-videoplattform
Markus Katharina Brechtel
5 年之前
父節點
5f788b10ef
當前提交
025bc79af0
共有
2 個檔案被更改
,包括
1 行新增
和
3 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
tasks/local_facts.yaml
+0
-2
vars/main.yaml
+ 1
- 1
tasks/local_facts.yaml
查看文件
@@ -8,7 +8,7 @@
- name: set ansible local fact
copy:
content: "{{_local_facts|to_json}}"
dest: /etc/ansible/facts.d/{{
_local_facts
_name}}.fact
dest: /etc/ansible/facts.d/{{
role
_name}}.fact
register: _local_facts_set
- name: Gathering Facts
+ 0
- 2
vars/main.yaml
查看文件
@@ -1,6 +1,4 @@
---
_local_facts_name: buildbot
_local_facts:
database_password: "{% if not ansible_local.buildbot.database_password is defined %}{{ lookup('password', '/dev/null length=16 chars=ascii_letters') }}{% else %}{{ ansible_local.buildbot.database_password }}{% endif %}"
Write
Preview
Loading…
取消
儲存