43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
---
|
|
# =============================================================================
|
|
# Deploy Configuration
|
|
# Purpose: Centralized list of files and folders to deploy to target servers
|
|
# Usage: Referenced by apply.yml and drift-check.yml playbooks
|
|
# =============================================================================
|
|
|
|
# List of files to deploy
|
|
# Each item specifies:
|
|
# - src: source path (relative to repo root)
|
|
# - dest: destination path on target servers
|
|
# - owner: file owner (default: root)
|
|
# - group: file group (default: root)
|
|
# - mode: file permissions (default: 0644)
|
|
# - recursive: if True, use recursive copy for directories (optional)
|
|
# =============================================================================
|
|
|
|
deploy_items:
|
|
- name: "dvir.txt"
|
|
src: "files/dvir.txt"
|
|
dest: "/tmp/dvir.txt"
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
description: "Main configuration file"
|
|
|
|
# Example: add more files below
|
|
# - name: "example.conf"
|
|
# src: "files/example.conf"
|
|
# dest: "/etc/example/example.conf"
|
|
# owner: root
|
|
# group: root
|
|
# mode: "0644"
|
|
#
|
|
# Example: recursive folder deployment
|
|
# - name: "config_folder"
|
|
# src: "files/config/"
|
|
# dest: "/etc/myapp/config/"
|
|
# owner: root
|
|
# group: root
|
|
# mode: "0755"
|
|
# recursive: true
|