title: Converting shell script to Ansible play
body: <p>I am trying to translate a shell script into Ansible.</p>
  
  <p>Snippet of code that is confusing me:</p>
  
  <pre><code>sudo apt-get update
  sudo ACCEPT_EULA=Y apt-get install msodbcsql mssql-tools 
  sudo apt-get install unixodbc-dev
  </code></pre>
  
  <p>What I have so far:</p>
  
  <pre><code>- name: Install SQL Server prerequisites
    apt: name={{item}} state=present
    update_cache: yes
    with_items:
    - msodbcsql
    - mssql-tools
    - unixodbc-dev
  </code></pre>
  
  <p>No idea where to tie in <code>ACCEPT_EULA=Y</code>.</p>