missing implementation of jsonpath library

This commit is contained in:
aubin
2021-05-03 10:55:24 +02:00
parent d29f8c1eb7
commit 4a9eca576d
6 changed files with 57 additions and 16 deletions

View File

@@ -136,6 +136,7 @@ requirements:
- "python >= 2.7"
- "openshift >= 0.6"
- "PyYAML >= 3.11"
- "jsonpath-rw"
'''
EXAMPLES = r'''
@@ -246,6 +247,13 @@ EXAMPLES = r'''
type: Progressing
status: Unknown
reason: DeploymentPaused
# Wait for this service to have acquired an External IP
- name: Deploy the dashboard service (lb)
kubernetes.core.k8s:
template: dash-service.yaml
wait: yes
wait_for: .status.loadBalancer.ingress[*].ip
'''
RETURN = r'''

View File

@@ -52,6 +52,7 @@ requirements:
- "python >= 2.7"
- "openshift >= 0.6"
- "PyYAML >= 3.11"
- "jsonpath-rw"
'''
EXAMPLES = r'''
@@ -164,6 +165,7 @@ def execute_module(module, k8s_ansible_mixin):
wait_sleep=module.params["wait_sleep"],
wait_timeout=module.params["wait_timeout"],
condition=module.params["wait_condition"],
wait_for=module.params["wait_for"]
)
module.exit_json(changed=False, **facts)

View File

@@ -34,6 +34,7 @@ requirements:
- "python >= 2.7"
- "openshift >= 0.6"
- "PyYAML >= 3.11"
- "jsonpath-rw"
'''
EXAMPLES = r'''