Tag: Ansible

July 5, 2024

Ansible Tricks: Windows Hosts with MFA or Pre-Authentication

In order to use your OTP to access Windows Hosts you have to use Kerberos. In addition, this allows the passwords to be manually entered by the admin prior to execution. Your management console does not have to join the domain but must have access to at least port 88 on the KDC (Domain Controller) […]

July 5, 2024

Ansible/Linux: Windows Remote Management

There are a few different ways to handle Windows Remote Management (WinRM/Powershell) Configure Windows Hosts All of the configuration can be done via the “ConfigureRemotingForAnsible.ps1 script you can access from this page: https://docs.ansible.com/ansible/latest/os_guide/windows_setup.html ❗ If you have an Enterprise CA, you should not use the self-signed certificate created by the ConfigureRemotingForAnsible script.Instead, you should use […]

July 4, 2024

Linux: Managing sudo

Administrative accounts should rarely be used for interactive logins. This is a fundamental principal of securing your environments. With Linux, there is a tool called sudo that helps manage this.

July 3, 2024

Linux: Signing in with SSH Keys

Creating SSH Keys is a simple process with a slight knowledge of the commands required.

July 2, 2024

Ansible: Installation and First Use

TLDR; sudo apt install python3-pip sshpass sudo pip install ansible #PIP won’t install packages on Ubuntu 24.04 so for that release you must use apt and be ok with the slightly older version. #sudo apt install ansible #What follows assumes you setup an ssh key and sudo is set to nopasswd for the user on […]

July 1, 2024

Ansible – What Is It And How Does It Work?

Ansible is a simple and versatile automation tool for all network-connected devices. Keep your configurations consistent and add new devices rapidly.