Ansible Projekt für Marc's Raspberry Pi
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Goldwaage 056a5c0835 Formatierung der Readme angepasst 1 year ago
roles Ordnerstruktur angelegt 1 year ago
README.md Formatierung der Readme angepasst 1 year ago
inventory Ordnerstruktur angelegt 1 year ago
site.yml Ordnerstruktur angelegt 1 year ago

README.md

raspberrypi-ansible

Ansible Projekt für Marc's Raspberry Pi

ToDo's

Dienste

  • MQTT
  • NodeRED
  • InfluxDB
  • Telegraf
  • Grafana
  • Moodle

Ansible-Struktur

  inventory                # Allgemeines Inventory-Datei kann gesplittet werden in "production" "staging" Umgebungen.

group_vars/
   group1.yml             # here we assign variables to particular groups
   group2.yml
host_vars/
   hostname1.yml          # here we assign variables to particular systems
   hostname2.yml

library/                  # if any custom modules, put them here (optional)
module_utils/             # if any custom module_utils to support modules, put them here (optional)
filter_plugins/           # if any custom filter plugins, put them here (optional)

site.yml                  # master Playbook kann ggf. in mehrere Playbooks aufgeteilt/strukturiert werden

roles/
    common/               # this hierarchy represents a "role"
        tasks/            #
            main.yml      #  <-- tasks file can include smaller files if warranted
        handlers/         #
            main.yml      #  <-- handlers file
        templates/        #  <-- files for use with the template resource
            ntp.conf.j2   #  <------- templates end in .j2
        files/            #
            bar.txt       #  <-- files for use with the copy resource
            foo.sh        #  <-- script files for use with the script resource
        vars/             #
            main.yml      #  <-- variables associated with this role
        defaults/         #
            main.yml      #  <-- default lower priority variables for this role
        meta/             #
            main.yml      #  <-- role dependencies
        library/          # roles can also include custom modules
        module_utils/     # roles can also include custom module_utils
        lookup_plugins/   # or other types of plugins, like lookup in this case

    mqtt/                 # same kind of structure as "common" was above, done for the webtier role
    nodered/              # ""
    influxdb/             # ""
    telegraf/             # ""
    grafana/              # ""
    moodle/               # ""

Glück Auf!