30 lines
987 B
YAML
30 lines
987 B
YAML
---
|
|
# =============================================================================
|
|
# Deploy Configuration
|
|
# Purpose: Centralized list of files to deploy to target servers
|
|
# Usage: Referenced by apply.yml and drift-check.yml playbooks
|
|
#
|
|
# To add a new file:
|
|
# 1. Create the file in the repo (e.g., files/myfile.conf)
|
|
# 2. Add an entry below with: name, src, dest
|
|
# 3. Commit and push - pipeline handles the rest!
|
|
# =============================================================================
|
|
|
|
# All files use the same owner/group (root) and permissions (0644)
|
|
# Defaults apply to all items - override per-file if needed
|
|
|
|
deploy_items:
|
|
- name: "dvir.txt"
|
|
src: "files/dvir.txt"
|
|
dest: "/tmp/dvir.txt"
|
|
|
|
# Example: To add another file, just uncomment and update the paths:
|
|
# - name: "myapp.conf"
|
|
# src: "files/myapp.conf"
|
|
# dest: "/etc/myapp/myapp.conf"
|
|
#
|
|
# - name: "rsyslog.conf"
|
|
# src: "files/rsyslog.conf"
|
|
# dest: "/etc/rsyslog.d/99-custom.conf"
|
|
|