Flansible is a restful service which can invoke ansible command in celery, and this is the docker container for it.
You need set up an flansible folder which contains two subfolders
You can see an example in the vol_example folder here
You can just use docker-compose up -d here, or use the command below:
start reids
docker run -d --name=redis -v YOUR_REDIS_FOLDER:/data redis:alpine redis-server --appendonly yes
start celery
docker run -d --name=celery -v YOUR_ANSIBLE_FOLDER:/data playniuniu/flansible /env/bin/celery worker -A flansible.celery --loglevel=info
start flansible
docker run -d --name=flansible -p 8000:8000 -v YOUR_ANSIBLE_FOLDER:/data playniuniu/flansible
start flower (optional)
docker run -d --network=picc --name=flower -p 5555:5555 playniuniu/flower
Please refer flansible usage here
Content type
Image
Digest
Size
40.1 MB
Last updated
almost 10 years ago
docker pull playniuniu/flansible