This repository holds a number of ansible scripts that I've found useful for configuring various systems.
The scrips assume that there is a specific user (ansibleadmin
) available on the host that is to be managed and that the local user running the script can log in over SSH as that user without entering a password. The prepare-ansible-target
script is used to create this environment on the host to be managed. When this script is used, you have to specify an account with sudo capability on the managed host. To run this script against a host with IP address HOST-IP that has a sudo-capable account USER, do this:
'ansible-playbook prepare-ansible-target -i HOST-IP, -u USER --ask-pass --ask-become-pass`
Note that the HOST-IP must be followed by a comma.
This table lists the available roles and the platforms on which they have been tested.
Linux Mint | Linux Mint | Ubuntu | Ubuntu | Ubuntu | Debian | Debian | CentOS | CentOS | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Role/ Playbook | Molecule | Tests | 20.1 | 19.1 | 20.04 | 18.04 | 16.04 | 10 | 9 | 8 | 7 |
-------------------------------------------------------------- | ---------------- | ---------- | ------- | ------------ | ------------ | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
anki | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
collaboration_tools | Role | Y | Y | Y | Y | Y | Y | N | Y | Y | N | N |
developer_tools | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
document_tools | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
home_common | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
home-station | Playbook | - | - | - | - | - | - | - | - | - | - | - |
imagemagick-fixup | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
image_manipulation | Role | Y | Y | Y | Y | Y | Y | Y | Y | N | N | |
japanese | Role | Y | Y | Y | Y | Y | Y | Y | Y | N | N | |
mediawiki | Role | Y | Y | Y | Y | Y | N | Y | N | N | N | |
molecule | Role | Y | Y | N | Y | N | N | Y | N | N | N | |
mysql | Role | Y | Y | Y | Y | Y | N | Y | N | N | N | |
nix | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
ntp_client | Role | Y | N | N | Y | Y | Y | Y | Y | N | N | |
nvme_cli | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
php | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
ploticus | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
prepare-ansible-target | Playbook | - | - | - | - | - | - | - | - | - | - | - |
rust | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
utilities | Role | Y | Y | Y | Y | Y | Y | N | N | N | N | |
vagrant | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
virtualbox | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
visual_studio_code | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
vmware_host | Playbook | - | - | - | - | - | - | - | - | - | - | - |
vmware_player | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | N | N |
vpn-station | Playbook | - | - | - | - | - | - | - | - | - | - | - |
webserver | Role | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
work-station | Playbook | - | - | - | - | - | - | - | - | - | - | - |