This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-debirf
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
custom modules
master
Markus Katharina Brechtel
5 years ago
parent
a4ad0028f8
commit
fed7df0e76
3 changed files
with
17 additions
and
0 deletions
Split View
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
View File
@@ -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
View File
@@ -0,0 +1,6 @@
#!/bin/sh -e
# debirf module: remove-locales
cd "$DEBIRF_ROOT"/etc/ssh/
rm ssh_host_*
+ 8
- 0
tasks/prepare.yml
View File
@@ -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