[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Próxima revisión
Revisión previa
Próxima revisiónAmbos lados, revisión siguiente
es:howtos:slackware_admin:slackware_automation_using_ansible [2019/02/03 21:08 (UTC)] – creado slackwarespanoles:howtos:slackware_admin:slackware_automation_using_ansible [2019/02/04 20:20 (UTC)] m3rsy
Línea 1: Línea 1:
-====== Slackware Automation Using Ansible ======+<note important>TRADUCIENDO BY : M3RSY</note> 
 +====== Slackware Automatización utilizando Ansible ======
  
-===== Rationale, and What Is Ansible, Anyway? =====+===== ¿Justificación y qué es imposible de todos modos? =====
  
-Like everyone elseI used to write Perl and bash scripts to automate thingsbut decided to learn the modern way of doing such thingsI looked at Puppet initially but decided to learn Ansible insteadI wrote a simple collection of Perl scripts and Ansible playbooks to be run on a fresh Slackware installand was told in Freenode #slackware that I ought to write something for the wiki, which brings us up to date.+Como todos los demássolía escribir scripts de Perl bash para automatizar cosaspero decidí aprender la forma moderna de hacer tales cosasMiré a Puppet inicialmente pero decidí aprender Ansible en su lugarEscribí una colección simple de scripts de Perl y libros de juego Ansible para ejecutar en una nueva instalación de Slackware, y en Freenode #slackware se me dijo que debía escribir algo para la wiki, lo que nos pone al día.
  
-So what is [[https://www.ansible.com/|Ansible]]? It's a buzzword-compliant IT automation platform, comparable to Chef, Puppet, Saltstack and whatever else the cool kids are using this week. Ansible's advantages over its competitors is that it's lightweight (it runs over SSH) and it's simple to understand and useIf you're new to Ansible, you might want to take a look at the [[http://docs.ansible.com|official docs]] first.+Entonces, ¿qué es [[https://www.ansible.com/|Ansible]]? ? Es una plataforma de automatización de TI compatible con buzzword, comparable Chef, Puppet, Saltstack y cualquier otra cosa que los niños geniales estén usando esta semanaLas ventajas de Ansible sobre sus competidores es que es liviano (se ejecuta sobre SSH) y es fácil de entender y usarSi eres nuevo en Ansible, es posible que desees consultar primero los  [[http://docs.ansible.com| documentos oficiales]] .
  
-===== Bootstrap A Fresh Slackware Install =====+===== Bootstrap Una instalación Slackware fresca =====
  
-Let's say you have a brand-new Slack 14.2 install... now whatYou have to log in and make sure all the software you want is installedcopy over your .bashrc and whatnotand generally get your shiny new desktop or server ready to be usedYou can use my **ansible_slackware_bootstrap** scripts and playbooks to automate some of that for you.+Digamos que tienes una nueva instalación de Slack 14.2 ... ¿ahora quéDebe iniciar sesión y asegurarse de que todo el software que desea esté instaladocopiar sobre su .bashrc y otras cosasy, en general, preparar su nuevo escritorio o servidor listo para usarPuedes usar mis scripts y playbooks  **ansible_slackware_bootstrap** para automatizar algo de eso para ti.
  
-There are prerequisitesof course... you need git and ansible installed on a Linux machine (perhaps your Ubuntu desktop, maybe), plus you need to set up SSH keysso that you can log in as root to the Slackware machine you want to set upLastlyyou need to list your target machine in the /etc/ansible/hosts inventory file on your desktopOnce that's doneyou can begin.+Por supuestohay requisitos previos ... necesita tener instalado git ansible en una máquina Linux (quizás en su escritorio Ubuntu), además de configurar claves SSH, para que pueda iniciar sesión como root en la máquina Slackware que desea prepararPor últimodebe incluir su máquina de destino en el archivo de inventario / etc / ansible / hosts en su escritorioUna vez hecho estopuedes comenzar.
  
-The latest code [[https://github.com/mmlj4/ansible_slackware_bootstrap|can be found on GitHub]]. All you have to do is click the green "Clone or downloadbutton and copy the link providedget root on your Linux boxand type "git clone $URL", then cd to the directory it creates and you've got the code. +El último código [[https://github.com/mmlj4/ansible_slackware_bootstrap|se puede encontrar en GitHub]]. odo lo que tiene que hacer es hacer clic en el botón verde "Clonar o descargary copiar el enlace proporcionadoobtener root en su caja de Linux, y escribir "git clone $ URL ", luego cd al directorio que crea y obtendrá el código.
- +
-The [[https://github.com/mmlj4/ansible_slackware_bootstrap/blob/master/README.md|README file]] from GitHub will give you more information, but what you want to do is run //**slackware-bootstrap-perl-and-python.pl**//, which will install Perl and Python on your target Slackware machine. After that, run the //**slackware-installsets.yaml**// and //**slackware-admin-setup.yaml**// playbooks, in that order. You can use my runplaybook.pl script for these if you like. Once you're run the scripts and playbooks, log in to your target Slackware machine and verify that slackpkg, sbopkg and your favorite dotfiles are installed.+
  
 +El [[https://github.com/mmlj4/ansible_slackware_bootstrap/blob/master/README.md|README file]] de GitHub le dará más información, pero lo que desea hacer es ejecutar //**slackware-bootstrap-perl-and-python.pl**//, que instalará Perl y Python en su máquina Slackware de destino. Después de eso, ejecute el //**slackware-installsets.yaml**// y //**slackware-admin-setup.yaml**// libros de jugadas, en ese orden. Puedes usar mi script runplaybook.pl para estos si quieres. Una vez que haya ejecutado los scripts y los libros de jugadas, inicie sesión en su máquina Slackware de destino y verifique que slackpkg, sbopkg y sus archivos de puntos favoritos estén instalados.
 {{tag>howtos}} {{tag>howtos}}
 es:howtos:slackware_admin:slackware_automation_using_ansible ()