mirror of https://github.com/trailofbits/algo
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
486 B
YAML
18 lines
486 B
YAML
---
|
|
- name: Include tasks for MacOS
|
|
import_tasks: macos.yml
|
|
when: ansible_system == "Darwin"
|
|
|
|
- name: Include tasks for Linux
|
|
import_tasks: linux.yml
|
|
when: ansible_system == "Linux"
|
|
|
|
- name: Set config paths as facts
|
|
set_fact:
|
|
ipsec_pki_path: /{{ tmpfs_volume_path }}/{{ tmpfs_volume_name }}/IPsec/
|
|
|
|
- name: Update config paths
|
|
add_host:
|
|
name: "{{ 'localhost' if cloud_instance_ip == 'localhost' else cloud_instance_ip }}"
|
|
ipsec_pki_path: "{{ ipsec_pki_path }}"
|