[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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:slackware_admin:slackware_automation_using_ansible [2016/08/19 03:10 (UTC)] – [Rational, and What Is Ansible, Anyway?] mmlj4howtos:slackware_admin:slackware_automation_using_ansible [2016/08/22 14:51 (UTC)] – [Rational, and What Is Ansible, Anyway?] mmlj4
Line 1: Line 1:
 ====== Slackware Automation Using Ansible ====== ====== Slackware Automation Using Ansible ======
  
-===== Rational, and What Is Ansible, Anyway? =====+===== Rationale, and What Is Ansible, Anyway? =====
  
 Like everyone else, I used to write Perl and bash scripts to automate things, but decided to learn the modern way of doing such things. I looked at Puppet initially but decided to learn Ansible instead. I wrote a simple collection of Perl scripts and Ansible playbooks to be run on a fresh Slackware install, and was told in Freenode #slackware that I ought to write something for the wiki, which brings us up to date. Like everyone else, I used to write Perl and bash scripts to automate things, but decided to learn the modern way of doing such things. I looked at Puppet initially but decided to learn Ansible instead. I wrote a simple collection of Perl scripts and Ansible playbooks to be run on a fresh Slackware install, and was told in Freenode #slackware that I ought to write something for the wiki, which brings us up to date.
Line 15: Line 15:
 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 download" button and copy the link provided, get root on your Linux box, and type "git clone $URL", then cd to the directory it creates and you've got the code. 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 download" button and copy the link provided, get root on your Linux box, and type "git clone $URL", then cd to the directory it creates and you've got the code.
  
-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.+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.
  
 {{tag>howtos}} {{tag>howtos}}
 howtos:slackware_admin:slackware_automation_using_ansible ()