Skip to content

Commit

Permalink
Merge branch 'dhparam-dsaparam' of https://github.com/ckousik/debops
Browse files Browse the repository at this point in the history
…into ckousik-dhparam-dsaparam
  • Loading branch information
drybjed committed Aug 16, 2019
2 parents 7f116ca + 29cd272 commit 5451af8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ansible/roles/debops.dhparam/defaults/main.yml
Expand Up @@ -156,6 +156,11 @@ dhparam__generate_log: True
# run at the end of the Diffie-Hellman generator script using ``run-parts``. # run at the end of the Diffie-Hellman generator script using ``run-parts``.
dhparam__hook_path: '{{ dhparam__path + "/hooks.d" }}' dhparam__hook_path: '{{ dhparam__path + "/hooks.d" }}'
# ]]] # ]]]
# .. envvar:: dhparam__openssl_options [[[
#
# Provide additional options to the openssl dhparam generator (eg. -dsaparam).
dhparam__openssl_options: ''
# ]]]
# ]]] # ]]]
# Initial Diffie-Hellman re-generation [[[ # Initial Diffie-Hellman re-generation [[[
# ---------------------------------------- # ----------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/debops.dhparam/tasks/main.yml
Expand Up @@ -43,7 +43,7 @@
--outfile {{ dhparam__source_path + "/" + dhparam__prefix + item + dhparam__suffix }} --outfile {{ dhparam__source_path + "/" + dhparam__prefix + item + dhparam__suffix }}
--bits {{ item }} --bits {{ item }}
{% elif dhparam__source_library == 'openssl' %} {% elif dhparam__source_library == 'openssl' %}
openssl dhparam -out {{ dhparam__source_path + "/" + dhparam__prefix + item + dhparam__suffix }} {{ item }} openssl dhparam {{ dhparam__openssl_options }} -out {{ dhparam__source_path + "/" + dhparam__prefix + item + dhparam__suffix }} {{ item }}
{% endif %} {% endif %}
args: args:
creates: '{{ dhparam__source_path + "/" + dhparam__prefix + item + dhparam__suffix }}' creates: '{{ dhparam__source_path + "/" + dhparam__prefix + item + dhparam__suffix }}'
Expand Down

0 comments on commit 5451af8

Please sign in to comment.