mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Fixes tests in bigip_wait for ansible 2.8 (#47773)
This commit is contained in:
parent
38844194ae
commit
7c84ba8051
2 changed files with 27 additions and 19 deletions
|
@ -1,8 +1,9 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
#
|
||||
# Copyright: (c) 2017, F5 Networks Inc.
|
||||
# GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
from __future__ import absolute_import, division, print_function
|
||||
__metaclass__ = type
|
||||
|
||||
|
@ -48,25 +49,28 @@ author:
|
|||
EXAMPLES = r'''
|
||||
- name: Wait for BIG-IP to be ready to take configuration
|
||||
bigip_wait:
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
user: admin
|
||||
provider:
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
user: admin
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Wait a maximum of 300 seconds for BIG-IP to be ready to take configuration
|
||||
bigip_wait:
|
||||
timeout: 300
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
user: admin
|
||||
provider:
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
user: admin
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Wait for BIG-IP to be ready, don't start checking for 10 seconds
|
||||
bigip_wait:
|
||||
delay: 10
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
user: admin
|
||||
provider:
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
user: admin
|
||||
delegate_to: localhost
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue