File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 2121 status_code : 200,404
2222 register : license_response
2323
24- - set_fact :
24+ - name : Set installed Cloudera license flag
25+ ansible.builtin.set_fact :
2526 license_not_installed : >-
2627 {{ license_response.json.message | default('') in [
2728 'This installation is currently running Cloudera Express.',
4647 quiet : yes
4748
4849- name : Post license file to Cloudera Manager API
49- shell : >
50+ ansible.builtin. shell : >
5051 curl
5152 --user {{ cloudera_manager_api_user }}:{{ cloudera_manager_api_password }}
5253 --request POST
5354 --header 'Content-Type:multipart/form-data'
5455 --form license=@{{ license_local_tmp_path }}
5556 {{ license_response.url }}
56- args :
57- warn : False
5857 register : response
5958 failed_when : " 'owner' not in response.stdout"
6059 when : license_not_installed
Original file line number Diff line number Diff line change 1515---
1616
1717- name : Add Cloudera Manager yum repository
18- yum_repository :
18+ ansible.builtin. yum_repository :
1919 name : cloudera-manager
2020 description : Cloudera Manager
2121 baseurl : " {{ cloudera_manager_repo_url }}"
2626 password : " {{ cloudera_manager_repo_password | default('') }}"
2727
2828- name : yum-clean-metadata
29- command : yum clean metadata
30- args :
31- warn : no
29+ ansible.builtin.command : yum clean metadata
You can’t perform that action at this time.
0 commit comments