mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-10 17:13:58 +02:00
* Move to ansible-2.4.3 * Add Lightsail support #623 * Fixing the EC2 deployment * Scaleway integration #623 * OpenStack cloud provider (DreamCompute optimised) #623 * Remove the security role * Enable unattended-upgrades for clouds * New requirements to make Azure and GCE work
28 lines
651 B
YAML
28 lines
651 B
YAML
---
|
|
- block:
|
|
- include_tasks: ubuntu.yml
|
|
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
|
|
|
- include_tasks: 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
|
|
rescue:
|
|
- debug: var=fail_hint
|
|
tags: always
|
|
- fail:
|
|
tags: always
|