Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericcames/aap.dailydemo.panos
https://github.com/ericcames/aap.dailydemo.panos
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ericcames/aap.dailydemo.panos
- Owner: ericcames
- License: mit
- Created: 2024-10-11T17:06:28.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-21T18:35:07.000Z (27 days ago)
- Last Synced: 2024-10-22T09:28:13.514Z (26 days ago)
- Size: 1.04 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible Automation Platform Daily Demo for PaloAlto
=========
A demo designed to build the PaloAlto Infrastructure needed to showcase many of the use cases related to PaloAlto. This builds a standalone PaloAlto at Amazon and sets the admin password so you will be ready to go when the playbook is done building the infrastructure. This demo infrastructure takes 20 minutes to spin up.Day 1
=========# The PaloAlto User Interface
![alt text](https://github.com/ericcames/aap.dailydemo.Panos/blob/main/images/palouipre.png "Pre Login")
![alt text](https://github.com/ericcames/aap.dailydemo.Panos/blob/main/images/palouipost.png "Post Login")**PaloAlto API Documentation**
![alt text](https://github.com/ericcames/aap.dailydemo.Panos/blob/main/images/palorestdoc.png "API Docs")
```
https://FQDN/restapi-doc/
```**The job logs contain the URL needed to login to the gui**
![alt text](https://github.com/ericcames/aap.dailydemo.Panos/blob/main/images/palojoblog.png "Job Log")```
https://ec2-54-67-87-75.us-west-1.compute.amazonaws.com
```
# The command line; there's no place like home :-)![alt text](https://github.com/ericcames/aap.dailydemo.Panos/blob/main/images/palocli.png "The command line")
Example login using your ssh key that was shared with Amazon
```
ssh [email protected]
```**The playbooks**
[1. Create or Delete PaloAlto](https://github.com/ericcames/aap.dailydemo.Panos/blob/main/playbooks/main.yml "main.yml")
![alt text](https://github.com/ericcames/aap.dailydemo.Panos/blob/main/images/palomain.png "Main Playbook")Tag used:
```
create
or
remove
```
**The Credentials Types**Red Hat Ansible Automation Platform
Daily Demo Panos Machine Credential
![alt text](https://github.com/ericcames/aap.dailydemo.Panos/blob/main/images/palomachinecred.png "Machine Credential")
Amazon Web Services Credential**The AAP Managed Inventory**
![alt text](https://github.com/ericcames/aap.dailydemo.Panos/blob/main/images/paloinventory.png "AAP Managed Inventory")
Group name
```
panosdemo
```Day 2
=========**Example Playbooks**
- [Panos example playbooks](https://gitlab.com/mlowcher/panos "Panos example playbooks")**Execution Environment**
- [Panos](https://quay.io/repository/locust61/panos_ee "Panos Execution Environment")
```
quay.io/repository/locust61/panos_ee
```
f5-execution-environment.yml
```
---
version: 3dependencies:
galaxy: requirements.ymlpython:
- pan-os-python
- pan-python
- panos-upgrade-assurance
- xmltodict
#system: []options:
package_manager_path: /usr/bin/microdnfimages:
base_image:
name: registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel8:latest```
**A Custom Credential is reguired for Day 2 ops**
Input configuration
```
fields:
- id: api_key
type: string
label: Palo Alto api key
secret: true
- id: username
type: string
label: Username
- id: password
type: string
label: Password
secret: true
required:
- api_key
- username
- password
```
Injector configuration
```
extra_vars:
api_key: '{{ api_key }}'
username: '{{ username }}'
password: '{{ password }}'
```
# Looking for the Windows Daily Demo?- [AAP Daily Demo Windows](https://github.com/ericcames/aap.dailydemo.windows "AAP Daily Demo Windows")
# Looking for the Linux Daily Demo?
- [AAP Daily Demo Linux](https://github.com/ericcames/aap.dailydemo.linux "AAP Daily Demo Linux")