title: Permission denied with ansible
body: <p>I was trying to install <code>htop</code> on a debian server with this command:</p>
  <p><code>ansible debian -m apt -a &quot;name=htop state=present&quot;</code></p>
  <p>but I get this error:</p>
  <pre><code>ubuntu-20.lab | FAILED! =&gt; {
      &quot;ansible_facts&quot;: {
          &quot;discovered_interpreter_python&quot;: &quot;/usr/bin/python3&quot;
      }, 
      &quot;changed&quot;: false, 
      &quot;msg&quot;: &quot;'/usr/bin/apt-mark manual htop' failed: E: Could not create temporary file for /var/lib/apt/extended_states - mkstemp (13: Permission denied)\nE: Failed to write temporary StateFile /var/lib/apt/extended_states\n&quot;, 
      &quot;rc&quot;: 100, 
      &quot;stderr&quot;: &quot;E: Could not create temporary file for /var/lib/apt/extended_states - mkstemp (13: Permission denied)\nE: Failed to write temporary StateFile /var/lib/apt/extended_states\n&quot;, 
      &quot;stderr_lines&quot;: [
          &quot;E: Could not create temporary file for /var/lib/apt/extended_states - mkstemp (13: Permission denied)&quot;, 
          &quot;E: Failed to write temporary StateFile /var/lib/apt/extended_states&quot;
      ], 
      &quot;stdout&quot;: &quot;&quot;, 
      &quot;stdout_lines&quot;: []
  }
  </code></pre>
  <p>I tried with <code>-s</code> but it says it's an unrecognized argument,
  is there another to have permission?</p>