jhampson-dbre / home_assistant

Ansible collection for related Home Assistant roles
MIT License
12 stars 5 forks source link

Unsupported parameters for (ansible.legacy.command) module: warn. #56

Open CarstenGrohmann opened 12 months ago

CarstenGrohmann commented 12 months ago

Hi Jared,

during my installation of Home Assistant I got a few error messages like:

TASK [jhampson_dbre.home_assistant.supervised_install : Check Home Assistant version IPv6 address] ***
fatal: [rpi4]: FAILED! => changed=false 
  msg: 'Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, removes, stdin, stdin_add_newline, strip_empty_ends.'

I have solved this by commenting out the following two lines at all places in the code:

 args: 
   warn: false 

It looks like the current ansible core 2.15.1 does not support this statement anymore.

Please adapt your code.

Thank you, Carsten