rht-labs / labs-ci-cd

👻UNMAINTAINED - A collection of Red Hat Open Innovation Labs CI/CD components
Apache License 2.0
101 stars 70 forks source link

Examples of running via docker are incorrect #184

Closed InfoSec812 closed 6 years ago

InfoSec812 commented 6 years ago

The command:

./run.sh ansible-playbook /tmp/src/unique-projects-playbook.yaml -i /tmp/src/inventory/ -e "project_name_postfix=<insert unique postfix here> target=<thing you're targeting eg tools>"

fails with:

- openshift-applier (v3.9.0) is already installed, skipping.
ERROR! the playbook: target=bootstrap could not be found

The command needs to be:

./run.sh ansible-playbook /tmp/src/unique-projects-playbook.yaml -i /tmp/src/inventory/ -e "project_name_postfix=<insert unique postfix here>" -e "target=<thing you're targeting eg tools>"

Basically, the two parameters of project_name_postfix and target need to have separate -e options.