How do i use Ansible to install and configure SaltStack?

You can use Ansible to install and configure Salt Minion on multiple servers:

- name: Install Salt Minion
  hosts: all
  tasks:
    - name: Install Salt Minion
      apt:
        name: salt-minion
        state: present

    - name: Configure Salt Minion
      copy:
        dest: /etc/salt/minion
        content: |
          master: salt-master.example.com
          id: {{ inventory_hostname }}

    - name: Start Salt Minion
      service:
        name: salt-minion
        state: started
        enabled: yes