deploy-base/play.yml

35 lines
754 B
YAML
Raw Normal View History

2019-02-26 03:49:51 +00:00
---
- hosts: all
vars:
common_pkgs:
- bash-completion
- htop
- vim
- strace
- dmidecode
- nethogs
- sysbench
- fio
- rsync
arc_size_mb: "{{ (ansible_memtotal_mb * 0.75)|int|abs }}"
arc_size_bytes: "{{ arc_size_mb }}000000"
pwgen: "{{ lookup('password', '/dev/null chars=ascii_letters,digits,hexdigits,punctuation length=32') }}"
vars_prompt:
- name: "username"
prompt: "username for the user you want to create"
default: jlay
private: no
roles:
- {role: bootstrap}
- {role: update-packages}
- {role: install-packages}
- {role: create-user}
- {role: hardening}
- {role: docker}
- {role: tuned}
2019-02-26 03:49:51 +00:00
- {role: zfs}
- {role: sysctl}