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: 8 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 (almost 5 years ago)
- Default Branch: devel
- Last Pushed: 2021-06-15T19:27:27.000Z (almost 5 years ago)
- Last Synced: 2025-02-22T11:43:41.026Z (about 1 year 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
```