sandervanvugt / rhce8-book

companion files for my upcoming RHCE8 EX294 book.
65 stars 98 forks source link

Error in Ex 13.3 #10

Open sjharper79 opened 2 years ago

sjharper79 commented 2 years ago

Exercise 13-3, step 3 says to use this code:

"{{ '{{ passw }}' | password_hash('sha512', 'myrandomsalt') }}"

but it does not work. The following code does work. "{{ passwd | password_hash('sha512', 'myrandomsalt') }}"

cutrightjm commented 2 years ago

The following works fine for me: msg: "{{ '{{ passw }}' | password_hash('sha512','myrandomsalt') }}"

Your variables between the first and second lines have different names. passw vs. passwd

sjharper79 commented 1 year ago

I think that's a typo in the post.