No description
Find a file
2021-02-09 16:27:08 +00:00
roles Load ~/.shrc if using SSH 2021-02-09 16:27:08 +00:00
.gitignore Ignore .retry files 2019-10-03 15:15:04 +01:00
admin-cli.yml Use the same role for CentOS and AlmaLinux 2021-02-08 12:52:31 +00:00
admin-gui.yml Use the same role for CentOS and AlmaLinux 2021-02-08 12:52:31 +00:00
LICENSE Move licenses to subfolders 2020-01-11 17:58:31 +00:00
local.ini Add local.ini inventory for running locally 2020-07-11 16:34:26 +01:00
README.md Add a README.md file 2021-01-26 10:42:14 +00:00
requirements.yml Add requirements.yml to install ansible.posix collection 2021-02-09 16:16:29 +00:00
user-cli.yml Use 'hosts: all' to allow running against remote machines 2020-06-22 23:32:35 +01:00
user-gui.yml Use 'hosts: all' to allow running against remote machines 2020-06-22 23:32:35 +01:00

Workstation Ansible playbooks

This repository sets up various operating systems to my own preference. The playbooks can be run against the local machine:

./user-cli.yml -i ./local.ini

Or they can be run against a remote machine:

./user-cli.yml -i target.example.com,

Note that the trailing comma is important when using a remote hostname.

Cloning without SSL verification

Some platforms (NetBSD, FreeBSD) do not include root SSL certificates by default. This causes the initial git clone to fail with the error server certificate verification failed. You can ignore SSL warnings with the GIT_SSL_NO_VERIFY=true environment variable:

GIT_SSL_NO_VERIFY=true git clone https://code.acperkins.com/acp/workstation.git

This will clone without checking the validation of the root certificates. This should only be done for the initial clone. The playbooks should be configured to set up SSL trust for all future actions (for example by installing and configuring the mozilla-rootcerts-openssl package on NetBSD, or the ca_root_nss package on FreeBSD).