fix README
This commit is contained in:
parent
94a735125c
commit
e8837a173c
3 changed files with 22 additions and 3 deletions
19
README.md
19
README.md
|
@ -50,6 +50,21 @@ Run defaults
|
||||||
|
|
||||||
ansible-playbook common.yml
|
ansible-playbook common.yml
|
||||||
|
|
||||||
|
this playbok will:
|
||||||
|
- check if the variables are set
|
||||||
|
- change the hostname to the one that has been set in the variables
|
||||||
|
- set the timezone to the one in the variables (default: Europe/Rome)
|
||||||
|
- update repositories
|
||||||
|
- install base packages
|
||||||
|
- retrieve the main network interface (the one that is associated with the default gateway)
|
||||||
|
- iptables:
|
||||||
|
- create the users defined in the variables with the keys
|
||||||
|
- create basic ipv4 rules
|
||||||
|
- create blocking ipv6 rules
|
||||||
|
- apply said rules in iptables-persistent
|
||||||
|
- fix bashrc how I like it
|
||||||
|
- harden ssh
|
||||||
|
|
||||||
Run optionals
|
Run optionals
|
||||||
=============
|
=============
|
||||||
- docker.yml : installs docker-ce and docker-compose (variable in variables.yml for latest of docker-compose)
|
- docker.yml : installs docker-ce and docker-compose (variable in variables.yml for latest of docker-compose)
|
||||||
|
@ -81,4 +96,6 @@ Git push
|
||||||
or:
|
or:
|
||||||
git add --all && git commit -m "message" && git push -u origin master
|
git add --all && git commit -m "message" && git push -u origin master
|
||||||
|
|
||||||
|
TODO
|
||||||
|
========
|
||||||
|
- [ ] fix the installation that is only for deb systems in common.yml
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
||||||
- name: Set timezone to Europe/Rome
|
- name: Set timezone to {{ timezone }}
|
||||||
timezone:
|
timezone:
|
||||||
name: Europe/Rome
|
name: {{ timezone }}
|
||||||
|
|
||||||
- name: Update repositories cache
|
- name: Update repositories cache
|
||||||
apt:
|
apt:
|
||||||
|
|
|
@ -3,6 +3,8 @@ users:
|
||||||
hostname: CHANGEME
|
hostname: CHANGEME
|
||||||
tinc_vpn: CHANGEME
|
tinc_vpn: CHANGEME
|
||||||
#
|
#
|
||||||
|
timezone: Europe/Rome
|
||||||
|
#
|
||||||
compose_ver: 1.25.4
|
compose_ver: 1.25.4
|
||||||
singularity_go_ver: 1.13.6
|
singularity_go_ver: 1.13.6
|
||||||
singularity_ver: 3.5.2
|
singularity_ver: 3.5.2
|
||||||
|
|
Loading…
Reference in a new issue