Both sides previous revisionPrevious revision | |
howtos:slackware_admin:slackware_automation_using_ansible [2016/08/22 14:51 (UTC)] – [Rational, and What Is Ansible, Anyway?] mmlj4 | howtos:slackware_admin:slackware_automation_using_ansible [2023/07/18 14:13 (UTC)] (current) – [Bootstrap A Fresh Slackware Install] mmlj4 |
---|
There are prerequisites, of course... you need git and ansible installed on a Linux machine (perhaps your Ubuntu desktop, maybe), plus you need to set up SSH keys, so that you can log in as root to the Slackware machine you want to set up. Lastly, you need to list your target machine in the /etc/ansible/hosts inventory file on your desktop. Once that's done, you can begin. | There are prerequisites, of course... you need git and ansible installed on a Linux machine (perhaps your Ubuntu desktop, maybe), plus you need to set up SSH keys, so that you can log in as root to the Slackware machine you want to set up. Lastly, you need to list your target machine in the /etc/ansible/hosts inventory file on your desktop. Once that's done, you can begin. |
| |
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://gitlab.com/mmlj4/ansible_slackware_bootstrap|can be found on GitLab]]. 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://gitlab.com/mmlj4/ansible_slackware_bootstrap/-/blob/master/README.md|README file]] 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}} |