File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 15
15
# See the License for the specific language governing permissions and
16
16
# limitations under the License.
17
17
18
+ import json
19
+
18
20
import jmespath
19
21
from ansible .module_utils .basic import AnsibleModule
20
22
from ansible_collections .cloudera .cloud .plugins .module_utils .cdp_common import CdpModule
@@ -534,7 +536,8 @@ def process(self):
534
536
params = dict (name = self .name ),
535
537
field = None ,
536
538
delay = self .delay ,
537
- timeout = self .timeout
539
+ timeout = self .timeout ,
540
+ ignore_failures = True
538
541
)
539
542
else :
540
543
self .module .fail_json (msg = 'Invalid state: %s' % self .state )
@@ -595,6 +598,7 @@ def _configure_payload(self):
595
598
msg = "Could not retrieve subnet metadata for CDP Environment %s" % self .env_crn )
596
599
597
600
subnets = self ._filter_subnets (self .subnets_filter , subnet_metadata )
601
+ self .module .warn ("Found subnets: %s" % ", " .join (subnets ))
598
602
if len (subnets ) == 1 :
599
603
self .subnet = subnets [0 ]
600
604
else :
You can’t perform that action at this time.
0 commit comments