Skip to content

Commit

Permalink
Merge pull request #93 from jbenden/deprecated-always_run
Browse files Browse the repository at this point in the history
Replace deprecated always_run with check_mode
  • Loading branch information
rndmh3ro committed Mar 14, 2017
2 parents 490be55 + 00aa9ea commit 4ba86e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
shell: awk '$5 < {{ sshd_moduli_minimum }}' /etc/ssh/moduli
register: sshd_register_moduli
changed_when: false
always_run: True
check_mode: no

- name: remove all small primes
shell: awk '$5 >= {{ sshd_moduli_minimum }}' /etc/ssh/moduli > /etc/ssh/moduli.new ;
Expand Down

0 comments on commit 4ba86e1

Please sign in to comment.