On page 149, in chapter 7, the first and second playbook presented are failing due to invalid Jinja syntax.
When trying to compare the my_color_choice with the string literal 'blue' (and '#0000ff' in the second playbook) you can't just write
my_color_choice is 'blue'
You could either replace the "is" with "==" or write my_color_choice is eq 'blue' or my_color_choice is equalto 'blue'
Hope it helps !
On page 149, in chapter 7, the first and second playbook presented are failing due to invalid Jinja syntax.
When trying to compare the my_color_choice with the string literal 'blue' (and '#0000ff' in the second playbook) you can't just write
my_color_choice is 'blue'You could either replace the "is" with "==" or write
my_color_choice is eq 'blue'ormy_color_choice is equalto 'blue'Hope it helps !