项目作者: fenimore

项目描述 :
ansible playbooks for setting up remote and local hosts
高级语言: Python
项目地址: git://github.com/fenimore/edifice.git
创建时间: 2020-01-23T03:28:08Z
项目社区:https://github.com/fenimore/edifice

开源协议:

下载


Edifice(s)

Ansible Playbooks I use to configure remote and local hosts.

To set up the initial Debian server:

  1. ansible-playbook -i hosts site.yml -u root

This ansible playbook was created for a Digital Ocean instance with Ubuntu 18 LTS installed. The common, nginx, apps, and minio roles will work with Debian.

The common playbook will create a new user, set up some basic security (passwordless SSH, ufw), install zsh/oh-my-zsh and my dotfiles.

The nginx, minio, and apps roles will install nginx, run cerbot for TLS, and install a couple personal apps and my homepage.

The ‘raspberrypi’, mac, jitsi, and raspberrypi playbooks do other random things.

Personal Website

Add a vars/main.yml variables file (using the vars/default.yml).

Debian compatible playbook:

  1. ansible-playbook -i hosts site.yml -u root

RaspberryPi

Add a vars/secrets.yml variables file (leave empty to skip spotify configuration).

Raspbian (Debian) playbook:

  1. touch vars/secrets.yml # add spotify username and password
  2. ansible-playbook -i hosts raspberrypi.yml --tags=pi -u pi

Jitsi Playbook

Debian compatible playbook

  1. ansible-galaxy install systemli.letsencrypt
  2. ansible-galaxy install systemli.jitsi_meet
  3. ansible-playbook -i hosts -u root opticon.yml

Mac Dev Set Up

Localhost playbook for MacOS

  1. # requires x-code
  2. ansible-galaxy install geerlingguy.homebrew
  3. ansible-playbook -v -i hosts mac.yml -K