mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 15:43:54 +02:00
Create a symlink if deploying to localhost (#1078)
This commit is contained in:
parent
e860b78d80
commit
fb1c0f6a5e
1 changed files with 8 additions and 0 deletions
|
@ -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') }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue