-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from danpilch/feature/refactor_users
Feature/refactor users
- Loading branch information
Showing
2 changed files
with
33 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# This file defines users passwords and roles for a HashUserRealm | ||
# | ||
# The format is | ||
# <username>: <password>[,<rolename> ...] | ||
# | ||
# Passwords may be clear text, obfuscated or checksummed. The class | ||
# org.mortbay.util.Password should be used to generate obfuscated | ||
# passwords or password checksums | ||
# | ||
# If DIGEST Authentication is used, the password must be in a recoverable | ||
# format, either plain text or OBF:. | ||
# | ||
#jetty: MD5:164c88b302622e17050af52c89945d44,user | ||
#admin: CRYPT:ad1ks..kc.1Ug,server-administrator,content-administrator,admin | ||
#other: OBF:1xmk1w261u9r1w1c1xmq | ||
#plain: plain | ||
#user: password | ||
# This entry is for digest auth. The credential is a MD5 hash of username:realmname:password | ||
#digest: MD5:6e120743ad67abfbc385bc2bb754e297 | ||
|
||
# | ||
# This sets the default user accounts for the Rundeck app | ||
# | ||
#@jetty.user.deploy.name@:@jetty.user.deploy.password@,user,deploy | ||
#@jetty.user.build.name@:@jetty.user.build.password@,user,build | ||
{% for user in rundeck_encoded_users.results %} | ||
{{ user.item.name }}:{{ user.stdout }},user,{{ user.item.roles|join(',') }} | ||
{% endfor %} |