Commit 845f20b0 by arbabnazar

fix error - found a duplicate dict key (when). Using last defined value only

parent 92acf889
...@@ -153,13 +153,11 @@ ...@@ -153,13 +153,11 @@
name: ssh name: ssh
state: restarted state: restarted
become: True become: True
when: sshd_config.changed when: sshd_config.changed and ansible_distribution in common_debian_variants
when: ansible_distribution in common_debian_variants
- name: Restart ssh - name: Restart ssh
service: service:
name: sshd name: sshd
state: restarted state: restarted
become: True become: True
when: sshd_config.changed when: sshd_config.changed and ansible_distribution in common_redhat_variants
when: 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