Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sbz/freebsd-ansible-config
ansible config for freebsd desktop/laptop or server
https://github.com/sbz/freebsd-ansible-config
ansible configuration freebsd laptop server
Last synced: 19 days ago
JSON representation
ansible config for freebsd desktop/laptop or server
- Host: GitHub
- URL: https://github.com/sbz/freebsd-ansible-config
- Owner: sbz
- Created: 2017-09-18T21:20:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-17T21:10:38.000Z (almost 2 years ago)
- Last Synced: 2024-11-17T09:47:56.026Z (3 months ago)
- Topics: ansible, configuration, freebsd, laptop, server
- Language: Jinja
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# freebsd-ansible-config
[Ansible][1] rules to (re)install your FreeBSD laptop or server.
Requirements
============This make use of [Ansible][1] project. You need to install it with the following
command:```
sudo pkg install -y ansible
```Usage
=====* Laptop deployment
In order to run it, you need to use `bootstrap.sh` script and launch
`ansible-playbook` command with privileged user as below:```
sudo ./bootstrap.sh
sudo ansible-playbook -b -k -u $USER -v playbooks/laptop.yml
```* Server deployment
```
sudo ansible-playbook -v -l server playbooks/server.yml --ssh-extra-args="-A"
```Specification tests
===================Tests are implemented using the Infrastructure test framework [testinfra][2]
We could verify our installation is conformed by launching the spec tests:
```
tests/runtests.sh
```Goal
====The goal is to be able to have a reproducible and idempotent installation.
FAQ
===The laptop deployment use no SSH key, it should be run after your operating
system installation procedure.[1]: https://www.ansible.com
[2]: https://testinfra.readthedocs.io