Support for htpasswd module. Requires the apache2-utils package for Debian-based distros.
New in version 2014.7.0.
username:
webutil.user_exists:
- password: secr3t
- htpasswd_file: /etc/nginx/htpasswd
- options: d
- force: true
Make sure the user is not in the specified htpasswd file
User name
Path to the htpasswd file
The system user to run htpasswd command with
Make sure the user is inside the specified htpasswd file
User name
User password
Path to the htpasswd file
See salt.modules.htpasswd.useradd
Touch the file even if user already created
The system user to run htpasswd command with
Update an existing user's password if it's different from what's in the htpasswd file (unlike force, which updates regardless)
Generated on May 22, 2024 at 17:25:40 UTC.
You are viewing docs for the latest stable release, 3007.1. Switch to docs for the previous stable release, 3006.8, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy