debops / debops-tools

Your Debian-based data center in a box
https://debops.org/
GNU General Public License v3.0
1.07k stars 116 forks source link

passlib must be installed to encrypt vars_prompt values #104

Open 0vermind opened 9 years ago

0vermind commented 9 years ago

I don't know why running

TASK: [debops.console | Enforce root password]

pass lib was not installed on the node but running:

sudo pip install passlib

solved the problem. Btw, I'm a bit afraid what will be doing the task.

drybjed commented 9 years ago

python-passlib is required on the Ansible Controller (the machine you are running Ansible on) to encrypt passwords. This particular task will set the root account password to a random ~32 char string and save that password in DebOps secret/ directory. That way each host can have its own random root password and you can always retrieve it if necessary from secrets. Just keep them secure. :-)

htgoebel commented 9 years ago

@drybjed The question is: should passlib be installed on the controller when debops is installed via pip? If so: just add a it to the install_requires in setup.py