Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@

- name: add admin keys for cloudmonkey
acs_mysql_update: DBHOST="{{ mysql_master_ip }}" DBUSER="cloud" DBPASS={{ mysql_cloud_password }} MYSQL_STATEMENT="UPDATE `cloud`.`user` SET `api_key`='{{ cm_apikey }}', `secret_key`='{{ cm_secretkey_enc }}' WHERE `id`='2';"
when: env_numversion | version_compare('4.23','<')

- name: add admin keys for cloudmonkey in api_keypair table
acs_mysql_update: DBHOST="{{ mysql_master_ip }}" DBUSER="cloud" DBPASS={{ mysql_cloud_password }} MYSQL_STATEMENT="UPDATE `cloud`.`api_keypair` SET `api_key`='{{ cm_apikey }}', `secret_key`='{{ cm_secretkey_enc }}' WHERE `user_id`='2';"
Comment thread
weizhouapache marked this conversation as resolved.
Comment thread
vishesh92 marked this conversation as resolved.
when: env_numversion | version_compare('4.23','>=')

- name: test for cloud or cloudstack Usage
stat: path=/etc/init.d/cloudstack-management
Expand Down