mirror of
https://github.com/trailofbits/algo
synced 2024-11-16 12:12:55 +00:00
29 lines
528 B
YAML
29 lines
528 B
YAML
---
|
|
|
|
- name: Gather Facts
|
|
setup:
|
|
tags:
|
|
- always
|
|
|
|
- include: ubuntu.yml
|
|
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
|
|
|
- include: freebsd.yml
|
|
when: ansible_distribution == 'FreeBSD'
|
|
|
|
- name: Install tools
|
|
package: name="{{ item }}" state=present
|
|
with_items:
|
|
- "{{ tools|default([]) }}"
|
|
tags:
|
|
- always
|
|
|
|
- name: Sysctl tuning
|
|
sysctl: name="{{ item.item }}" value="{{ item.value }}"
|
|
with_items:
|
|
- "{{ sysctl|default([]) }}"
|
|
tags:
|
|
- always
|
|
|
|
- meta: flush_handlers
|