https://github.com/zrierc/lauch-pad
Automate setup & Installation for my environments
https://github.com/zrierc/lauch-pad
Last synced: 3 months ago
JSON representation
Automate setup & Installation for my environments
- Host: GitHub
- URL: https://github.com/zrierc/lauch-pad
- Owner: zrierc
- Created: 2024-07-03T13:13:13.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T06:25:38.000Z (11 months ago)
- Last Synced: 2025-01-14T07:09:43.174Z (5 months ago)
- Language: Dockerfile
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lauch-Pad
Personal scripts for setup, load dotfiles and automate configuration for new environments.
### TODO
- [ ] Integrate with my dotfiles
- [ ] Setup private config (ssh, git, pass-manager, vpn, etc)## Pre-Requisite
- Ansible
- Docker## Run
To run the automation script run the following command:
```bash
ansible-playbook local.yml
```You can run the automation script for specify group tools/configurations using tags. For example:
```bash
ansible-playbook -t dotfiles local.yml
```> The command above will start automation script to install required tools, deps and conf for dotfiles only.
## Test
### Validating Playbooks using Linter
https://ansible.readthedocs.io/projects/lint/
[learn more](https://docs.ansible.com/ansible/latest/community/other_tools_and_programs.html#validate-playbook-tools)
### Run Playbook in Check Mode
```bash
ansible-playbook --check local.yml
```[learn more](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_intro.html#running-playbooks-in-check-mode)
### Use docker to test the automation script
- Build image
```bash
chmod +x ./build-containers && ./build-containers
```- Create and run container
```bash
docker run --rm -it new-computer bash
```