1
0
Fork 0

Remove old code

This commit is contained in:
Alex Kotov 2020-01-14 11:25:45 +05:00
parent 50d63e5e74
commit 9ea9a70690
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
10 changed files with 7 additions and 98 deletions

6
.gitignore vendored
View File

@ -1,5 +1 @@
/*.retry
/keys/*
!/keys/.keep
__pycache__/
/playbooks/*.retry

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2019 Alex Kotov
Copyright (c) 2019-2020 Alex Kotov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,18 +0,0 @@
---
litecoin__txindex: true
litecoin__server: true
litecoin__rpcserialversion: 1
litecoin__externalip:
- '165.227.52.149'
- '2604:A880:0002:00D0:0000:0000:2379:9001'
litecoin__rpcauth:
- 'lnd:d9ff98d96268fb714417e696f95a061$b70f35d76988632783001b4aa4908e567a8a2d3ac7b30cb781d21935d9a4a7e0'
- 'kotovalexarian:c2fe85ea2a33b18d277bc04f79228985$b342c1e177c209573082059bbee50821926540c17e7de1396a08d04122148209'
litecoin__zmqpubrawblock:
- 'tcp://127.0.0.1:28332'
litecoin__zmqpubrawtx:
- 'tcp://127.0.0.1:28333'

View File

@ -1,18 +0,0 @@
---
public_iface: eth0
private_iface: eth1
public_ipv4_address: 165.227.52.149
public_ipv4_gateway: 165.227.48.1
public_ipv4_prefixlen: 20
public_ipv4_netmask: 255.255.240.0
public_ipv6_address: 2604:A880:0002:00D0:0000:0000:2379:9001
public_ipv6_gateway: 2604:a880:2:d0::1
public_ipv6_prefixlen: 124
public_ipv6_from: 2604:a880:2:d0::2379:9000
public_ipv6_to: 2604:a880:2:d0::2379:900f
private_ipv4_address: 10.138.124.98
private_ipv4_prefixlen: 16
private_ipv4_netmask: 255.255.0.0

View File

@ -1 +0,0 @@
lnd.crypto-libertarian.com

View File

View File

@ -1,47 +0,0 @@
---
- hosts: all
tasks:
- name: APT update & upgrade
become: true
apt:
update_cache: true
upgrade: safe
- name: Install useful packages
become: true
apt:
state: present
name: ['bash-completion', 'colordiff', 'curl', 'less', 'vim']
- name: Harden SSH daemon
become: true
lineinfile:
state: present
path: /etc/ssh/sshd_config
regexp: '{{ item.regexp }}'
line: '{{ item.line }}'
with_items:
- regexp: '^#?PermitRootLogin '
line: 'PermitRootLogin no'
- regexp: '^#?MaxAuthTries '
line: 'MaxAuthTries 2'
- regexp: '^#?MaxSessions '
line: 'MaxSessions 5'
- regexp: '^#?PasswordAuthentication '
line: 'PasswordAuthentication no'
- regexp: '^#?ChallengeResponseAuthentication '
line: 'ChallengeResponseAuthentication no'
- regexp: '^#?AllowAgentForwarding '
line: 'AllowAgentForwarding no'
- regexp: '^#?AllowTcpForwarding '
line: 'AllowTcpForwarding no'
- regexp: '^#?X11Forwarding '
line: 'X11Forwarding no'
- regexp: '^#?TCPKeepAlive '
line: 'TCPKeepAlive no'
- regexp: '^#?UseDNS '
line: 'UseDNS no'
- name: Restart SSH daemon
become: true
systemd:
daemon_reload: true
name: sshd
state: restarted

View File

@ -1,5 +0,0 @@
---
- hosts: all
roles:
- kotovalexarian.litecoin
- kotovalexarian.lnd

5
playbooks/site.yml Normal file
View File

@ -0,0 +1,5 @@
---
- hosts: all
module_defaults:
apt:
force_apt_get: true

View File

@ -1,4 +1 @@
---
- src: kotovalexarian.litecoin
version: v0.0.7
- src: kotovalexarian.lnd