This website works better with JavaScript.
首頁
探索
說明
註冊
登入
ka
/
ansible-role-debirf
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
custom modules
master
Markus Katharina Brechtel
5 年之前
父節點
a4ad0028f8
當前提交
fed7df0e76
共有
3 個文件被更改
,包括
17 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
defaults/main.yml
+6
-0
files/modules/y0_remove-ssh-host-keys.sh
+8
-0
tasks/prepare.yml
+ 3
- 0
defaults/main.yml
查看文件
@@ -20,6 +20,9 @@ debirf_default_modules:
- z0_remove-locales
- z1_clean-root
debirf_custom_modules:
- y0_remove-ssh-host-keys
debirf_packages:
# packages
- ifupdown
+ 6
- 0
files/modules/y0_remove-ssh-host-keys.sh
查看文件
@@ -0,0 +1,6 @@
#!/bin/sh -e
# debirf module: remove-locales
cd "$DEBIRF_ROOT"/etc/ssh/
rm ssh_host_*
+ 8
- 0
tasks/prepare.yml
查看文件
@@ -30,6 +30,14 @@
group: debirf
with_items: "{{ debirf_default_modules }}"
- name: custom modules
copy:
src: "modules/{{item}}.sh"
dest: "{{ debirf_profile_directory }}/modules/{{item}}.sh"
owner: debirf
group: debirf
with_items: "{{ debirf_custom_modules }}"
- name: packages
template:
src: packages.j2