Skip to content

📕Ansible playbooks for Raspberry Pi, Linux and Mac

Notifications You must be signed in to change notification settings

thibmaek/ansible-infra

Repository files navigation

Ansible Playbooks

Getting started

Make sure SSH configs are set up according to inventory.yaml!

# Setup this repo:
$ make install

# Perform a play:
$ ansible-playbook -v playbooks/init_server.yaml

# Performa a play on a specific host:
$ ansible-playbook -v playbooks/common.yaml -l rpi_node_tresor

# Perform a play directly on current host:
$ make play_local playbook=playbooks/local/macos.yaml

Order of running plays (Debian)

Mermaid

Styleguide

This follows:

Performing common plays

Common plays (like common.yaml and upgrades.yaml) are available with make:

  • make play_common
  • make play_upgrade

Encrypting secrets (via vault)

ansible-vault encrypt_string 'secret' --name 'var_name'

About

📕Ansible playbooks for Raspberry Pi, Linux and Mac

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •