Ansible? what is that! ====================== Published : 6 January 2025 Reading : 1 min Tags : Ansible URL : https://ctrl-find.nl/posts/ansible/ Plain text : https://ctrl-find.nl/posts/ansible/index.txt ------------------------------------------------------------ Ansible is a configuration management tool that can be used for configuring servers, clients and network equipment.\ The basic way of using this tool is through **SSH**, utilizing passwords or preferably SSH keys.\ In this series we will be using Ansible for configuring a server through the following options; - **ansible-commands**: Execute single command on a host - **ansible-playbooks**": Run repeatable script(s) on a host - **ansible-roles**: Organize and reuse code for configurations tasks There is a newer version called **ansible-navigator** that's for another post, for now lets stick to the current version called **ansible**. ### How to install There are many different ways to [install](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installation-guide) Ansible on your preferred Operating System.\ In this Ansible series, we will be using MacOS for running Ansible.\ To install Ansible on MacOS, all we need is: - **Install homebrew**:  [here](https://www.igeeksblog.com/how-to-install-homebrew-on-mac/) (optional if you already have homebrew installed). ```bash brew update brew install ansible ``` **brew update** checks for updates and then upgrade the current installed packages and finally, install Ansible through the package manager.\ Once the installation is done, we can verify it by running:\ ```bash ansible --version ``` Now that we have Ansible installed, we can start managing our hosts. Stay tuned for the next post in this series! ------------------------------------------------------------ NAVIGATION [index] https://ctrl-find.nl/posts/index.txt [<< prev] Create and check certificates https://ctrl-find.nl/posts/certificates/index.txt [next >>] Managing Hosts with Ansible https://ctrl-find.nl/posts/ansible_hosts/index.txt ------------------------------------------------------------ CTRL-Find — Debugging all systems https://ctrl-find.nl/