Create a symlink if deploying to localhost (#1078)

This commit is contained in:
Jack Ivanov 2018-08-30 15:36:35 +03:00 committed by GitHub
parent e860b78d80
commit fb1c0f6a5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,14 @@
{% if tests|default(false)|bool %}ca_password: {{ CA_password }}{% endif %} {% if tests|default(false)|bool %}ca_password: {{ CA_password }}{% endif %}
become: false become: false
- name: Create a symlink if deploying to localhost
file:
src: "{{ IP_subject_alt_name }}"
dest: configs/localhost
state: link
force: true
when: inventory_hostname == 'localhost'
- debug: - debug:
msg: msg:
- "{{ congrats.common.split('\n') }}" - "{{ congrats.common.split('\n') }}"