Skip to content

ansible config for freebsd desktop/laptop or server

Notifications You must be signed in to change notification settings

sbz/freebsd-ansible-config

Repository files navigation

freebsd-ansible-config

Ansible rules to (re)install your FreeBSD laptop or server.

Requirements

This make use of Ansible 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

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.

About

ansible config for freebsd desktop/laptop or server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published