<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ansible on Jose Castrillo</title>
    <link>https://jose.castrillo.eu/tags/ansible/</link>
    <description>Recent content in Ansible on Jose Castrillo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sat, 28 Feb 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jose.castrillo.eu/tags/ansible/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>DevOps Projects</title>
      <link>https://jose.castrillo.eu/page/py/</link>
      <pubDate>Sat, 28 Feb 2026 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/page/py/</guid>
      <description>Senior DevOps Engineer - Projects &amp;amp; Professional Journey</description>
    </item>
    <item>
      <title>Ansible missing sudo</title>
      <link>https://jose.castrillo.eu/post/ansible-missing-sudo/</link>
      <pubDate>Sun, 03 Apr 2022 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/ansible-missing-sudo/</guid>
      <description>&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Ansible FAILED! =&amp;gt; {&amp;#34;msg&amp;#34;: &amp;#34;Missing sudo password&amp;#34;}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I have a couple of ansible-playbook, from one of my endpoint device started to prompt &lt;em&gt;missing sudo password&lt;/em&gt; due there is needed a sudoers access, thus this is one of the solutions.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;login by ssh to the device, where ansible can&amp;rsquo;t login.&lt;/li&gt;
&lt;li&gt;go to /etc/sudoers.d/&lt;/li&gt;
&lt;li&gt;create a new entry eg: &amp;ldquo;023_user-nopass&amp;rdquo;&lt;/li&gt;
&lt;li&gt;add the following line &amp;ldquo;user ALL=(ALL) NOPASSWD: ALL&amp;rdquo; into the file &amp;ldquo;023_user-nopass&amp;rdquo;&lt;/li&gt;
&lt;li&gt;change the permission by using:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo chmod 440 023_user-nopass
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;NOTE: please change &lt;user&gt; value for your normal user access -not the root one-&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
