SSE-Lab/ansible
Fabio Sinibaldi 25396b7c0f Install pip and docker (specific version for nextcloud AIO) 2025-11-13 19:00:04 +01:00
..
inventories added docker pwd 2025-11-13 16:44:24 +01:00
playbooks Install pip and docker (specific version for nextcloud AIO) 2025-11-13 19:00:04 +01:00
ansible.cfg Default Ask for Vault Password 2025-08-12 16:44:04 +02:00
readme.md Nextcloud AIO playbook and role 2025-11-11 17:32:52 +01:00

readme.md

Ansible Playbooks

Usage

The inventory defines labs, nodes and their group based on function.

Playbooks run Roles against node groups.

Roles define set of Tasks.

Playbooks

Launch playbooks from present folder in order to use default config file.

Site playbook launches them all. Bootstrap is to be run first on new installations.

Site

This playbook recalls all the following playbooks in the stated order.

Nodes

Basic checks connectivity for all

Swarms
NextCloud

Installs Nextcloud AIO using SSE Lab / dockerized / nextcloud-aio Calls role nextcloud_aio, dependent on docker role. - Downloads SSE-Lab Repo - Runs compose up (using ansible plugins)

E.g. ansible-playbook -i inventories/ -l nextrup_copy_test playbooks/nextcloud.yaml

Bootstrap

Creates sudoer user ansible, necessitates of sudoer user. Use ansible-playbook -i inventories playbooks/bootstrap.yml -l [TARGET_HOST] -e 'ansible_user=[REMOTE_USER]' -K

Inventories

Main Lab

Main lab used for experimenting and development check

Externals

Management of extra infra nodes check

Production

Management of production services, beware!

Hosts are commented by default

Prox1_lab

Prox mox laboratory

TODO

  • K8s cluster
  • Ensure micro on operating nodes
  • Swarm clusters
    • Enabling
      • Bind
      • CEPH storage
    • Monitoring
      • Nagios
    • Swarm 1
  • GOD
    • terraform
    • ansible
    • puppetmaster