Skip to content
Open

Lab07 #2878

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 53 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,53 @@
test
# --- OS / IDE ---
.DS_Store
Thumbs.db
.vscode/
.idea/

# --- Python ---
__pycache__/
.pytest_cache/
.ruff_cache/
*.py[cod]
*.pyo
*.pyd
.venv/
venv/
.env

# --- Terraform ---
.terraform/
*.tfstate
*.tfstate.*
crash.log
crash.*.log
*.tfvars
*.tfvars.json
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# --- Pulumi ---
.pulumi/
pulumi.*.log

# Stack config files often contain values you don't want in git (and may contain secrets)
Pulumi.*.yaml
!Pulumi.yaml

# --- Secrets / keys ---
**/key.json
**/*.pem
**/*.p12
**/*.pfx
**/*passphrase*

# Ansible
*.retry
.vault_pass
ansible/inventory/*.pyc
__pycache__/

# GitHub Actions self-hosted runner (local)
actions-runner/
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# DevOps Engineering: Core Practices

[![Ansible Deployment](https://github.com/your-username/your-repo/actions/workflows/ansible-deploy.yml/badge.svg)](https://github.com/your-username/your-repo/actions/workflows/ansible-deploy.yml)

[![Labs](https://img.shields.io/badge/Labs-18-blue)](#labs)
[![Exam](https://img.shields.io/badge/Exam-Optional-green)](#exam-alternative)
[![Duration](https://img.shields.io/badge/Duration-18%20Weeks-lightgrey)](#course-roadmap)
Expand Down Expand Up @@ -39,7 +41,7 @@ Master **production-grade DevOps practices** through hands-on labs. Build, conta
| 16 | 16 | Cluster Monitoring | Kube-Prometheus, Init Containers |
| — | **Exam Alternative Labs** | | |
| 17 | 17 | Edge Deployment | Fly.io, Global Distribution |
| 18 | 18 | Decentralized Storage | 4EVERLAND, IPFS, Web3 |
| 18 | 18 | Reproducible Builds | Nix, Deterministic Builds, Flakes |

---

Expand All @@ -61,7 +63,7 @@ Don't want to take the exam? Complete **both** bonus labs:
| Lab | Topic | Points |
|-----|-------|--------|
| **Lab 17** | Fly.io Edge Deployment | 20 pts |
| **Lab 18** | 4EVERLAND & IPFS | 20 pts |
| **Lab 18** | Reproducible Builds with Nix | 20 pts |

**Requirements:**
- Complete both labs (17 + 18 = 40 pts, replaces exam)
Expand Down Expand Up @@ -142,7 +144,7 @@ Each lab is worth **10 points** (main tasks) + **2.5 points** (bonus).
- StatefulSets, Monitoring

**Exam Alternative (Labs 17-18)**
- Fly.io, 4EVERLAND/IPFS
- Fly.io, Nix Reproducible Builds

</details>

Expand Down
2 changes: 2 additions & 0 deletions ansible/.vault_pass.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
cat /mnt/c/Users/zagur/DevOps/DevOps-Core-Course/ansible/.vault_pass
12 changes: 12 additions & 0 deletions ansible/ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[defaults]
inventory = inventory/hosts.ini
roles_path = ./roles
host_key_checking = False
remote_user = liza
retry_files_enabled = False
vault_password_file = .vault_pass

[privilege_escalation]
become = True
become_method = sudo
become_user = root
Loading