<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Ansible%2FBasics</id>
	<title>Ansible/Basics - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Ansible%2FBasics"/>
	<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Ansible/Basics&amp;action=history"/>
	<updated>2026-06-20T08:01:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://charlesreid1.com/w/index.php?title=Ansible/Basics&amp;diff=25309&amp;oldid=prev</id>
		<title>Admin: /* Basic Features of Ansible */</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Ansible/Basics&amp;diff=25309&amp;oldid=prev"/>
		<updated>2018-11-10T04:49:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Basic Features of Ansible&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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 04:49, 10 November 2018&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-l49&quot;&gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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 also uses uses YAML and Jinja and is Python-based.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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 also uses uses YAML and Jinja and is Python-based.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;==Flags==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;==Flags==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://charlesreid1.com/w/index.php?title=Ansible/Basics&amp;diff=25307&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;==Basic Features of Ansible==  Ansible config management scripts (playbooks) are in YAML. This is like executable documentation - kind of like a readme containing all the comm...&quot;</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Ansible/Basics&amp;diff=25307&amp;oldid=prev"/>
		<updated>2018-11-10T04:47:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Basic Features of Ansible==  Ansible config management scripts (playbooks) are in YAML. This is like executable documentation - kind of like a readme containing all the comm...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Basic Features of Ansible==&lt;br /&gt;
&lt;br /&gt;
Ansible config management scripts (playbooks) are in YAML. This is like executable documentation - kind of like a readme containing all the commands you would otherwise be running, all typed out, except instructions won&amp;#039;t go out of date because they&amp;#039;re actually being executed.&lt;br /&gt;
&lt;br /&gt;
Ansible servers require SSH and Python. &lt;br /&gt;
&lt;br /&gt;
===Push Based===&lt;br /&gt;
&lt;br /&gt;
Ansible is push-based, which means the workflow looks like this:&lt;br /&gt;
&lt;br /&gt;
* You make a change to the playbook&lt;br /&gt;
* You run the new playbook&lt;br /&gt;
* Ansible connects to servers and executes modules, changing the server state&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;ansible-playbook&amp;lt;/code&amp;gt; command is the gateway to connecting to the remote server.&lt;br /&gt;
&lt;br /&gt;
The push-based approach means you control when things happen to the server, making scaling easier. &lt;br /&gt;
&lt;br /&gt;
===Scaling Down, Too===&lt;br /&gt;
&lt;br /&gt;
Ansible obeys Alan Kay’s maxim: “Simple things should be simple; complex things should be possible.”&lt;br /&gt;
&lt;br /&gt;
===Modules===&lt;br /&gt;
&lt;br /&gt;
Ansible allows you to execute arbitrary shell commands.&lt;br /&gt;
&lt;br /&gt;
Ansible also offers more powerful feature: modules, which perform tasks like installing packages restarting services, or copying config files.&lt;br /&gt;
&lt;br /&gt;
Modules are declarative: describe/declare the state you want the server to be in. Example: invoke the user module to ensure there is an account named &amp;quot;deploy&amp;quot; that is in the group &amp;quot;web&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
user: name=deploy group=web&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ansible is idempotent - meaning, if the user already exists, it will do nothing. This makes it safe to run the Ansible script multiple times.&lt;br /&gt;
&lt;br /&gt;
===What You Should Know===&lt;br /&gt;
&lt;br /&gt;
List of things you should know how to do before getting started:&lt;br /&gt;
&lt;br /&gt;
* connect to remote machine via SSH&lt;br /&gt;
* interact with bash command line shell (pipes and redirects)&lt;br /&gt;
* install packages&lt;br /&gt;
* use sudo command&lt;br /&gt;
* check and set file permissions&lt;br /&gt;
* start/stop services&lt;br /&gt;
* set env vars&lt;br /&gt;
* write scripts (any language)&lt;br /&gt;
&lt;br /&gt;
Ansible also uses uses YAML and Jinja and is Python-based.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Flags==&lt;br /&gt;
&lt;br /&gt;
[[Category:Ansible]]&lt;br /&gt;
[[Category:Infrastructure]]&lt;br /&gt;
[[Category:Python]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>