system-from-scratch/README.md

41 lines
888 B
Markdown
Raw Normal View History

2023-11-01 16:10:08 +05:00
# System from scratch
Ansible playbooks for system configuration.
2024-01-13 16:42:43 +05:00
This repo contains Ansible playbooks for configuring a Debian Linux system from scratch.
It handles tasks like installing packages, configuring services, users, etc.
2024-01-13 16:42:43 +05:00
## Getting Started
1. Clone the repo.
2024-01-13 16:42:43 +05:00
```bash
git clone https://git.comfycamp.space/lumin/system-from-scratch.git
2024-01-13 16:42:43 +05:00
```
2. Create an inventory file.
2024-01-13 16:42:43 +05:00
Example:
2024-01-13 16:42:43 +05:00
```ini
; this group name is used in all playbooks.
2024-01-13 16:51:44 +05:00
[odhosts]
localhost ansible_connection=local
192.0.2.0
2024-01-13 16:42:43 +05:00
```
2024-01-20 12:35:55 +05:00
3. Run a playbook.
```bash
ansible-playbook -i inventory.ini [--ask-become] playbooks/ping.yml
```
2024-01-20 12:35:55 +05:00
## Purpose
2024-01-20 12:35:55 +05:00
This repository can serve as a source of inspiration.
Ansible allows you not only to initially configure the system,
but also to synchronize settings between several computers.
## Contributing
Bug fixes and improvements are welcome, please submit your pull requests.