--- - name: Run a command gather_facts: False hosts: seed-hypervisor:seed:overcloud tasks: - name: Run a command shell: "{{ host_command_to_run }}"