Commit 8faf8af7 by Arbab Nazar Committed by GitHub

Merge pull request #3159 from edx/arbab/fix-duplicate-dict

fix error - found a duplicate dict key (when).  Using last defined value only
parents f71c9512 845f20b0
......@@ -153,13 +153,11 @@
name: ssh
state: restarted
become: True
when: sshd_config.changed
when: ansible_distribution in common_debian_variants
when: sshd_config.changed and ansible_distribution in common_debian_variants
- name: Restart ssh
service:
name: sshd
state: restarted
become: True
when: sshd_config.changed
when: ansible_distribution in common_redhat_variants
when: sshd_config.changed and ansible_distribution in common_redhat_variants
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment