aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/README.md
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2022-12-17 20:57:20 +0100
committeralex <alex@pdp7.net>2022-12-17 20:57:20 +0100
commit46a0dfd0a659c4085696b9fc89021298a61b85a6 (patch)
tree4c3ff37c710393e212cc917567e870bea65e2651 /personal_infra/README.md
parent95338d2f1be9d9f73658ed0e7dd681413e03b393 (diff)
Add Proxmox networking
Diffstat (limited to 'personal_infra/README.md')
-rw-r--r--personal_infra/README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/personal_infra/README.md b/personal_infra/README.md
index 9d466890..0cd32d5e 100644
--- a/personal_infra/README.md
+++ b/personal_infra/README.md
@@ -4,3 +4,30 @@ This is a collection of files I use setting up my personal infrastructure.
This is a work in progress, as I am redoing a bit how I do configuration management.
The main source is in a private repo, but I put here as much material as I can make public.
Inventory, vaults, etc. remain in the private repo.
+
+## Ansible
+
+### Initial setup
+
+Symlink everything in this directory into your root infrastructure directory.
+
+Create an `inventory` file.
+
+Run `./setup_venv` to create a virtual environment.
+
+Create `vault_password` with a vault password.
+
+### Usage
+
+Run `. .venv/bin/activate` to activate the virtual environment.
+
+Run Ansible commands normally.
+
+## Ansible/Puppet integration
+
+I prefer using Ansible for orchestration, and Puppet for configuration management.
+
+`playbooks/apply_puppet.yml` runs Puppet using Ansible.
+The `puppet` directory contains Puppet manifests.
+
+The playbook adds the Ansible inventory to Puppet using Hiera.