mirror of
https://github.com/trailofbits/algo.git
synced 2025-04-11 11:47:08 +02:00
17 lines
486 B
YAML
17 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 }}"
|