all.yml #1

  • //
  • guest/
  • russell_jackson/
  • ansible-sdp/
  • roles/
  • perforce-sdp-install/
  • molecule/
  • default/
  • group_vars/
  • all.yml
  • View
  • Commits
  • Open Download .zip Download (445 B)
---
# Variables loaded by Ansible (not subject to Molecule's ${VAR} config
# interpolation). The perforce_user_password is a $6$ SHA-512 crypt hash whose
# '$' characters break Molecule's molecule.yml interpolation, so it lives here.
#
# openssl passwd -6 -salt PerforceRules (test-only; never used in production).
perforce_user_password: "$6$PerforceRules$DahgNsXI/V89vqPAXzwflxe7wU09fotIVI5waJACxVd01.EQpQqd5zdnbtgaV.ylstYfQq30xGEBC7yznkE6X1"
# Change User Description Committed
#1 32880 Russell C. Jackson (Rusty) molecule/perforce-sdp-install: make the role idempotent + add group_vars

Idempotence fixes (the molecule idempotence step now passes):
- install.yml: gate the SDP download/unpack include on 'not sdp_installed'
  (unarchive is not idempotent; matches the existing cleanup gate).
- users.yml: known_hosts touch preserves timestamps; ssh_config copy uses
  force:false so it doesn't fight the 'Add ssh config lines' blockinfile; drop
  'force' on the ansibleuser user (it regenerated the SSH key every run).
- Add molecule/default/group_vars/all.yml (perforce_user_password hash; its '$'
  sequences cannot live in molecule.yml due to interpolation).

Full 'molecule test' (create/prepare/converge/idempotence/verify/destroy) now
passes on Ubuntu 22.04 and Rocky 9 (native arm64 + aarch64 binaries).