How to run multiple commands with command module in Ansible
The Ansible documentation states that the command module doesn't get a shell 


  The command(s) will not be processed through the shell


The command module takes the command as an argument, so you can't have  list as you've written there. You could do the same thing in a loop: with command: {{ item }} : 

- name: "Run {{ item }}"
  command: "{{ item }}"
  loop:
    - cmd2
    - cmd2 
    - cmd3


You could also have several command: tasks instead.

However, this is generally considered bad practice (E.g. E303 from Ansible Lint rules) because it tends to break idempotency. It would be better to decompose those commands into something that uses Ansible modules.