What's wrong with this block of code?

  • name: Install other dependencies
    dnf:
    name:
  • unixODBC
  • unixODBC-devel
  • mysql-connector-odbc
  • MySQL-python
  • tcpdump
  • ntp
  • ntpdate
  • jansson
  • bind-utils
    state: present

I am getting the following error Message:
ERROR! Conflicting action statements: state, dnf

Looks like indenting. “state” should be indented to the level of “name” since they are both directives of dnf.