pasos sencillos para aplicar Vault a playbooks

  1. tenemos las variables en un fichero variables.yml
  2. diferenciamos las “secretas” de las normales
  3. buscamos más variables “secretas” por el yaml
  4. las “secretas” las sacamos de variables.yml, a secret.yml
  5. ampliamos el vars_files para incluir tambien el secret.yml
  6. preparamos un fichero en algun sitio lejano con la contraseña de descifrado del vault, clave.txt
  7. ciframos el fichero secret.yml:
ansible-vault encrypt secreto.yml --vault-password-file clave.txt
  1. llamamos al playbook con la clave:
ansible-playbook play.yml --vault-password-file clave.txt

aqui la pagina oficial de Vault; aqui un tutorial sencillo

unconference, notas

  • basico: la pagina en wikipedia sobre openspace technology. referencias, historia, introduccion…
  • diez reglas simples para organizar una unconference
  • felices casualidades: theantievent, en bilbao. un lugar del que copiar mucho.
  • el tag del congreso en el foro del hacklab, lugar donde escribir los posts previos, y donde se estan planteando las ideas previas
  • una miniguia para el organizador neurotico
  • la web oficial de openspaceworld
  • doing an openspace, a two page primer”, un resumen a traducir.
  • algunos dilemas sobre la introduccion de open space technology
  • how to run an open space event“, en la web del transition movement, como un de los posts de la serie “12 herramientas para la transicion”. Aqui se recuerdan las 4 reglas de openspace, y la ley de los dos pies:

The Four Rules state:

  1. Whoever come are the right people.
  2. Whatever happens is the only thing that could have.
  3. Whenever it starts is the right time.
  4. When it’s over, it’s over.

and The Law of Two Feet states that:

“If, during the course of the gathering, any person finds themselves in a situation where they are neither learning nor contributing, they must use their feet and go to some more productive place.”

en cualquier caso, parece que hay personal curtido en el procedimiento, y parece que las ediciones anteriores ya funcionaron asi:

  • ronda de postits con propuestas de charla
  • (se ordenan las charlas por la organizacion, se votan?)
  • “track unico de charlas/workshops mientras el cuerpo aguante”

un paquete chocolatey: el instalador de Adobe Acrobat DC

Primero preparamos el terreno:

choco new adobeacrobatdc

Despues de investigar un poco con el instalador, podemos averiguar que para instalar Adobe Acrobat DC podemos usar esta linea de comandos:

Setup.exe /sALL /l errores.log

Una vez que tenemos eso claro, podemos rellenar el fichero de metadatos (adobeacrobatdc.nuspec):

<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
 <metadata>
 <id>adobeacrobatdc</id>
 <version>15.007.20033</version> 
 <title>Adobe Acrobat DC</title>
 <authors>Adobe Systems Incorporated</authors>
 <projectUrl>https://adobe.com</projectUrl>
 <requireLicenseAcceptance>true</requireLicenseAcceptance>
 <licenseUrl>https://helpx.adobe.com/x-procuctkb/policy-pricing/volume-licensing-site.html</licenseUrl>
 <tags>adobe acrobat</tags>
 <summary>Edit PDFs</summary>
 <description>Edit PDFs</description>
 </metadata>
 <files>
 <!-- this section controls what actually gets packaged into the Chocolatey package -->
 <file src="tools\**" target="tools" />
 </files>
</package>

Despues tenemos que tocar el script de instalacion para que haga lo que esperamos que hace:

$packageName = 'adobeacrobatdc'
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)\\acrobat\\"
$fileLocation = Join-Path $toolsDir 'Setup.exe'

$packageArgs = @{  
  packageName = $packageName  
  fileType = 'exe'  
  file = $fileLocation  
  silentArgs = "/sALL /l errores.log"  
  validExitCodes = @(0)}

Install-ChocolateyInstallPackage @packageArgs

Y por ultimo, copiamos en tools/acrobat/ el contenido del directorio del instalador. Este es porque $MyInvocation.MyCommand.Definition nos devuelve la ruta de tools/ Habrá otras formas de hacerlo mas “bonito”, seguramente.

Solo nos queda hacer

choco pack adobeacrobartdc.nuspec

y tendremos nuestro empaquetado listo para usar!!

Del resto de ficheros que crea el NEW, podemos dejar el uninstall y el modify. El resto se puede borrar.

Utopias en la era de la distopia

Check out @mbauwens’s Tweet: https://twitter.com/mbauwens/status/892652479179091968?s=09

As Lewis Mumford remarks: “Our choice is not between eutopia and the world as it is, but between eutopia and nothing —or rather nothingness.’  His conclusion resounds: ‘Our most important task at the present moment is to build castles in the air.  Mumford referred to what he called a reconstructive utopia, which he described as ‘a reconstituted environment that is better adapted to the nature and aims of the human beings who dwell within it than the actual one’. In the present context, the idea of human nature is too problematic, and the reconstructive utopia hence does not make claim on human nature but  believes in the power of reality- transcending eutopian images can be termed “retopia”. It could be that the most fertile ground for reality-transcending concepts in the retopian mode are the  places that were left behind by the global markets, or, to recall the comments of Mumford: It should not surprise us therefore if the foundations for eutopia were established in ruined countries; that is, in countries where metropolitan civilization has collapsed and where all its  paper prestige is no longer accepted at paper value’. In the present context, the topos of the retopia could thus be abandoned villages in Spain, derelict industrial areas in Latvia, or post-industrial metropolitan areas such as Detroit. The retopian experiments in these places could  be based on a return to the commons and thereby practically reanimate the idea of society on a small scale. While the island of Nauru has lost its core and is doomed to vanish, the islands of retopia are yet to take shape”

Frases fundacionales

Cristo Contreras: “somos perrillos que van detrás de cada coche que pasa por delante, no paran de correr pero no van a ningún lado”

recreativa con cartuchos para los juegos

en lugar de un sistema de menus, objetos fisicos que, al acercarlos a la maquina activa el juego corresponediente. Y un armario con una coleccion de juegos “originales” en cartucho…

para la serie “cosas que se pueden hacer con NFC tags”

metafora de vinilos con NFC

  • una caja llena de tarjetas con las portadas de discos
  • un lector de nfc, un arduino y una raspi, todo en un caja bonita
  • una salida de audio razonable
  • una cuenta spotify…

otro proyecto divertido con NFC.

de una conversacion en twitter.

…para la serie “cosas que se pueden hacer con NFC tags”