title: ansible r-base 3.2 install on debian
body: <p>To get r-base version 3.2 on debian 8 "Jessie" I use the documentation:</p>
  
  <p><a href="https://cran.r-project.org/bin/linux/debian/#debian-jessie-stable" rel="nofollow noreferrer">https://cran.r-project.org/bin/linux/debian/#debian-jessie-stable</a> and <a href="https://stackoverflow.com/questions/31295828/install-latest-version-of-r-3-2-1-world-famous-astronaut-on-linux-mint-17-1-m">install latest version of R 3.2.1 (World-Famous Astronaut) on Linux Mint 17.1 (MATE)</a></p>
  
  <p>In short we add</p>
  
  <pre><code>deb http://&lt;favourite-cran-mirror&gt;/bin/linux/debian jessie-cran3/
  </code></pre>
  
  <p>to the file /etc/apt/sources.list and eventually sign it with:</p>
  
  <pre><code>apt-key adv --keyserver keys.gnupg.net --recv-key 381BA480
  </code></pre>
  
  <p>What is the correct way to do this in <strong>ansible</strong> ?</p>