File tree Expand file tree Collapse file tree 10 files changed +54
-0
lines changed Expand file tree Collapse file tree 10 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ /.idea
Original file line number Diff line number Diff line change 1+ RiotKit server tweaking starter
2+ ===============================
3+
4+ Basic role to pre-configure RiotKit managed server.
Original file line number Diff line number Diff line change 1+ galaxy_info :
2+ author : Andrew Johnson
3+ description : Tune the server right after clean install
4+ company : RiotKit
5+ license : MIT
6+ min_ansible_version : 1.2
7+
8+ galaxy_tags :
9+ - ubuntu
10+ - stabilize
11+ - docker
12+ - riotkit
13+ - anarchist
14+
15+ dependencies : []
Original file line number Diff line number Diff line change 1+ - name : Adjust swappiness
2+ sysctl :
3+ name : vm.swappiness
4+ value : " {{ swappiness }}"
5+ state : present
6+ when : adjust_swappiness|bool
Original file line number Diff line number Diff line change 1+ - include : stabilize-apt.yaml
2+ - include : remove-rubbish-packages.yaml
3+ - include : tune-docker.yaml
4+ - include : adjust-swapiness.yaml
Original file line number Diff line number Diff line change 1+ - name : Uninstall qemu-guest-agent
2+ apt :
3+ name : qemu-guest-agent
4+ state : absent
5+ when : remove_qemu_guest_agent|bool
Original file line number Diff line number Diff line change 1+ - name : Uninstall unattended-upgrades
2+ apt :
3+ name : unattended-upgrades
4+ state : absent
5+ when : remove_unattended_upgrades|bool
Original file line number Diff line number Diff line change 1+ - name : Set up the docker daemon
2+ template :
3+ src : etc/docker/daemon.json
4+ dest : /etc/docker/daemon.json
5+ when : tune_docker|bool
Original file line number Diff line number Diff line change 1+ {
2+ "log-driver" : " journald"
3+ }
Original file line number Diff line number Diff line change 1+ remove_unattended_upgrades : yes
2+ remove_qemu_guest_agent : yes
3+ tune_docker : yes
4+ adjust_swappiness : yes
5+
6+ swappiness : 10
You can’t perform that action at this time.
0 commit comments