Skip to content

Commit

Permalink
fix: use the username defined in inventory hosts file (#1315)
Browse files Browse the repository at this point in the history
  • Loading branch information
beepdot authored May 28, 2021
1 parent 783e63f commit 9c031cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ version="{{version}}"
headnode_size="{{headnode_size}}"
workernode_size="{{workernode_size}}"
workernode_count="{{workernode_count}}"
ssh_user=deployer
ssh_user="{{ ansible_ssh_user }}"
ssh_pub_key="{{ssh_public_key_deployer}}"
#ssh_pass="{{azure_spark_cluster_http_password}}"

Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/cassandra-restore/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
user_home: /home/deployer
user_home: "/home/{{ ansible_ssh_user }}/"
4 changes: 2 additions & 2 deletions ansible/roles/provision-geo-location-db/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
download_user: deployer
download_group: deployer
download_user: "{{ ansible_ssh_user }}"
download_group: "{{ ansible_ssh_user }}"
maxmind_geoip2_csv_converter_url: "https://github.com/maxmind/geoip2-csv-converter/releases/download/v1.0.0/geoip2-csv-converter-v1.0.0-linux-amd64.tar.gz"
maxmind_db_download_dir: /tmp
maxmind_db_dir_name: "geoip2-city-csv"
Expand Down

0 comments on commit 9c031cb

Please sign in to comment.