<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://thebestlinux.com/index.php?action=history&amp;feed=atom&amp;title=Ansible</id>
	<title>Ansible - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://thebestlinux.com/index.php?action=history&amp;feed=atom&amp;title=Ansible"/>
	<link rel="alternate" type="text/html" href="https://thebestlinux.com/index.php?title=Ansible&amp;action=history"/>
	<updated>2026-06-15T21:12:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://thebestlinux.com/index.php?title=Ansible&amp;diff=1045&amp;oldid=prev</id>
		<title>Jamie at 05:00, 19 June 2021</title>
		<link rel="alternate" type="text/html" href="https://thebestlinux.com/index.php?title=Ansible&amp;diff=1045&amp;oldid=prev"/>
		<updated>2021-06-19T05:00:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:00, 19 June 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ansible is a very useful tool for managing large numbers, or even small numbers, of servers both remotely and locally using SSH(Secure Shell) and the Python language.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ansible is a very useful tool for managing large numbers, or even small numbers, of servers both remotely and locally using SSH(Secure Shell) and the Python language.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To start with, Ansible needs it's own hosts file which it uses as a list of servers it manages.  Servers can be grouped in sections starting with a descriptive header enclosed in square brackets, or just indivitual hostnames or and/or IP addresses.  Here is a basic example &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;show &lt;/del&gt;just one server &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;configures&lt;/del&gt;, my main local DNS server:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To start with, Ansible needs it's own hosts file which it uses as a list of servers it manages.  Servers can be grouped in sections starting with a descriptive header enclosed in square brackets, or just indivitual hostnames or and/or IP addresses.  Here is a basic example &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;showing &lt;/ins&gt;just one server &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;configured&lt;/ins&gt;, my main local DNS server:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;color:blue&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;color:blue&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# This is the default ansible 'hosts' file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# This is the default ansible 'hosts' file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jamie</name></author>
	</entry>
	<entry>
		<id>https://thebestlinux.com/index.php?title=Ansible&amp;diff=1041&amp;oldid=prev</id>
		<title>Jamie: Created page with &quot;Ansible is a very useful tool for managing large numbers, or even small numbers, of servers both remotely and locally using SSH(Secure Shell) and the Python language.  To star...&quot;</title>
		<link rel="alternate" type="text/html" href="https://thebestlinux.com/index.php?title=Ansible&amp;diff=1041&amp;oldid=prev"/>
		<updated>2021-06-02T09:05:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Ansible is a very useful tool for managing large numbers, or even small numbers, of servers both remotely and locally using SSH(Secure Shell) and the Python language.  To star...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Ansible is a very useful tool for managing large numbers, or even small numbers, of servers both remotely and locally using SSH(Secure Shell) and the Python language.&lt;br /&gt;
&lt;br /&gt;
To start with, Ansible needs it's own hosts file which it uses as a list of servers it manages.  Servers can be grouped in sections starting with a descriptive header enclosed in square brackets, or just indivitual hostnames or and/or IP addresses.  Here is a basic example show just one server configures, my main local DNS server:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;color:blue&amp;quot;&amp;gt;&lt;br /&gt;
# This is the default ansible 'hosts' file.&lt;br /&gt;
#&lt;br /&gt;
# It should live in /etc/ansible/hosts&lt;br /&gt;
#&lt;br /&gt;
#   - Comments begin with the '#' character&lt;br /&gt;
#   - Blank lines are ignored&lt;br /&gt;
#   - Groups of hosts are delimited by [header] elements&lt;br /&gt;
#   - You can enter hostnames or ip addresses&lt;br /&gt;
#   - A hostname/ip can be a member of multiple groups&lt;br /&gt;
#&lt;br /&gt;
#   Jamie Created:&lt;br /&gt;
ns1.dawgland.com&lt;br /&gt;
&lt;br /&gt;
# Ex 1: Ungrouped hosts, specify before any group headers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of how to use Ansible to upgrade a remote host:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;color:blue&amp;quot;&amp;gt;&lt;br /&gt;
ansible ns1.dawgland.com -m dnf -a &amp;quot;name=* state=latest&amp;quot; -b&lt;br /&gt;
ns1.dawgland.com | CHANGED =&amp;gt; {&lt;br /&gt;
    &amp;quot;ansible_facts&amp;quot;: {&lt;br /&gt;
        &amp;quot;discovered_interpreter_python&amp;quot;: &amp;quot;/usr/libexec/platform-python&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;changed&amp;quot;: true,&lt;br /&gt;
    &amp;quot;msg&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
    &amp;quot;rc&amp;quot;: 0,&lt;br /&gt;
    &amp;quot;results&amp;quot;: [&lt;br /&gt;
        &amp;quot;Installed: oniguruma5php-6.9.7.1-1.el8.remi.x86_64&amp;quot;,&lt;br /&gt;
        &amp;quot;Removed: oniguruma5php-6.9.6-1.el8.remi.x86_64&amp;quot;&lt;br /&gt;
    ]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jamie</name></author>
	</entry>
</feed>