An open API service indexing awesome lists of open source software.

https://github.com/ericcames/aap.dailydemo.satellite


https://github.com/ericcames/aap.dailydemo.satellite

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

Ansible Automation Platform Daily Demo for Satellite
=========
A demo designed to build the Satellite Infrastructure needed to showcase many of the use cases related to Satellite. This builds a standalone Satellite server at Amazon and sets the admin password so you will be ready to go when the playbook is done building the infrastructure.

Day 0 - Configuration as code (CAC)
=========
Configuration as code give you an easy way to recover/move your ansible related artifacts to a new or existing platform. That includes your hardcoded credentials. The hardcoded credentials can be safely vaulted in an ansible vault file. Check out the setup_demo.yml for the configurations for setting up this demo using configuration as code. The current example is for the F5 daily Demo because the doesn't exist for this demo yet. When it exists this section will be updated.

[setup_demo.yml](https://github.com/ericcames/aap.dailydemo.satellite/blob/main/playbooks/setup_demo.yml "setup_demo.yml")

Day 1 - Infrastructure as code (IAC)
=========

# The Satellite User Interface

![alt text](https://github.com/ericcames/aap.dailydemo.satellite/blob/main/images/satuipre.png "Pre Login")
![alt text](https://github.com/ericcames/aap.dailydemo.satellite/blob/main/images/satuipost.png "Post Login")

**The playbooks**

[Create Satellite](https://github.com/ericcames/aap.dailydemo.satellite/blob/main/playbooks/main-create.yml "main-create.yml")

![alt text](https://github.com/ericcames/aap.dailydemo.satellite/blob/main/images/satjobcreate.png "Create")

[Remove Satellite](https://github.com/ericcames/aap.dailydemo.satellite/blob/main/playbooks/main-remove.yml "main-remove.yml")

![alt text](https://github.com/ericcames/aap.dailydemo.satellite/blob/main/images/satjobremove.png "Remove")

Tags used:
```
create
or
remove
```

**The Credentials Types**

Red Hat Ansible Automation Platform

![alt text](https://github.com/ericcames/aap.dailydemo.satellite/blob/main/images/satrhapcred.png "")

Machine Credential

Amazon Web Services Credential

Vault

Red Hat Customer Portal

**The AAP Managed Inventory**

![alt text](https://github.com/ericcames/aap.dailydemo.satellite/blob/main/images/satinventory.png "AAP Managed Inventory")

![alt text](https://github.com/ericcames/aap.dailydemo.satellite/blob/main/images/satlocalhost.png "localhost")

Group name
```
satellite
```

**Letsencrypt-SSL-cert**

[Chains of trust](https://letsencrypt.org/certificates/ "Chains of trust")

SSL Cert Process for Satellite
```
systemctl stop httpd

certbot certonly --standalone -d sat.kona.services --agree-tos -q --key-type rsa --rsa-key-size 4096 -m ericcames@msn.com

systemctl start httpd

# Run the following command to see your new ssl certs
certbot certificates

# Download the appropriate root certs from this url
# https://letsencrypt.org/certificates/

# Concatenate root certs into a single file
cat r10.pem isrgrootx1.pem > ca-bundle.cer

satellite-installer --scenario satellite \
--certs-server-cert "/etc/letsencrypt/live/sat.kona.services/fullchain.pem" \
--certs-server-key "/etc/letsencrypt/live/sat.kona.services/privkey.pem" \
--certs-server-ca-cert "/root/satellite_cert/ca-bundle.cer" \
--certs-update-server --certs-update-server-ca
```

Day 2
=========

Looking for other Daily Demos?
=========

- [AAP Daily Demo Windows](https://github.com/ericcames/aap.dailydemo.windows "AAP Daily Demo Windows")
- [AAP Daily Demo Linux](https://github.com/ericcames/aap.dailydemo.linux "AAP Daily Demo Linux")
- [AAP Daily Demo F5](https://github.com/ericcames/aap.dailydemo.F5 "AAP Daily Demo F5")
- [AAP Daily Demo Panos](https://github.com/ericcames/aap.dailydemo.Panos "AAP Daily Demo Panos")
- [AAP Daily Demo Satellite](https://github.com/ericcames/aap.dailydemo.satellite "AAP Daily Demo Satellite")