mirror of
https://github.com/trailofbits/algo.git
synced 2025-07-24 14:33:02 +02:00
* Refactoring, Linting and additional tests * Vultr: Undefined variable and deprecation notes fix * Travis-CI enable linters * Azure: Update python requirements * Update main.yml * Update install.sh * Add missing roles to ansible-lint * Linting for skipped roles * add .ansible-lint config
27 lines
502 B
YAML
27 lines
502 B
YAML
---
|
|
- name: Check the system
|
|
raw: uname -a
|
|
register: OS
|
|
changed_when: false
|
|
tags:
|
|
- update-users
|
|
|
|
- include_tasks: ubuntu.yml
|
|
when: '"Ubuntu" in OS.stdout or "Linux" in OS.stdout'
|
|
tags:
|
|
- update-users
|
|
|
|
- include_tasks: freebsd.yml
|
|
when: '"FreeBSD" in OS.stdout'
|
|
tags:
|
|
- update-users
|
|
|
|
- name: Sysctl tuning
|
|
sysctl: name="{{ item.item }}" value="{{ item.value }}"
|
|
when: item.item
|
|
with_items:
|
|
- "{{ sysctl|default([]) }}"
|
|
tags:
|
|
- always
|
|
|
|
- meta: flush_handlers
|