2023-11-01 16:10:08 +05:00
|
|
|
# System from scratch
|
|
|
|
|
2024-01-13 16:42:43 +05:00
|
|
|
A set of ansible scripts to configure my system.
|
|
|
|
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
```bash
|
2024-01-13 16:56:59 +05:00
|
|
|
ansible-playbook -i inventory.ini [--connection=local] [--ask-become] playbooks/ping.yml
|
2024-01-13 16:42:43 +05:00
|
|
|
```
|
|
|
|
|
|
|
|
Note that `inventory.ini` is not included in the repo.
|
|
|
|
|
|
|
|
|
|
|
|
## Inventory example
|
|
|
|
|
|
|
|
```ini
|
2024-01-13 16:51:44 +05:00
|
|
|
[odhosts]
|
2024-01-13 16:42:43 +05:00
|
|
|
192.168.0.1
|
|
|
|
```
|
2024-01-20 12:35:55 +05:00
|
|
|
|
|
|
|
|
|
|
|
## Why is this repository public?
|
|
|
|
|
|
|
|
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.
|