File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 2424    - name : Construct the deployment details 
2525      when :
2626        - deployment is undefined 
27+         - " 'run' in ansible_run_tags" 
2728        - " 'teardown' not in ansible_run_tags" 
2829      ansible.builtin.include_role :
2930        name : cloudera.exe.info 
3031
3132    - name : Get CDP workload username for current user 
32-       when : " 'teardown' not in ansible_run_tags" 
33+       when :
34+         - " 'teardown' not in ansible_run_tags" 
35+         - " 'run' in ansible_run_tags" 
3336      cloudera.cloud.iam_user_info :
3437        current_user : yes 
3538      register : __iam 
3639
3740    - name : Extract Kafka Brokers from Info 
38-       when : " 'teardown' not in ansible_run_tags" 
41+       when :
42+         - " 'teardown' not in ansible_run_tags" 
43+         - " 'run' in ansible_run_tags" 
3944      ansible.builtin.set_fact :
4045        kafka_brokers_fqdns : " {{ deployment.datahubs | selectattr('workloadType', 'search', 'Streams Messaging') | first | json_query(_jq) | first }}" 
4146      vars :
4449    - name : Deploy example DFX Flow - Kafka to Kafka 
4550      when :
4651        - " 'teardown' not in ansible_run_tags" 
52+         - " 'run' in ansible_run_tags" 
4753        - kafka_brokers_fqdns | length > 0 
4854      cloudera.cloud.df_deployment :
4955        name : " {{ globals.name_prefix }}_ex_kafkatokafka" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments