Skip to content

Commit

Permalink
Merge pull request #2196 from IPvSean/devel
Browse files Browse the repository at this point in the history
fixing provisioner
  • Loading branch information
IPvSean authored Nov 4, 2024
2 parents 6a160c0 + 2144b39 commit c2fbb35
Show file tree
Hide file tree
Showing 32 changed files with 1,701 additions and 89 deletions.
282 changes: 234 additions & 48 deletions README.md

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div class="wrapper">
<header>
<div class="header-container">
<a href="https://ansible.com">
<a href="{{ '/' | relative_url }}">
<img
class="header-logo"
src="{{ '/assets/images/redhat-ansible-logo.svg' | relative_url }}"
Expand All @@ -42,19 +42,19 @@
/>
</a>
<a class="header-link" href="{{ '/' | relative_url }}">
Workshops Home
Workshops
</a>
<a class="header-link" href="{{ '/exercises/ansible_rhel/' | relative_url }}">
RHEL
<a class="header-link" href="https://ansible.github.io/slides">
Slide Finder
</a>
<a class="header-link" href="{{ '/exercises/ansible_network/' | relative_url }}">
Network
<a class="header-link" href="https://ansible.github.io/slides/ebooks">
E-Books
</a>
<a class="header-link" href="{{ '/exercises/ansible_windows/' | relative_url }}">
Windows
<a class="header-link" href="https://ansible.github.io/slides/customer_references">
Customer References
</a>
<a class="header-link" href="https://labs.demoredhat.com/webpages/aapcasc">
Config as Code
<a class="header-link" href="https://ansible.github.io/slides/datasheets">
Collateral
</a>
<a class="header-link" href="https://github.com/ansible/workshops/issues/new/choose">
Open an Issue
Expand Down
145 changes: 145 additions & 0 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,148 @@ a h3 {
a h3:hover {
color: #5F0000;
}


@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600;700&display=swap');

* {
box-sizing: border-box;
}

.page-contain {
display: flex;
flex-wrap: wrap; /* Allow wrapping if necessary */
align-items: stretch; /* Stretch items to the same height */
justify-content: center;
padding: 2em;
font-family: 'Open Sans', sans-serif;
}

.data-card {
display: flex;
flex-direction: column;
flex-grow: 1; /* Ensure cards take equal height */
flex-basis: 20.75em; /* Base size of each card */
max-width: 20.75em;
max-height: 27.0em;
overflow: hidden;
border-radius: .5em;
text-decoration: none !important; /* Remove underline from links */
background: white;
margin: 1em;
padding: 2.75em 2.5em;
box-shadow: 0 1.5em 2.5em -.5em rgba(0, 0, 0, .1);
transition: transform .45s ease, background .45s ease;
}

.data-card h3, .data-card h4, .data-card p, .data-card .link-text {
text-decoration: none; /* Ensure no underline on child elements */
}

.data-card h3 {
color: #2E3C40;
font-size: 2.2em;
font-weight: 600;
line-height: 1;
padding-bottom: .5em;
margin: 0 0 0.142857143em;
border-bottom: 2px solid #ee0000;
transition: color .45s ease, border .45s ease;
}

.data-card h4 {
color: #627084;
font-size: 1.125em;
font-weight: 700;
line-height: 1;
letter-spacing: 0.1em;
margin: 0 0 1.777777778em;
transition: color .45s ease;
}

.data-card p {
opacity: 0;
color: #FFFFFF;
font-weight: 600;
line-height: 1.5;
margin: 0 0 1.25em;
transform: translateY(-1em);
transition: opacity .45s ease, transform .5s ease;
}

.data-card .link-text {
display: block;
color: #ee0000;
font-size: 1.125em;
font-weight: 600;
line-height: 1.2;
margin: auto 0 0;
transition: color .45s ease;
}

.data-card .link-text svg {
margin-left: .5em;
transition: transform .6s ease;
}

.data-card .link-text svg path {
transition: fill .45s ease;
}

.data-card:hover {
background: #ee0000;
transform: scale(1.02);
}

.data-card:hover h3 {
color: #FFFFFF;
border-bottom-color: #5f0000;
}

.data-card:hover h4 {
color: #FFFFFF;
}

.data-card:hover p {
opacity: 1;
transform: none;
}

.data-card:hover .link-text {
color: #FFFFFF;
}

.data-card:hover .link-text svg {
animation: point 1.25s infinite alternate;
}

.data-card:hover .link-text svg path {
fill: #FFFFFF;
}

@keyframes point {
0% {
transform: translateX(0);
}
100% {
transform: translateX(.125em);
}
}


.cisco-image-container {
width: 800px; /* Set the width of the container */
height: 300px; /* Set the height of the container */
background-image: url("{{ site.baseurl }}/assets/images/cisco_workshops.png"); /* Image on hover */
background-size: cover; /* Cover the entire container */
background-position: center; /* Center the image */
transition: background-image 0.3s ease; /* Smooth transition */
}

.cisco-image-container:hover {
background-image: url("{{ site.baseurl }}/assets/images/cisco_workshops_tony.png"); /* Image on hover */
}

#website_explanation {
display: none;
}
100 changes: 100 additions & 0 deletions exercises/instruqt/aapcasc-4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# Configuration as Code for Ansible Automation Platform 2 Technical Workshop

