mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-06 13:02:37 +00:00
missing implementation of jsonpath library
This commit is contained in:
@@ -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'''
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ requirements:
|
||||
- "python >= 2.7"
|
||||
- "openshift >= 0.6"
|
||||
- "PyYAML >= 3.11"
|
||||
- "jsonpath-rw"
|
||||
'''
|
||||
|
||||
EXAMPLES = r'''
|
||||
|
||||
Reference in New Issue
Block a user