initial commit
This commit is contained in:
commit
800836b2d9
23 changed files with 609 additions and 0 deletions
37
play.yml
Normal file
37
play.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
---
|
||||
- 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}
|
||||
# - {role: glusterfs-client}
|
||||
# - {role: glusterfs-server}
|
||||
- {role: zfs}
|
||||
# - {role: rke}
|
||||
- {role: sysctl}
|
Loading…
Add table
Add a link
Reference in a new issue