Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotheevo/ansible-debian
Post fresh install setup automated
https://github.com/dotheevo/ansible-debian
Last synced: about 2 months ago
JSON representation
Post fresh install setup automated
- Host: GitHub
- URL: https://github.com/dotheevo/ansible-debian
- Owner: DoTheEvo
- Created: 2023-12-21T22:44:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-27T00:22:24.000Z (about 1 year ago)
- Last Synced: 2023-12-27T08:22:08.782Z (about 1 year ago)
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Debian
![Logo](https://i.imgur.com/yAyr3S2.png)
Debian variation of my [ansible-arch](https://github.com/DoTheEvo/ansible-arch)
# Overview
The objective is to have an easy way to have fresh Debian installation setup
the way one desires. Reliably and with the least amount of effort.
For this Ansible is used.Ansible is an automation platform.
It executes tasks from `playbooks` on machines listed in `inventory`.
Open source, developed by Red Hat.
Written and dependent on python. Uses YAML configuration files.
Agent-less, controlled machines need just ssh+python (linux) or
winrm+powershell (windows).
Praised for simplicity.This repo aims to be easily customizable, playbooks being as simple as possible.
One should be able to look at them, see how stuff is done and make own changes.# How to execute
install Debian, log in to a non root account that can sudo
* install ansible and git
`sudo apt install ansible git python-is-python3`
* clone this repo
`git clone https://github.com/DoTheEvo/ansible-debian.git`
* enter the directory
`cd ansible-debian`
* run the playbooks you want
* `ansible-playbook -u $USER -K playbook_core.yml`
* `ansible-playbook -u $USER -K playbook_zsh.yml`
* `ansible-playbook -u $USER -K playbook_docker.yml`
* `ansible-playbook -u $USER -K playbook_caddy_kuma_ntfy.yml`yes, you write `$USER` there, which puts in the user you are logged in
the `-K` is short for `--ask-become-pass` which will prompt for password**Removal**
After running playbooks it be good to remove ansible package
and bunch of its dependencies. Saves \~600MB and noise during updates.* `sudo apt remove ansible ansible-core`