debops / ansible-console

Configure system console and terminal-related options
GNU General Public License v3.0
13 stars 10 forks source link

missing passlib dependency #21

Open muelli opened 9 years ago

muelli commented 9 years ago
TASK: [debops.console | Enforce root password] ******************************** 

Failed to template {% if console_root_password is defined and console_root_password %} True {% else %} False {% endif %}: Failed to template {{ lookup("password", secret + "/credentials/" + ansible_fqdn + "/console/root/password encrypt=sha512_crypt length=" + console_root_password_length) }}: passlib must be installed to encrypt vars_prompt values

I guess this should have been pulled in when I did pip install.

le9i0nx commented 8 years ago

add to file /etc/ansible/host_vars/host_name.yml or /etc/ansible/group_vars/group_name.yml or /etc/ansible/group_vars/all.yml

console_root_password: '{{ lookup("password", secret + "/credentials/" + ansible_fqdn + "/console/root/password length=" + console_root_password_length) }}'