General Enhancements (#50)

* Hide email clients.

* Always install CRON.

* Add variable for the static IP to Hyperling.com.

* Change IPs.

* Beginnings of a script to do IPv6 SCP.

* Add ability to specify which port SSH runs on.

* Require the destination.
This commit is contained in:
2024-01-30 05:25:50 -07:00
committed by GitHub
parent a561bdecc1
commit 04a980a7a3
6 changed files with 116 additions and 21 deletions

View File

@ -70,6 +70,10 @@
; Example: /usr/local/swap
; Default: /swapfile
;
; sshd_port : Determine the port which SSHD should listen on.
; Example: 12345
; Default: 22
;
[global]
marker: '; {mark} MANAGED BY ANSIBLE | Generic Config'
state: present
@ -88,6 +92,7 @@
swap_block: "{{ lookup('ini', 'swap_block file={{gen_file}} default=false') }}"
swap_count: "{{ lookup('ini', 'swap_count file={{gen_file}} default=1') }}"
swap_file: "{{ lookup('ini', 'swap_file file={{gen_file}} default=/swapfile') }}"
sshd_port: "{{ lookup('ini', 'sshd_port file={{gen_file}} default=22') }}"
- name: General | Account Management | Provisioning Configuration | General | List
set_fact:
@ -103,6 +108,7 @@
- { 'swap_block': "{{ swap_block }}" }
- { 'swap_count': "{{ swap_count }}" }
- { 'swap_file': "{{ swap_file }}" }
- { 'sshd_port': "{{ sshd_port }}" }
## Workstation ##

View File

@ -451,6 +451,10 @@
}
alias_clone: |
alias clone="rsync -auPh --delete"
export_hyperling:
export HYPERLING6="2a07:e03:3:80::1"
export HYPERLING4="185.130.47.173"
export HYPERLING="$HYPERLING4"
- name: General | Account Management | Users | Files | Common Variable
set_fact:
@ -489,6 +493,7 @@
{{ function_clean_filenames }}
{{ function_clean_filenames_tree }}
{{ alias_clone }}
{{ export_hyperling }}
- name: General | Account Management | Users | Files | .bashrc
blockinfile: