diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-08-11 00:33:31 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-08-11 00:33:31 +0200 |
| commit | d96220d5b940f49dd5e22133c763b85bad91d5a0 (patch) | |
| tree | 947e285c73dd2e45cc66b1429ff87bcf6d723eaf /README.md | |
| parent | 3bea75d706b131adc70e2f436675172a2a3563ed (diff) | |
Update README with detailed instructions
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -21,16 +21,31 @@ Ex. `rm .gitattributes && cp host_vars/ubuntuiso.local.yml.example host_vars/ubu ## Boot distro live image +- [Arch Linux](./archlinux.md) +- [Debian Ubuntu](./ubuntu.md) + ## Playbook: distro-install +- Optional: Clone the [`distro-configure`](https://git.sr.ht/~a14m/ansible-distro-configure) playbook +- Optional: Configure the desired `host_vars` in the `distro-configure` playbook - Follow the pre-install guides for desired distro in "Boot distro live image" - Install ansible required dependencies +- Configure the desired `host_vars` in this playbook - Run the playbook +**Example**: + ```bash +git clone https://git.sr.ht/~a14m/ansible-distro-configure /opt/distro-configure +cp /opt/distro-configure/host_vars/${DISTRO}.local.yml.example /opt/distro-configure/host_vars/${DISTRO}.local.yml + +git clone https://git.sr.ht/~a14m/ansible-distro-install /opt/distro-install +cp /opt/distro-install/host_vars/${DISTRO}iso.local.yml.example /opt/distro-install/host_vars/${DISTRO}iso.local.yml + ansible-galaxy install -r requirements.yml +cd /opt/distro-install -ansible-playbook site.yml --ask-pass +ansible-playbook site.yml --ask-pass --extra-vars '{"configure_playbook_dir":"/opt/distro-configure"}' ``` ## Special Thanks to |
