Ansible Controller Scaffolding" is a project aimed at streamlining the setup and configuration process for Ansible controllers. The project focuses on providing a structured framework or scaffolding that accelerates the deployment of Ansible controllers, allowing for rapid implementation and scaling of automation tasks across diverse infrastructure environments. This scaffolding encompasses best practices, pre-configured templates, and automation scripts to ensure consistency, efficiency, and reliability in Ansible controller deployments.
- Install NPM:
sudo apt update
sudo apt install npm
- Install Python3 required components:
sudo apt install python3-full
sudo apt install pip
Follow these steps to install and setup the project:
- Clone the repository to your local machine:
git clone [email protected]:ravigehlot/ansible-scaffolding.git
- Navigate to the project directory:
cd ansible-scaffolding
- Set up a Python virtual environment named
.venv
:
python3 -m venv .venv
source .venv/bin/activate
- Install pip-tools:
pip3 install pip-tools
- Compile requirements:
pip-compile requirements.in
- Install the required Python packages:
pip3 install -r requirements.txt
After following these steps, you should have a fully set up project ready for development.
- Install VSCode:
winget install Microsoft.VisualStudioCode
- Change paths on ansible.code-workspace
Visual Studio Code predefined variables do not work here. Change paths to match your environment.
- Open VSCode Workspace:
File -> Open Workspace from File... Open ansible.code-workspace Click "install" on the Recommendations popup to get those VSCode extensions installed.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License. See the LICENSE
file for more
details.