rhtconsulting / rhc-ose

OpenShift Automation and Utilities by Red Hat Consulting
42 stars 34 forks source link

rhc-htpasswd role #156

Closed JayKayy closed 8 years ago

JayKayy commented 8 years ago

What does this PR do?

This PR is used to create specified demo users in the designated htpasswd file.

How should this be manually tested?

simply head to playbooks/rhc-htpasswd, add your test host under host in the test/inv file and run the following command: ansible-playbook -i test/inv htpasswd.yaml

Then verify that logins of the users joe and alice are added to the htpasswd file(default /etc/origin/openshift-passwd) using: htpasswd -v <htpasswdFile> <user>

Is there a relevant Issue open for this?

N/A

Who would you like to review this?

/cc @sabre1041 @oybed

detiber commented 8 years ago

I have an outstanding PR for upstream here: https://github.com/openshift/openshift-ansible/pull/1726

It requires either pre-hashed passwords be passed in, or a full htpasswd file could be specified.

etsauer commented 8 years ago

@JayKayy @detiber going to go ahead and close this since the openshift-ansible PR has been merged.