mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-22 06:02:51 +00:00
Minor update to ansible-runner README
Fixing second & third `tkn` examples to match the first. Args are passed as an array.
This commit is contained in:
parent
85371d90e9
commit
847fad48fe
@ -84,7 +84,7 @@ Create a deployment in `funstuff` namespace:
|
||||
tkn task start ansible-runner \
|
||||
--serviceaccount ansible-deployer-account \
|
||||
--param=project-dir=kubernetes \
|
||||
--param=args='-p create-deployment.yml' \
|
||||
--param=args=-p, create-deployment.yml \
|
||||
--workspace=name=runner-dir,claimName=ansible-playbooks \
|
||||
--showlog
|
||||
```
|
||||
@ -97,7 +97,7 @@ Create a service in `funstuff` namespace:
|
||||
tkn task start ansible-runner \
|
||||
--serviceaccount ansible-deployer-account \
|
||||
--param=project-dir=kubernetes \
|
||||
--param=args='-p create-service.yml' \
|
||||
--param=args=-p, create-service.yml \
|
||||
--workspace=name=runner-dir,claimName=ansible-playbooks \
|
||||
--showlog
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user