Skip to content

Commit

Permalink
Merge pull request #43 from sa2ajj/fix-bb-master
Browse files Browse the repository at this point in the history
use the item value not key
  • Loading branch information
Mikhail Sobolev committed Dec 16, 2014
2 parents a462c56 + 64c97a9 commit 897b124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/bb-master/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
sudo_user: "{{ bb_user }}"
copy:
dest: "{{ bb_master_dir }}/{{ metabbotcfg_short }}/{{ item.key }}.pass"
content: "{{ item.key }}"
content: "{{ item.value }}"
mode: "0600"
with_dict: "slave_passwords[bb_config_branch]"
# NOTE(sa2ajj): in case a password changes, a restart is also required, but
Expand Down

0 comments on commit 897b124

Please sign in to comment.