This repository contains Ansible playbooks to configure Fedora workstations and servers.
- Getting Started
- Usage
- Development
- License
- Contributing
- Author
- Dependencies
- Project Structure
- Project Goals
- Reporting Bugs
- Getting Help
- Acknowledgements
- Code of Conduct
- Versioning
- Changelog
- Roadmap
- Support
- Task
- Python 3
- pip for Python 3
Set up the environment and install dependencies:
task setupThis will create a Python virtual environment in .venv and install the necessary Ansible and linting dependencies from requirements.txt.
To run a playbook, use the task deploy-workstation or task deploy-server commands. You can specify the environment (dev, stage, or prod) by setting the ENV variable. The default environment is dev.
# Deploy to a workstation in the 'dev' environment
task deploy-workstation
# Deploy to a workstation in the 'stage' environment
task deploy-workstation ENV=stage# Deploy to a server in the 'dev' environment
task deploy-server
# Deploy to a server in the 'prod' environment
task deploy-server ENV=prodTo lint the Ansible code, run:
task lintThis project uses Molecule to test the Ansible roles. The tests are located in the molecule/ directory within each role.
To run all tests:
task test:allTo run tests for a specific role (e.g., base-system):
task test:base-systemThis project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.
Contributions are welcome! Please feel free to submit a pull request.
- Alistair Y. Lewars
docs/: Contains documentation for the project.inventory/: Contains the Ansible inventory files for different environments (dev, stage, prod).playbooks/: Contains the Ansible playbooks for configuring servers and workstations.roles/: Contains the Ansible roles used by the playbooks.Taskfile.yml: Contains the Task definitions for the project.requirements.txt: Contains the Python dependencies for the project.ansible.cfg: Contains the Ansible configuration for the project.LICENSE: Contains the license for the project.README.md: Contains the documentation for the project.
The goal of this project is to provide a simple and effective way to configure Fedora workstations and servers using Ansible. This project aims to be a starting point for anyone who wants to automate their Fedora infrastructure.
Please report any bugs or issues on the GitHub Issues page.
If you have any questions or need help, please open a discussion on the GitHub Discussions page.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See CODE_OF_CONDUCT.md for details.
This project uses SemVer for versioning. For the versions available, see the tags on this repository.
See the CHANGELOG.md file for details.
- Add more roles for common services
- Improve testing and CI/CD pipeline
- Add support for other Linux distributions
This is a community-supported project. For support, please open an issue or a discussion on the GitHub repository.