Compare commits

...

3 Commits

Author SHA1 Message Date
David Vargas 3f512bf9cf [U] . 2022-12-01 14:09:56 +00:00
David Vargas 257f0ea6f1 [U] . 2022-12-01 14:09:51 +00:00
David Vargas 821a163b48 [U] . 2022-12-01 14:09:43 +00:00
5 changed files with 17 additions and 35 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
require_relative "educatic"
require_relative "lib/educatic"
filename = File.join(File.dirname(__FILE__), "services.yaml")
Educatic.new(filename).check

View File

@ -14,6 +14,7 @@ class Educatic
def check
@services.each_pair do |key, value|
output = []
todo = value['todo'] || []
cmd = "host #{value['ip']}| grep #{value['hostname']}| wc -l"
counter = %x[#{cmd}].to_i
@ -22,9 +23,17 @@ class Educatic
output << " * hostname = #{value['hostname']}"
output << " * ip = #{value['ip']}"
end
if (value['hostname'].end_with? ".info" or value['hostname'].end_with? "clients.your-server.de")
todo << "Cambiar <#{value['hostname']}> el dominio @txs.es"
end
if value['hostname'].start_with? "staticeducar.info"
todo << "Cambiar <#{value['hostname']}> el dominio @txs.es"
end
unless value['todo'].nil?
output << " TODO:"
value['todo'].each_with_index do |line, index|
todo.each_with_index do |line, index|
output << " #{index + 1}. #{line}"
end
end

View File

@ -6,7 +6,6 @@ services:
todo:
- Se propone eliminar la MV o...
- Cambiar http por https
- Cambiar dominio <encanarias.info> a <txs.es>
nextcloud:
hetzner: docus
hostname: docs.txs.es
@ -32,7 +31,6 @@ services:
ip: 157.90.144.18
todo:
- Se propone eliminar la MV o...
- Cambiar <default hostname> a <*.txs.es>
jekyll-www:
state: revise
hetzner: txs
@ -69,15 +67,11 @@ services:
hostname: tuvideo.encanarias.info
ip: 116.203.254.222
desc: Peertube
todo:
- Cambiar dominio de <encanarias.info> a <txs.es>
micanal:
hetzner: social
hostname: micanal.encanarias.info
ip: 188.34.188.55
desc: Peertubte
todo:
- Cambiar dominio de <encanarias.info> a <txs.es>
txs:
hetzner: social
hostname: static.192.237.46.78.clients.your-server.de
@ -85,7 +79,6 @@ services:
desc: Mastodon?
todo:
- Se propone eliminar la MV o...
- Cambiar <default hostname> a <*.txs.es>
- "Duda: Esto no parece ser Mastodon!"
xmpp.txs.es:
hetzner: social
@ -97,22 +90,16 @@ services:
hostname: encanarias.info
ip: 78.47.122.22
desc: Diaspora viejo. Red social
todo:
- Dominio antiguo <encanarias.info>
bbbold:
hetzner: ull
hostname: static.19.113.69.159.clients.your-server.de
ip: 159.69.113.19
desc: BBB
todo:
- Cambiar <default hostname> a <*.txs.es>
bbb:
hetzner: ull
hostname: bbb.educar.encanarias.info
ip: 49.12.216.60
desc: BBB
todo:
- Dominio antiguo <encanarias.info>
cryptpad:
hetzner: ull
hostname: cryptpad.txs.es

View File

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
require_relative "educatic"
require_relative "lib/educatic"
filename = File.join(File.dirname(__FILE__), "services.yaml")
Educatic.new(filename).urls

View File

@ -1,7 +1,8 @@
==> mini [docus]
TODO:
1. Se propone eliminar la MV o...
2. Cambiar dominio <encanarias.info> a <txs.es>
2. Cambiar http por https
3. Cambiar <editor.educar.encanarias.info> el dominio @txs.es
==> editorcollab [docus]
TODO:
1. Se muestra la página por defecto de Apache2
@ -9,33 +10,18 @@
==> mailu19 [txs]
TODO:
1. Se propone eliminar la MV o...
2. Cambiar <default hostname> a <*.txs.es>
2. Cambiar <static.18.144.90.157.clients.your-server.de> el dominio @txs.es
==> pixel [social]
TODO:
1. Se propone eliminar esta MV
==> blogs [social]
TODO:
1. Intento de montar <diaspora>
==> tuvideo2 [social]
TODO:
1. Cambiar dominio de <encanarias.info> a <txs.es>
==> micanal [social]
TODO:
1. Cambiar dominio de <encanarias.info> a <txs.es>
==> txs [social]
TODO:
1. Se propone eliminar la MV o...
2. Cambiar <default hostname> a <*.txs.es>
3. Duda: Esto no parece ser Mastodon!
==> encanarias [social]
TODO:
1. Dominio antiguo <encanarias.info>
==> bbbold [ull]
TODO:
1. Cambiar <default hostname> a <*.txs.es>
==> bbb [ull]
TODO:
1. Dominio antiguo <encanarias.info>
2. Duda: Esto no parece ser Mastodon!
3. Cambiar <static.192.237.46.78.clients.your-server.de> el dominio @txs.es
==> cryptpad [ull]
TODO:
1. Había que eliminar esta MV