<?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 Dans homepage</title>
    <link>https://blog.oconnordaniel.com/tags/ansible/</link>
    <description>Recent content in Ansible on Dans homepage</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 03 Jul 2025 16:10:12 -0600</lastBuildDate>
    <atom:link href="https://blog.oconnordaniel.com/tags/ansible/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Ansible</title>
      <link>https://blog.oconnordaniel.com/blog/ansible/</link>
      <pubDate>Thu, 03 Jul 2025 16:10:12 -0600</pubDate>
      <guid>https://blog.oconnordaniel.com/blog/ansible/</guid>
      <description>&lt;h2 id=&#34;how-i-use-ansible&#34;&gt;How I use ansible&lt;/h2&gt;&#xA;&lt;p&gt;This is a quick summary of how I use Ansible to setup my environment. Bare in mind that I&amp;rsquo;m not an expert or anything. I&amp;rsquo;m just showing you how I user it to make my life a little saner.&lt;/p&gt;&#xA;&lt;p&gt;I have 3 main classes of playbooks that I use.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Setup Server&lt;/li&gt;&#xA;&lt;li&gt;Setup Service&lt;/li&gt;&#xA;&lt;li&gt;Setup Workstation&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;setup-server&#34;&gt;Setup Server&lt;/h2&gt;&#xA;&lt;p&gt;This is one of my bigger ansible playbook. It does a lot of little things but it does them to all the systems in my environment. So when I first spin up a new VM, I start by assigning it a static IP (and maybe DNS entry) in my DHCP server, then I add it&amp;rsquo;s IP to my inventory file an re-run the playbook.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Automating the posts to dans site</title>
      <link>https://blog.oconnordaniel.com/blog/automation/</link>
      <pubDate>Sun, 05 Mar 2023 10:00:00 -0600</pubDate>
      <guid>https://blog.oconnordaniel.com/blog/automation/</guid>
      <description>&lt;p&gt;So&amp;hellip; now that we have a site with a post, I now have to figure out how to automate adding more posts.&lt;/p&gt;&#xA;&lt;p&gt;Of corse my first thought was just make some .sh files to handle all the updates.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;- Add a .md file to _posts&#xA;- `bundle jekyll` to build the site folder&#xA;- git push&#xA;- ssh to the ec2 instance&#xA;- git pull&#xA;- docker stop, rm, build, run, left, right, up, down&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;So&amp;hellip;. no. I could do it like that, but I don&amp;rsquo;t have the time or skills to build in all the &lt;code&gt;try do catch&lt;/code&gt; stuff needed to make sure that if things broke, they break before they go live.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
