Browse Source

fix README

panda 4 years ago
parent
commit
e8837a173c
3 changed files with 22 additions and 3 deletions
  1. 18 1
      README.md
  2. 2 2
      common.yml
  3. 2 0
      variables.yml

+ 18 - 1
README.md

@@ -50,6 +50,21 @@ Run defaults
 
 	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
 =============
 - docker.yml : installs docker-ce and docker-compose (variable in variables.yml for latest of docker-compose)
@@ -81,4 +96,6 @@ Git push
 or:
 	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

+ 2 - 2
common.yml

@@ -30,9 +30,9 @@
         state: present
 
 
-    - name: Set timezone to Europe/Rome
+    - name: Set timezone to {{ timezone }}
       timezone:
-        name: Europe/Rome
+        name: {{ timezone }}
 
     - name: Update repositories cache
       apt:

+ 2 - 0
variables.yml

@@ -3,6 +3,8 @@ users:
 hostname: CHANGEME
 tinc_vpn: CHANGEME
 #
+timezone: Europe/Rome
+#
 compose_ver: 1.25.4
 singularity_go_ver: 1.13.6
 singularity_ver: 3.5.2