> **IMPORTANT TO NOTE**
>
> This is the 4 hour version of this workshop. For the shorter 90 minute session please [🔬 click here](aapcasc.md)
>

Welcome to our interactive lab on using Configuration as code to configure the Ansible Automation Platrom.

Configuration as Code(CasC) is the way to maintain all your infrastructure.

This lab will provide code to demonstrate how to use CasC to maintain all aspects of AAP. The provided code will be a starting point, and will guide the user through how to utilize the code, and make it their own. This lab will cover configuring controller, private automation hub, execution environments, as well as the creation of workflows without the GUI as an example to follow along. These principles will help to prevent drift in configuration, allow changes to require approval before implementation, and help to maintain both a development and prod deployment.

It is Recomended to be familiar with the Automation Controller and Ansible as this lab assumes you are familier with using those products.

If you have not used the Automation controller before, a recomended place to start is this instruct lab, if you have not done so before:
[Introduction to automation controller](https://developers.redhat.com/content-gateway/link/3884764)

# Agenda

Recommended agenda for when there is an instructor teaching.

<table>
<tbody>
<tr>
<td><b>Part 1</b>: Creating an Execution Environment</td>
<td>⏱️ 45 minutes</td>
</tr>
<tr>
<td><b>Part 2</b>: Configuring your Automation hub</td>
<td>⏱️ 70 minutes</td>
</tr>
<tr>
<td><b>Part 3</b>: Configuring your Automation controller</td>
<td>⏱️ 120 minutes</td>
</tr>
<tr>
<td><b>Part 4</b>: Creating an Automation controller Workflow in code</td>
<td>⏱️ 90 minutes</td>
</tr>
</tbody>
</table>

**Total Time**: 5.5 hours (330 minutes)

## Lab Index

<table>
<thead>
<tr>
<th>Lab Title</th>
<th>Description</th>
<th>Link</th>
</tr>
</thead>
<tbody>
<tr>
<td>Config as code Introduction to AAP</td>
<td>Learn about the fundamentals of using Configuration of Code to maintain the Ansible Automation Platform</td>
<td><a target="_new" href="(TBD)">🚀 Launch Lab</a></td>
</tr>
</tbody>
</table>

# Going Further

Additional material for Configuration as Code for Ansible Automation Platform 2

<table>
<thead>
<tr>
<th>Title</th>
<th>Type</th>
<th>Link</th>
</tr>
</thead>
<tbody>
<tr>
<td>Demystifying Ansible Automation Platform</td>
<td>Book</td>
<td><a target="_new" href="https://www.packtpub.com/product/demystifying-ansible-automation-platform/9781803244884">📖 Demystifying Ansible Automation Platform - Book from Packt</a></td>
</tr>
<tr>
<td>Infra Collections in Ansible Galaxy</td>
<td>Collections</td>
<td><a targete="_new" href="https://galaxy.ansible.com/ui/namespaces/infra/">📒 Download collections used in this lab and get links to their repos</a></td>
</tr>
</tbody>
</table>

# Ansible Workshop

This is an official Ansible Workshop

This workshop is maintained by the [Infra Config as Code Volunteers](https://forum.ansible.com/tag/infra-config-as-code)
Please open an [issues on Github](https://github.com/ansible/instruqt/issues/new?title=New+eda+workshop+issue&body=)


![ansible workshop logo](https://github.com/ansible/workshops/blob/devel/images/Ansible-Workshop-Logo.png?raw=true)
Loading

0 comments on commit c2fbb35

Please sign in to comment.