perforce-commit.yml #2

  • //
  • guest/
  • russell_jackson/
  • ansible-sdp/
  • inventories/
  • host_vars/
  • perforce-commit.yml
  • View
  • Commits
  • Open Download .zip Download (993 B)
# workflow vars
# perforce_clean is true for testing. It should normally be false.
perforce_clean: false
dummy_interface: true
copy_license: true
perforce_depots_use_nfs: true

# The DNS name should be set to the DNS of the master server or edge if configuring an edge server
#  perforce_dnsname: "$(hostname)"
perforce_dnsname: "perforce-commit"
perforce_standby_dnsname: "perforce-standby" # Update for failover.
perforce_master_id: "master"
perforce_replica_id: "standby2"
p4serviceuser: "svc_master"
perforce_server_type: "p4d_master"

# Dependency vars
perforce_online_metadata_volume: "mnt/p4meta"
perforce_offline_metadata_volume: "mnt/p4meta"
perforce_data_volume: "mnt/perforce"
# The common volume is normally the same as the data volume, but it can be on a different volume in certain situations.
perforce_common_volume: "{{ perforce_data_volume }}"
perforce_log_volume: "mnt/p4meta"

target_server: "{{ perforce_dnsname if perforce_server_type == 'p4d_edgerep' else commit_dns }}"
# Change User Description Committed
#2 32492 Russell C. Jackson (Rusty) Fix bugs, remove orphaned files, and apply best practices to ansible-sdp

- Fix broken Jinja2 filter syntax (|bool|) in main-playbook.yml
- Fix target_server logic comparing string literals instead of variables
- Fix package install failing on RedHat due to missing OS family guard
- Split packages into OS-agnostic and Debian-specific lists, remove duplicates
- Switch all binary downloads from HTTP to HTTPS
- Remove 7 orphaned files (unused templates, scripts, configs)
- Replace hardcoded emails in cron with template variables
- Fix inconsistent journal rotations (06:00/08:00) to use rotate_journal.sh
- Parameterize admin sudoers and perforce user password
- Fix ansible.cfg malformed vars block
- Fix ansibleuser sudo group for RedHat (wheel) vs Debian (sudo)
- Remove redundant triple broker start/restart in install.yml
- Replace shell sed with ansible.builtin.replace in monitoring role
- Fix duplicate handler and undefined variable in monitoring handlers
- Use notify handlers instead of inline commands for sysctl/THP
- Add idempotency (creates:) to pyenv install
#1 32488 Russell C. Jackson (Rusty) Ansible scaffolding for the sdp - Needs work.