mise à jours script
This commit is contained in:
parent
0a0fa0b9f1
commit
b7757e4168
@ -70,6 +70,7 @@ for dir in /docker/* ; do
|
|||||||
|
|
||||||
# Ignore _ prefixed directories
|
# Ignore _ prefixed directories
|
||||||
[ "${service::1}" == '_' ] && continue
|
[ "${service::1}" == '_' ] && continue
|
||||||
|
[ ! -d "$dir" ] && continue
|
||||||
|
|
||||||
docker_service="$(echo "$service" | tr '.' '_')"
|
docker_service="$(echo "$service" | tr '.' '_')"
|
||||||
driglibash_section_prefix="[$service] "
|
driglibash_section_prefix="[$service] "
|
||||||
|
@ -29,9 +29,11 @@
|
|||||||
|
|
||||||
- name: Install some softwares
|
- name: Install some softwares
|
||||||
apt:
|
apt:
|
||||||
name: ['bind9', 'certbot', 'dnsutils', 'git', 'gnupg2', 'htop', 'netcat-openbsd', 'nginx', 'rsync', 'sshfs', 'vim', 'zip']
|
name: ['bind9', 'certbot', 'dnsutils', 'git', 'gnupg2', 'htop', 'netcat-openbsd', 'nginx', 'rsync', 'screen', 'sshfs', 'vim', 'wget', 'zip']
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
|
# TODO disable certbot and certbot.timer services. We are using our own
|
||||||
|
|
||||||
- name: create needed dirs
|
- name: create needed dirs
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{item}}"
|
path: "{{item}}"
|
||||||
|
2
services/list_ips.sh
Executable file
2
services/list_ips.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
grep -ho '172.29.[^.]' . -r | sort -u
|
Loading…
Reference in New Issue
Block a user