mirror of
https://github.com/trailofbits/algo.git
synced 2025-04-25 10:43:48 +02:00
* FreeBSD draft ifconfig fix Pre-tasks fixes fix hardcoded IP some refactoring disable system-based tags disable freebsd tags FreeBSD vpn role add defaults ssh role freebsd default fix dns_adblocking freebsd ubuntu dict fix * HardenedBSD update-users BSD * Rebuild the kernel docs changing
20 lines
427 B
YAML
20 lines
427 B
YAML
---
|
|
|
|
- name: Check the system
|
|
raw: uname -a
|
|
register: OS
|
|
|
|
- name: Ubuntu pre-tasks
|
|
include: ubuntu.yml
|
|
when: '"Ubuntu" in OS.stdout'
|
|
|
|
- name: FreeBSD pre-tasks
|
|
include: freebsd.yml
|
|
when: '"FreeBSD" in OS.stdout'
|
|
|
|
- name: Ensure the algo ssh key exist on the server
|
|
authorized_key:
|
|
user: "{{ ansible_ssh_user }}"
|
|
state: present
|
|
key: "{{ lookup('file', '{{ SSH_keys.public }}') }}"
|
|
tags: [ 'always' ]
|