Staging site is a non-public copy of the production site for testing rollouts before a release.
Staging site may run in a public IP address, but must never be public.
To set up a password to access the staging site, open vault:
ansible-vault edit secrets.yml
Add two new varibles:
htpasswd_user: super htpasswd_password: secret
In your playbook file make sure staging behavior is turned on:
vars: # ... - site_mode: staging