https://github.com/alancoding/runner-podman-test-cases
test cases with ansible-runner and podman
https://github.com/alancoding/runner-podman-test-cases
Last synced: 4 months ago
JSON representation
test cases with ansible-runner and podman
- Host: GitHub
- URL: https://github.com/alancoding/runner-podman-test-cases
- Owner: AlanCoding
- Created: 2021-06-15T17:58:03.000Z (about 4 years ago)
- Default Branch: devel
- Last Pushed: 2021-06-15T19:27:27.000Z (about 4 years ago)
- Last Synced: 2025-01-03T05:39:05.890Z (6 months ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### To use
When you activate the script, then you may gaze upon the stdout of the runs
once each is finished.#### On your own machine
```
pip install -r requirements.txt
make clean
source script.sh
```wait some time, then
```
source check.sh
```#### On AWX server
As "awx" user.
```
source /var/lib/awx/venv/awx/bin/activate
source script.sh
```### Some commands
Run like in the main examples.
```
ansible-runner run -p test.yml demo
```Fire and forget version.
```
ansible-runner start -p test.yml demo
```Make temp directory
```
mktemp -d -t alancoding_XXXXX
```See active jobs
```
ps aux --forest | grep "ansible-runner"
ansible-runner is-alive demo -i alancoding_0
```Things might start going south.
```
killall podman
```