<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ansible Setup :: Flywheel Data Labs - Workshops</title>
    <link>http://localhost:8080/ansible_101/2.ansible_setup/index.html</link>
    <description>In this section we will run some initial ansible commands to get setup and explore our environment.&#xA;First, select the Terminal button in coder to launch a terminal.&#xA;This will open a shell terminal within your coder container. Drag the corner of the terminal window to make it bigger.&#xA;You have two choices for viewing/editing files in this lab. You can either edit them from the CLI (vi/vim) or you can use the built-in visual studio code client by selecting the code-server button on the Coder page. All execution of ansible commands will be done through the terminal CLI.</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 05 Jun 2026 10:40:21 -0400</lastBuildDate>
    <atom:link href="http://localhost:8080/ansible_101/2.ansible_setup/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Ansible Inventory</title>
      <link>http://localhost:8080/ansible_101/2.ansible_setup/inventory/index.html</link>
      <pubDate>Fri, 05 Jun 2026 10:40:21 -0400</pubDate>
      <guid>http://localhost:8080/ansible_101/2.ansible_setup/inventory/index.html</guid>
      <description>Review the contents of the inventory file.&#xA;The inventory file in ansible defines characteristics of the hosts that you are going to run playbooks on. The [lab] definition is a group in our case has two hosts defined in it. You can run playbooks against individual hosts or groups.&#xA;The [lab:vars] definition is where you set variables for a specific group. In our case we are setting the user and ssh key that will be used to access the host.</description>
    </item>
    <item>
      <title>Ansible adhoc commands</title>
      <link>http://localhost:8080/ansible_101/2.ansible_setup/adhoc/index.html</link>
      <pubDate>Fri, 05 Jun 2026 10:40:21 -0400</pubDate>
      <guid>http://localhost:8080/ansible_101/2.ansible_setup/adhoc/index.html</guid>
      <description>Now we are going to run some ad hoc commands against the servers.&#xA;ansible lab -a &#34;df -h&#34; Next run an ad hoc command against one of the individual servers.&#xA;ansible ${CODER_USER}-vm1 -a &#34;free -m&#34; Running individual commands against hosts is great, but in the next section we are going to use the ansible-playbook command to run more complex configuration tasks against hosts.</description>
    </item>
  </channel>
</rss>