擅长:python、mysql、java
<p>转到<a href="https://docs.ansible.com/ansible/latest/reference_appendices/config.html#ansible-configuration-settings" rel="nofollow noreferrer">the docs for the Ansible Configuration Settings
</a>,找到正确的参数<a href="https://docs.ansible.com/ansible/latest/reference_appendices/config.html#default-module-path" rel="nofollow noreferrer">^{<cd1>}</a>:</p>
<blockquote>
<p><code>library</code> Colon separated paths in which Ansible will search for Modules.</p>
</blockquote>
<p>然后相应地配置:</p>
<pre><code>library = /etc/ansible/roles/PaloAltoNetworks.paloaltonetworks:/usr/local/lib/python2.7/dist-packages/napalm_ansible/modules
</code></pre>