first commit
This commit is contained in:
commit
7df8c091a1
461 changed files with 14536 additions and 0 deletions
15
.ansible-lint
Normal file
15
.ansible-lint
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
exclude_paths:
|
||||
- roles/stefangweichinger.rclone/
|
||||
- roles/igor_mukhin.bash_aliases/
|
||||
- roles/nickjj.ansible-user/
|
||||
- roles/azavea.ansible-pip/
|
||||
|
||||
parseable: true
|
||||
quiet: true
|
||||
skip_list:
|
||||
- '204'
|
||||
- '701'
|
||||
use_default_rules: true
|
||||
verbosity: 0
|
||||
# https://github.com/ansible/ansible-lint#false-positives-skipping-rules
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
.git/
|
||||
ansible-vault-password.yml
|
||||
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
|
14
.remote-sync.json
Normal file
14
.remote-sync.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"uploadOnSave": true,
|
||||
"useAtomicWrites": true,
|
||||
"deleteLocal": false,
|
||||
"hostname": "ansible.grote.lan",
|
||||
"port": "22",
|
||||
"target": "/home/mg/ansible",
|
||||
"ignore": [
|
||||
".git/**"
|
||||
],
|
||||
"username": "mg",
|
||||
"keyfile": "C:/Users/mg/Desktop/NextCloud/Rest/ssh-keys/heimserver/private.ppk",
|
||||
"transport": "scp"
|
||||
}
|
358
Archiv/Rest/smb.conf - omvv2.txt
Normal file
358
Archiv/Rest/smb.conf - omvv2.txt
Normal file
|
@ -0,0 +1,358 @@
|
|||
|
||||
root@omvv2.grote.lan's password:
|
||||
Linux omvv2 4.19.0-0.bpo.8-amd64 #1 SMP Debian 4.19.98-1~bpo9+1 (2020-03-09) x86 _64
|
||||
|
||||
The programs included with the Debian GNU/Linux system are free software;
|
||||
the exact distribution terms for each program are described in the
|
||||
individual files in /usr/share/doc/*/copyright.
|
||||
|
||||
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
|
||||
permitted by applicable law.
|
||||
Last login: Sun Apr 19 16:09:19 2020 from 192.168.2.40
|
||||
root@omvv2:~# cat /etc/samba/smb.conf
|
||||
#======================= Global Settings =======================
|
||||
[global]
|
||||
workgroup = WORKGROUP
|
||||
server string = %h server
|
||||
dns proxy = no
|
||||
log level = 0
|
||||
log file = /var/log/samba/log.%m
|
||||
max log size = 1000
|
||||
logging = syslog
|
||||
panic action = /usr/share/samba/panic-action %d
|
||||
encrypt passwords = true
|
||||
passdb backend = tdbsam
|
||||
obey pam restrictions = no
|
||||
unix password sync = no
|
||||
passwd program = /usr/bin/passwd %u
|
||||
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n * password\supdated\ssuccessfully* .
|
||||
pam password change = yes
|
||||
socket options = TCP_NODELAY IPTOS_LOWDELAY
|
||||
guest account = nobody
|
||||
load printers = no
|
||||
disable spoolss = yes
|
||||
printing = bsd
|
||||
printcap name = /dev/null
|
||||
unix extensions = yes
|
||||
wide links = no
|
||||
create mask = 0777
|
||||
directory mask = 0777
|
||||
map to guest = Bad User
|
||||
use sendfile = yes
|
||||
aio read size = 16384
|
||||
aio write size = 16384
|
||||
local master = yes
|
||||
time server = no
|
||||
wins support = no
|
||||
acl allow execute always = yes
|
||||
allocation roundup size = 4096
|
||||
#======================= Share Definitions =======================
|
||||
[scans]
|
||||
path = /srv/7050c4a3-98ad-41bd-804d-a85c94b16468/scans
|
||||
guest ok = yes
|
||||
guest only = yes
|
||||
read only = no
|
||||
browseable = yes
|
||||
inherit acls = yes
|
||||
inherit permissions = no
|
||||
ea support = no
|
||||
store dos attributes = no
|
||||
vfs objects = recycle
|
||||
recycle:repository = .recycle/%U
|
||||
recycle:keeptree = yes
|
||||
recycle:versions = yes
|
||||
recycle:touch = yes
|
||||
recycle:directory_mode = 0777
|
||||
recycle:subdir_mode = 0700
|
||||
recycle:exclude =
|
||||
recycle:exclude_dir =
|
||||
recycle:maxsize = 0
|
||||
printable = no
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
hide special files = yes
|
||||
follow symlinks = yes
|
||||
hide dot files = no
|
||||
[tmp]
|
||||
path = /srv/7050c4a3-98ad-41bd-804d-a85c94b16468/tmp
|
||||
guest ok = yes
|
||||
guest only = yes
|
||||
read only = no
|
||||
browseable = yes
|
||||
inherit acls = yes
|
||||
inherit permissions = no
|
||||
ea support = no
|
||||
store dos attributes = no
|
||||
vfs objects =
|
||||
printable = no
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
hide special files = yes
|
||||
follow symlinks = yes
|
||||
hide dot files = yes
|
||||
[pve]
|
||||
path = /srv/7050c4a3-98ad-41bd-804d-a85c94b16468/pve
|
||||
guest ok = no
|
||||
read only = no
|
||||
browseable = yes
|
||||
inherit acls = yes
|
||||
inherit permissions = no
|
||||
ea support = no
|
||||
store dos attributes = no
|
||||
vfs objects =
|
||||
printable = no
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
hide special files = yes
|
||||
follow symlinks = yes
|
||||
hide dot files = yes
|
||||
valid users = "michaelgrote","pve"
|
||||
invalid users =
|
||||
read list =
|
||||
write list = "michaelgrote","pve"
|
||||
[aptcacherng]
|
||||
path = /srv/7050c4a3-98ad-41bd-804d-a85c94b16468/aptcacherng
|
||||
guest ok = no
|
||||
read only = no
|
||||
browseable = yes
|
||||
inherit acls = no
|
||||
inherit permissions = yes
|
||||
ea support = no
|
||||
store dos attributes = no
|
||||
vfs objects =
|
||||
printable = no
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
hide special files = yes
|
||||
follow symlinks = yes
|
||||
hide dot files = yes
|
||||
valid users =
|
||||
invalid users =
|
||||
read list =
|
||||
write list =
|
||||
[ag-v1]
|
||||
path = /srv/7050c4a3-98ad-41bd-804d-a85c94b16468/ag-v1
|
||||
guest ok = no
|
||||
read only = no
|
||||
browseable = yes
|
||||
inherit acls = yes
|
||||
inherit permissions = no
|
||||
ea support = no
|
||||
store dos attributes = no
|
||||
vfs objects = recycle
|
||||
recycle:repository = .recycle/%U
|
||||
recycle:keeptree = yes
|
||||
recycle:versions = yes
|
||||
recycle:touch = yes
|
||||
recycle:directory_mode = 0777
|
||||
recycle:subdir_mode = 0700
|
||||
recycle:exclude =
|
||||
recycle:exclude_dir =
|
||||
recycle:maxsize = 0
|
||||
printable = no
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
hide special files = yes
|
||||
follow symlinks = yes
|
||||
hide dot files = yes
|
||||
valid users = "michaelgrote","andreasgrote"
|
||||
invalid users =
|
||||
read list =
|
||||
write list = "michaelgrote","andreasgrote"
|
||||
[hm-v1]
|
||||
path = /srv/7050c4a3-98ad-41bd-804d-a85c94b16468/hm-v1
|
||||
guest ok = no
|
||||
read only = no
|
||||
browseable = yes
|
||||
inherit acls = yes
|
||||
inherit permissions = no
|
||||
ea support = no
|
||||
store dos attributes = no
|
||||
vfs objects = recycle
|
||||
recycle:repository = .recycle/%U
|
||||
recycle:keeptree = yes
|
||||
recycle:versions = yes
|
||||
recycle:touch = yes
|
||||
recycle:directory_mode = 0777
|
||||
recycle:subdir_mode = 0700
|
||||
recycle:exclude =
|
||||
recycle:exclude_dir =
|
||||
recycle:maxsize = 0
|
||||
printable = no
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
hide special files = yes
|
||||
follow symlinks = yes
|
||||
hide dot files = yes
|
||||
valid users = "michaelgrote","horstmartin"
|
||||
invalid users =
|
||||
read list =
|
||||
write list = "michaelgrote","horstmartin"
|
||||
[Videos-v2]
|
||||
path = /srv/7050c4a3-98ad-41bd-804d-a85c94b16468/Videos-v2
|
||||
guest ok = no
|
||||
read only = no
|
||||
browseable = yes
|
||||
inherit acls = yes
|
||||
inherit permissions = no
|
||||
ea support = no
|
||||
store dos attributes = no
|
||||
vfs objects = recycle
|
||||
recycle:repository = .recycle/%U
|
||||
recycle:keeptree = yes
|
||||
recycle:versions = yes
|
||||
recycle:touch = yes
|
||||
recycle:directory_mode = 0777
|
||||
recycle:subdir_mode = 0700
|
||||
recycle:exclude =
|
||||
recycle:exclude_dir =
|
||||
recycle:maxsize = 0
|
||||
printable = no
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
hide special files = yes
|
||||
follow symlinks = yes
|
||||
hide dot files = yes
|
||||
valid users = "annemariedroessler","michaelgrote","toolserver","win10"
|
||||
invalid users =
|
||||
read list = "annemariedroessler"
|
||||
write list = "michaelgrote","toolserver","win10"
|
||||
[Musik-v2]
|
||||
path = /srv/7050c4a3-98ad-41bd-804d-a85c94b16468/Musik-v2
|
||||
guest ok = no
|
||||
read only = no
|
||||
browseable = yes
|
||||
inherit acls = yes
|
||||
inherit permissions = no
|
||||
ea support = no
|
||||
store dos attributes = no
|
||||
vfs objects = recycle
|
||||
recycle:repository = .recycle/%U
|
||||
recycle:keeptree = yes
|
||||
recycle:versions = yes
|
||||
recycle:touch = yes
|
||||
recycle:directory_mode = 0777
|
||||
recycle:subdir_mode = 0700
|
||||
recycle:exclude =
|
||||
recycle:exclude_dir =
|
||||
recycle:maxsize = 0
|
||||
printable = no
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
hide special files = yes
|
||||
follow symlinks = yes
|
||||
hide dot files = no
|
||||
valid users = "annemariedroessler","jellyfin","michaelgrote","win10"
|
||||
invalid users =
|
||||
read list = "annemariedroessler","jellyfin","win10"
|
||||
write list = "michaelgrote"
|
||||
[mg-v2]
|
||||
path = /srv/7050c4a3-98ad-41bd-804d-a85c94b16468/mg-v2
|
||||
guest ok = no
|
||||
read only = no
|
||||
browseable = yes
|
||||
inherit acls = yes
|
||||
inherit permissions = no
|
||||
ea support = no
|
||||
store dos attributes = no
|
||||
vfs objects = recycle
|
||||
recycle:repository = .recycle/%U
|
||||
recycle:keeptree = yes
|
||||
recycle:versions = yes
|
||||
recycle:touch = yes
|
||||
recycle:directory_mode = 0777
|
||||
recycle:subdir_mode = 0700
|
||||
recycle:exclude =
|
||||
recycle:exclude_dir =
|
||||
recycle:maxsize = 0
|
||||
printable = no
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
hide special files = yes
|
||||
follow symlinks = yes
|
||||
hide dot files = yes
|
||||
valid users = "michaelgrote","win10"
|
||||
invalid users =
|
||||
read list =
|
||||
write list = "michaelgrote","win10"
|
||||
[Backup-v2]
|
||||
path = /srv/7050c4a3-98ad-41bd-804d-a85c94b16468/Backup-v2
|
||||
guest ok = no
|
||||
read only = no
|
||||
browseable = yes
|
||||
inherit acls = yes
|
||||
inherit permissions = no
|
||||
ea support = no
|
||||
store dos attributes = no
|
||||
vfs objects = recycle
|
||||
recycle:repository = .recycle/%U
|
||||
recycle:keeptree = yes
|
||||
recycle:versions = yes
|
||||
recycle:touch = yes
|
||||
recycle:directory_mode = 0777
|
||||
recycle:subdir_mode = 0700
|
||||
recycle:exclude =
|
||||
recycle:exclude_dir =
|
||||
recycle:maxsize = 0
|
||||
printable = no
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
hide special files = yes
|
||||
follow symlinks = yes
|
||||
hide dot files = yes
|
||||
valid users = "annemariedroessler","michaelgrote","restic","toolserver","win10"
|
||||
invalid users =
|
||||
read list =
|
||||
write list = "annemariedroessler","michaelgrote","restic","toolserver","win10"
|
||||
[amd-v2]
|
||||
path = /srv/7050c4a3-98ad-41bd-804d-a85c94b16468/amd-v2
|
||||
guest ok = no
|
||||
read only = no
|
||||
browseable = yes
|
||||
inherit acls = yes
|
||||
inherit permissions = no
|
||||
ea support = no
|
||||
store dos attributes = no
|
||||
vfs objects = recycle
|
||||
recycle:repository = .recycle/%U
|
||||
recycle:keeptree = yes
|
||||
recycle:versions = yes
|
||||
recycle:touch = yes
|
||||
recycle:directory_mode = 0777
|
||||
recycle:subdir_mode = 0700
|
||||
recycle:exclude =
|
||||
recycle:exclude_dir =
|
||||
recycle:maxsize = 0
|
||||
printable = no
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
hide special files = yes
|
||||
follow symlinks = yes
|
||||
hide dot files = yes
|
||||
valid users = "michaelgrote","annemariedroessler","win10"
|
||||
invalid users =
|
||||
read list = "michaelgrote","win10"
|
||||
write list = "annemariedroessler"
|
||||
root@omvv2:~#
|
8
Archiv/azavea.ansible-pip/.gitignore
vendored
Normal file
8
Archiv/azavea.ansible-pip/.gitignore
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
.vagrant
|
||||
|
||||
# Molecule
|
||||
.molecule
|
||||
*.retry
|
||||
*__pycache__*
|
||||
*.cache
|
||||
*.log
|
30
Archiv/azavea.ansible-pip/CHANGELOG.md
Normal file
30
Archiv/azavea.ansible-pip/CHANGELOG.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
## 2.0.0
|
||||
|
||||
- Add `pip_executable` variable to support Python 2 and 3 installations.
|
||||
- Removed deprecated tests-as-filters in `when` directives.
|
||||
- Updated minimum supported Ansible version to 2.5.x.
|
||||
|
||||
## 1.1.0
|
||||
|
||||
- Add `pip_get_pip_version` to support older `get-pip.py` releases. See version history at https://bootstrap.pypa.io.
|
||||
|
||||
## 1.0.1
|
||||
|
||||
- Prevent `get-pip.py` download when it is already present.
|
||||
|
||||
## 1.0.0
|
||||
|
||||
- Install pip using `get-pip.py` instead of `apt`. See Install pip, setuptools, and wheel in the [pip documentation](https://packaging.python.org/installing/#install-pip-setuptools-and-wheel) for more information.
|
||||
|
||||
## 0.2.0
|
||||
|
||||
- Replace existing Vagrant testing setup with Molecule.
|
||||
- Add Molecule testing support for Ubuntu 16.04.
|
||||
|
||||
## 0.1.1
|
||||
|
||||
- Make use of a version glob to install the `pip` package.
|
||||
|
||||
## 0.1.0
|
||||
|
||||
- Initial release.
|
202
Archiv/azavea.ansible-pip/LICENSE
Normal file
202
Archiv/azavea.ansible-pip/LICENSE
Normal file
|
@ -0,0 +1,202 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2018 Azavea Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
35
Archiv/azavea.ansible-pip/README.md
Normal file
35
Archiv/azavea.ansible-pip/README.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
# ansible-pip
|
||||
|
||||
An Ansible role for installing [pip](https://pip.pypa.io/en/latest/).
|
||||
|
||||
## Role Variables
|
||||
|
||||
- `pip_version` - pip version
|
||||
- `pip_get_pip_version` - get_pip.py version
|
||||
- `pip_executable` - the executable to run to check pip's version
|
||||
|
||||
## Testing
|
||||
Tests are done using [molecule](http://molecule.readthedocs.io/). To run the test suite, install molecule and its dependencies and run ` molecule test` from the folder containing molecule.yml. To add additional tests, add a [testinfra](http://testinfra.readthedocs.org/) python script in the [tests](./tests/) directory, or add a function to [test_pip.py](./tests/test_scala.py). Information about available Testinfra modules is available [here](http://testinfra.readthedocs.io/en/latest/modules.html).
|
||||
|
||||
### Example
|
||||
```
|
||||
# Download molecule, dependencies
|
||||
$ pip install molecule
|
||||
|
||||
# Change to the top-level project directory, which contains molecule.yml
|
||||
$ cd /path/to/ansible-pip
|
||||
|
||||
# Ensure that molecule.yml is present
|
||||
$ ls
|
||||
CHANGELOG.md molecule.yml
|
||||
LICENSE playbook.retry
|
||||
README.md playbook.yml
|
||||
ansible.cfg tasks
|
||||
defaults templates
|
||||
handlers tests
|
||||
meta
|
||||
|
||||
# We're in the right directory, so let's run tests!
|
||||
$ molecule test
|
||||
|
||||
```
|
4
Archiv/azavea.ansible-pip/defaults/main.yml
Normal file
4
Archiv/azavea.ansible-pip/defaults/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
pip_version: "9.0.*"
|
||||
pip_get_pip_version: "latest"
|
||||
pip_executable: "pip"
|
15
Archiv/azavea.ansible-pip/meta/main.yml
Normal file
15
Archiv/azavea.ansible-pip/meta/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
galaxy_info:
|
||||
author: Hector Castro
|
||||
description: An Ansible role for installing pip.
|
||||
company: Azavea Inc.
|
||||
license: Apache
|
||||
min_ansible_version: 2.5
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- trusty
|
||||
- xenial
|
||||
galaxy_tags:
|
||||
- development
|
||||
dependencies: []
|
25
Archiv/azavea.ansible-pip/molecule.yml
Normal file
25
Archiv/azavea.ansible-pip/molecule.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
molecule:
|
||||
test:
|
||||
sequence:
|
||||
- destroy
|
||||
- syntax
|
||||
- create
|
||||
- converge
|
||||
- idempotence
|
||||
- verify
|
||||
|
||||
vagrant:
|
||||
platforms:
|
||||
- name: trusty64
|
||||
box: ubuntu/trusty64
|
||||
|
||||
- name: xenial64
|
||||
box: ubuntu/xenial64
|
||||
|
||||
providers:
|
||||
- name: virtualbox
|
||||
type: virtualbox
|
||||
|
||||
instances:
|
||||
- name: ansible-pip
|
25
Archiv/azavea.ansible-pip/tasks/main.yml
Normal file
25
Archiv/azavea.ansible-pip/tasks/main.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
- name: Get installed pip version
|
||||
command: "{{ pip_executable }} --version"
|
||||
register: pip_version_output
|
||||
ignore_errors: yes
|
||||
changed_when: false
|
||||
|
||||
- name: Download get-pip.py
|
||||
vars:
|
||||
pip_version_url: "{{ (pip_get_pip_version == 'latest') | ternary('', pip_get_pip_version) }}"
|
||||
required_vars:
|
||||
- pip_get_pip_version
|
||||
get_url:
|
||||
url: 'https://bootstrap.pypa.io/{{ pip_version_url }}/get-pip.py'
|
||||
dest: /tmp/get-pip.py
|
||||
when: (pip_version_output is failed) or not pip_version_output.stdout is search(pip_version)
|
||||
|
||||
# Install pip if it's not already installed, or if
|
||||
# the desired versions of pip aren't installed
|
||||
# The regular expression extracts '9.0' out of '9.0.*'
|
||||
- name: Install pip
|
||||
command: "{{ ansible_python_interpreter if ansible_python_interpreter is defined else 'python' }} get-pip.py pip=={{ pip_version }}"
|
||||
when: "(pip_version_output is failed) or not pip_version_output.stdout is search('pip ' + pip_version)"
|
||||
args:
|
||||
chdir: /tmp
|
26
Archiv/azavea.ansible-pip/tests/test_pip.py
Normal file
26
Archiv/azavea.ansible-pip/tests/test_pip.py
Normal file
|
@ -0,0 +1,26 @@
|
|||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def AnsibleDefaults(Ansible):
|
||||
""" Load default variables into dictionary.
|
||||
Args:
|
||||
Ansible - Requires the ansible connection backend.
|
||||
"""
|
||||
return Ansible("include_vars", "./defaults/main.yml")["ansible_facts"]
|
||||
|
||||
|
||||
def test_pip_exists(Command, AnsibleDefaults):
|
||||
""" Ensure the candidate version of pip is installed.
|
||||
|
||||
Args:
|
||||
Command - Module to determine package install status and version
|
||||
GetAnsibleDefaults - Get default version of the package
|
||||
"""
|
||||
pip_version_check = Command("pip --version")
|
||||
|
||||
# We only care about the major.minor versions
|
||||
pip_version = AnsibleDefaults["pip_version"].split("*")[0]
|
||||
|
||||
assert pip_version_check.rc == 0
|
||||
assert pip_version in pip_version_check.stdout
|
6
Archiv/fileserver.grote.lan.yml.old
Normal file
6
Archiv/fileserver.grote.lan.yml.old
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
### mgrote.fileserver_mergerfs
|
||||
laufwerke: ## Muessen als HDD* in /mnt gemountet damit sie in mergerFS eingebunden werden
|
||||
- { pfad: '/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1', ordner: 'HDD1'}
|
||||
- { pfad: '/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi2', ordner: 'HDD2'}
|
||||
- { pfad: '/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi3', ordner: 'HDD3'}
|
78
Archiv/fileserver.yml
Normal file
78
Archiv/fileserver.yml
Normal file
|
@ -0,0 +1,78 @@
|
|||
###############################################################################
|
||||
# Vor dem Ausfuehren des Playbooks die Festplatten fuer
|
||||
# mergerFS mit "/dev/disk/by-id" rausfinden.
|
||||
# Die Festplatten werden unter sources hinterlegt.
|
||||
# Auf diesen Festplatten muss sich ein EXT4_Dateisystem befinden.
|
||||
# "mkfs.ext4 /dev/..."
|
||||
###############################################################################
|
||||
# Wenn es hier hakt, zuerst SMB auskommentieren, Ausfuehren dann wieder mit smb.
|
||||
###############################################################################
|
||||
# Wenn Freigaben geloescht werden muss der dazugehoerige Ordner per CLI geloescht
|
||||
# werden.
|
||||
###############################################################################
|
||||
|
||||
---
|
||||
- hosts: fileserver.grote.lan
|
||||
roles:
|
||||
- { role: mgrote.fileserver_mergerfs, tags: "fileserver_mergerfs" }
|
||||
- { role: mgrote.postfix-gmail, tags: "postfix-gmail" }
|
||||
- { role: mgrote.fileserver_smb, tags: "fileserver_smb" }
|
||||
- { role: mgrote.sicherung_medien, tags: "youtube-dl", when: ansible_hostname == "fileserver", become: true }
|
||||
- { role: mgrote.sicherung_nextcloud, tags: "nextcloud_sicherung", when: ansible_hostname == "fileserver" }
|
||||
- { role: mgrote.sicherung_cloud, tags: "rclone", when: ansible_hostname == "fileserver" }
|
||||
|
||||
vars:
|
||||
### mergerFS
|
||||
mergerfs_mountpoint: "/shares"
|
||||
mount_optionen: defaults,allow_other,direct_io,use_ino,moveonenospc=true,category.create=mfs,minfreespace=100G,nonempty
|
||||
###laufwerke: sind im inventory pro host deklariert
|
||||
mergerfs_tree_cron_minutes: "30"
|
||||
mergerfs_tree_cron_hours: "5"
|
||||
### smb_fileserver
|
||||
smb_nutzer:
|
||||
- { name: 'andreasgrote', groups: 'users', password: 'hallowelt' }
|
||||
- { name: 'annemariedroessler', groups: 'users', password: 'hallowelt' }
|
||||
- { name: 'aptcacherng', groups: 'users', password: 'hallowelt' }
|
||||
- { name: 'horstmartin', groups: 'users', password: 'hallowelt' }
|
||||
- { name: 'pve', groups: 'users', password: 'hallowelt' }
|
||||
- { name: 'restic', groups: 'users', password: 'restic' }
|
||||
- { name: 'toolserver', groups: 'users', password: 'hallowelt' }
|
||||
- { name: 'win10', groups: 'users', password: 'hallowelt' }
|
||||
- { name: 'toolserver', groups: 'users', password: '1TWoLbNzNG2W2c1rhyGh' }
|
||||
- { name: 'kodi', groups: 'users', password: 'hallowelt' }
|
||||
- { name: 'michaelgrote3', groups: 'users', password: 'hallowelt' }
|
||||
|
||||
smb_freigaben: #werden unter /shares angelegt
|
||||
- { freigabename: 'Backup', ordnerpfad: '/shares/Backup', lese_nutzer: '', schreibe_nutzer: '' }
|
||||
- { freigabename: 'Musik', ordnerpfad: '/shares/Musik', lese_nutzer: '', schreibe_nutzer: '' }
|
||||
- { freigabename: 'Videos', ordnerpfad: '/shares/Videos', lese_nutzer: '', schreibe_nutzer: '' }
|
||||
- { freigabename: 'ag', ordnerpfad: '/shares/ag', lese_nutzer: '', schreibe_nutzer: '' }
|
||||
- { freigabename: 'amd', ordnerpfad: '/shares/amd', lese_nutzer: '', schreibe_nutzer: '' }
|
||||
- { freigabename: 'hm', ordnerpfad: '/shares/hm', lese_nutzer: '', schreibe_nutzer: '' }
|
||||
- { freigabename: 'mg', ordnerpfad: '/shares/mg', lese_nutzer: '', schreibe_nutzer: '' }
|
||||
- { freigabename: 'pve', ordnerpfad: '/shares/pve', lese_nutzer: '', schreibe_nutzer: '' }
|
||||
- { freigabename: 'tmp', ordnerpfad: '/shares/tmp', lese_nutzer: '', schreibe_nutzer: '' }
|
||||
smb_workgroup: WORKGROUP
|
||||
|
||||
smb_nutzer_loeschen:
|
||||
- { name: 'platzhalter' }
|
||||
|
||||
### nfs_fileserver
|
||||
nfs_freigaben:
|
||||
- { freigabename: 'nfsfreigabe', nutzer: pve }
|
||||
|
||||
### youtube mg
|
||||
youtubedl_cron_minutes: "40"
|
||||
youtubedl_cron_hours: "21"
|
||||
playlisten:
|
||||
- { url: 'https://www.youtube.com/playlist?list=PLPM-eyPokAWNhhDNO4YzC5cGRwuI2ykwE', titel: 'music'}
|
||||
- { url: 'https://www.youtube.com/playlist?list=PLPM-eyPokAWNnDxuyX131R5wkl8fzvu7D', titel: 'lost and found'}
|
||||
- { url: 'https://www.youtube.com/playlist?list=PLPM-eyPokAWPmStfh37roJge-JuLfgma0', titel: 'lost and found 2'}
|
||||
### nextcloud_sicherung
|
||||
nextcloud_sicherung_cron_minutes: "20"
|
||||
nextcloud_sicherung_cron_hours: "21"
|
||||
### rclone
|
||||
rclone_cron_minutes: "1"
|
||||
rclone_cron_hours: "22,04,10,16"
|
||||
### postfix
|
||||
mail_nach_cronjob: false
|
11
Archiv/gsuite rclone.txt
Normal file
11
Archiv/gsuite rclone.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
####### GSUITE
|
||||
echo "GSuite - mg"
|
||||
/usr/local/bin/rclone --config /root/rclone/config/rclone.conf copy --drive-stop-on-upload-limit --dry-run --ignore-existing --log-file="/root/rclone/logs/log_tmp_$dt.txt" --log-level INFO --transfers 2 --checkers 4 --bwlimit "Mon-08:00,{{ rclone_bandbreite }} 22:00,off Tue-08:00,{{ rclone_bandbreite }} 22:00,off Wed-08:00,{{ rclone_bandbreite }} 22:00,off Thu-08:00,{{ rclone_bandbreite }} 22:00,off Fri-08:00,{{ rclone_bandbreite }} 22:00,off Sat-09:00,{{ rclone_bandbreite }} 23:00,off Sun-09:00,{{ rclone_bandbreite }} 22:00,off" --contimeout 60s --timeout 300s --retries 5 --low-level-retries 10 --max-backlog 300000 --stats 5s --drive-server-side-across-configs=true --delete-after --progress --stats-file-name-length 120 --drive-chunk-size 64M --fast-list --exclude /.recycle/** "/shares/mg" "gdrive-v3-encrypt:/mg" --backup-dir "gdrive-v3-encrypt:/old/mg/$dt"
|
||||
echo "GSuite - amd"
|
||||
/usr/local/bin/rclone --config /root/rclone/config/rclone.conf copy --drive-stop-on-upload-limit --dry-run --ignore-existing --log-file="/root/rclone/logs/log_tmp_$dt.txt" --log-level INFO --transfers 4 --checkers 8 --bwlimit "Mon-08:00,{{ rclone_bandbreite }} 22:00,off Tue-08:00,{{ rclone_bandbreite }} 22:00,off Wed-08:00,{{ rclone_bandbreite }} 22:00,off Thu-08:00,{{ rclone_bandbreite }} 22:00,off Fri-08:00,{{ rclone_bandbreite }} 22:00,off Sat-09:00,{{ rclone_bandbreite }} 23:00,off Sun-09:00,{{ rclone_bandbreite }} 22:00,off" --contimeout 60s --timeout 300s --retries 5 --low-level-retries 10 --max-backlog 300000 --stats 5s --drive-server-side-across-configs=true --delete-after --progress --stats-file-name-length 120 --drive-chunk-size 64M --fast-list --exclude /.recycle/** "/shares/amd" "gdrive-v3-encrypt:/amd" --backup-dir "gdrive-v3-encrypt:/old/amd/$dt"
|
||||
echo "GSuite - Backup"
|
||||
/usr/local/bin/rclone --config /root/rclone/config/rclone.conf copy --drive-stop-on-upload-limit --dry-run --ignore-existing --log-file="/root/rclone/logs/log_tmp_$dt.txt" --log-level INFO --transfers 4 --checkers 8 --bwlimit "Mon-08:00,{{ rclone_bandbreite }} 22:00,off Tue-08:00,{{ rclone_bandbreite }} 22:00,off Wed-08:00,{{ rclone_bandbreite }} 22:00,off Thu-08:00,{{ rclone_bandbreite }} 22:00,off Fri-08:00,{{ rclone_bandbreite }} 22:00,off Sat-09:00,{{ rclone_bandbreite }} 23:00,off Sun-09:00,{{ rclone_bandbreite }} 22:00,off" --contimeout 60s --timeout 300s --retries 5 --low-level-retries 10 --max-backlog 300000 --stats 5s --drive-server-side-across-configs=true --delete-after --progress --stats-file-name-length 120 --drive-chunk-size 64M --fast-list --exclude /.recycle/** "/shares/Backup" "gdrive-v3-encrypt:/Backup" --backup-dir "gdrive-v3-encrypt:/old/backup/$dt"
|
||||
echo "GSuite - Musik"
|
||||
/usr/local/bin/rclone --config /root/rclone/config/rclone.conf copy --drive-stop-on-upload-limit --dry-run --ignore-existing --log-file="/root/rclone/logs/log_tmp_$dt.txt" --log-level INFO --transfers 6 --checkers 12 --bwlimit "Mon-08:00,{{ rclone_bandbreite }} 22:00,off Tue-08:00,{{ rclone_bandbreite }} 22:00,off Wed-08:00,{{ rclone_bandbreite }} 22:00,off Thu-08:00,{{ rclone_bandbreite }} 22:00,off Fri-08:00,{{ rclone_bandbreite }} 22:00,off Sat-09:00,{{ rclone_bandbreite }} 23:00,off Sun-09:00,{{ rclone_bandbreite }} 22:00,off" --contimeout 60s --timeout 300s --retries 5 --low-level-retries 10 --max-backlog 300000 --stats 5s --drive-server-side-across-configs=true --delete-after --progress --stats-file-name-length 120 --drive-chunk-size 64M --fast-list --exclude /.recycle/** "/shares/Musik" "gdrive-v2:/unverschluesselt/Musik" --backup-dir "gdrive-v2:/old/Musik/$dt"
|
||||
echo "GSuite - Videos"
|
||||
/usr/local/bin/rclone --config /root/rclone/config/rclone.conf copy --drive-stop-on-upload-limit --dry-run --ignore-existing --log-file="/root/rclone/logs/log_tmp_$dt.txt" --log-level INFO --transfers 2 --checkers 4 --bwlimit "Mon-08:00,{{ rclone_bandbreite }} 22:00,off Tue-08:00,{{ rclone_bandbreite }} 22:00,off Wed-08:00,{{ rclone_bandbreite }} 22:00,off Thu-08:00,{{ rclone_bandbreite }} 22:00,off Fri-08:00,{{ rclone_bandbreite }} 22:00,off Sat-09:00,{{ rclone_bandbreite }} 23:00,off Sun-09:00,{{ rclone_bandbreite }} 22:00,off" --contimeout 60s --timeout 300s --retries 5 --low-level-retries 10 --max-backlog 300000 --stats 5s --drive-server-side-across-configs=true --delete-after --progress --stats-file-name-length 120 --drive-chunk-size 64M --fast-list --exclude /.recycle/** "/shares/Videos" "gdrive-v2:/unverschluesselt/Videos" --backup-dir "gdrive-v2:/old/video/$dt"
|
13
Archiv/igor_mukhin.bash_aliases/.editorconfig
Normal file
13
Archiv/igor_mukhin.bash_aliases/.editorconfig
Normal file
|
@ -0,0 +1,13 @@
|
|||
# http://editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.{yml,yml.dist,yml.js2}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
21
Archiv/igor_mukhin.bash_aliases/LICENSE
Normal file
21
Archiv/igor_mukhin.bash_aliases/LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Igor Mukhin <igor.mukhin@gmail.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
39
Archiv/igor_mukhin.bash_aliases/README.md
Normal file
39
Archiv/igor_mukhin.bash_aliases/README.md
Normal file
|
@ -0,0 +1,39 @@
|
|||
# ansible-role-bash_aliases
|
||||
|
||||
Ansible role for setting aliases in ~/.bash_aliases for Debian/Ubuntu.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
First of all you should install [Ansible](http://www.ansible.com/home) on your machine, official [docs](http://docs.ansible.com/intro_installation.html) should help you with that.
|
||||
|
||||
# Installation
|
||||
```bash
|
||||
ansible-galaxy install igor_mukhin.bash_aliases
|
||||
```
|
||||
|
||||
## Example playbook
|
||||
|
||||
Lets make aliases for most used symfony2 console commands
|
||||
|
||||
```yml
|
||||
# playbook.yml
|
||||
|
||||
vars:
|
||||
# See all available variables at defaults/main.yml
|
||||
bash_aliases:
|
||||
- { alias: 'sf', command: 'php app/console' }
|
||||
|
||||
- { alias: 'sfcc', command: 'sf cache:clear' }
|
||||
- { alias: 'sfccnw', command: 'sfcc --no-warmup' }
|
||||
|
||||
- { alias: 'sfl', command: 'sf list' }
|
||||
- { alias: 'sflg', command: 'sf list | grep' }
|
||||
|
||||
# You also can add extra lines in any format to .bash_aliases
|
||||
bash_aliases_extra:
|
||||
- "git config --global alias.unstage 'reset HEAD --'"
|
||||
|
||||
roles:
|
||||
- { role: igor_mukhin.bash_aliases, sudo: false }
|
||||
|
||||
```
|
9
Archiv/igor_mukhin.bash_aliases/defaults/main.yml
Normal file
9
Archiv/igor_mukhin.bash_aliases/defaults/main.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
|
||||
bash_aliases_path: "~/.bash_aliases"
|
||||
|
||||
bash_aliases: false
|
||||
|
||||
bash_aliases_extra: false
|
||||
# - alias sf="php app/console"
|
||||
# - alias sflg="sf list|grep"
|
18
Archiv/igor_mukhin.bash_aliases/meta/main.yml
Normal file
18
Archiv/igor_mukhin.bash_aliases/meta/main.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
|
||||
dependencies: []
|
||||
|
||||
galaxy_info:
|
||||
author: igor_mukhin
|
||||
description: Set aliases in ~/.bash_aliases for Debian/Ubuntu
|
||||
license: "MIT"
|
||||
min_ansible_version: 1.8
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- all
|
||||
- name: Debian
|
||||
versions:
|
||||
- all
|
||||
galaxy_tags:
|
||||
- system
|
20
Archiv/igor_mukhin.bash_aliases/tasks/main.yml
Normal file
20
Archiv/igor_mukhin.bash_aliases/tasks/main.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
|
||||
- name: Bash aliases | Add aliases
|
||||
lineinfile:
|
||||
dest: "{{ bash_aliases_path }}"
|
||||
create: yes
|
||||
mode: 0644
|
||||
line: 'alias {{ item.alias }}="{{ item.command }}"'
|
||||
regexp: "^alias {{ item.alias }}="
|
||||
with_items: "{{ bash_aliases }}"
|
||||
when: bash_aliases != false
|
||||
|
||||
- name: Bash aliases | Add extra
|
||||
lineinfile:
|
||||
dest: "{{ bash_aliases_path }}"
|
||||
create: yes
|
||||
mode: 0644
|
||||
line: "{{ item }}"
|
||||
with_items: "{{ bash_aliases_extra }}"
|
||||
when: bash_aliases_extra != false
|
10
Archiv/igor_mukhin.bash_aliases/tests/playbook.yml
Normal file
10
Archiv/igor_mukhin.bash_aliases/tests/playbook.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
|
||||
- hosts: all
|
||||
|
||||
vars:
|
||||
bash_aliases:
|
||||
- { alias: 'sf', command: 'php app/console2' }
|
||||
|
||||
roles:
|
||||
- "../../mgrote.bash_aliases"
|
6
Archiv/mgrote.cockpit/README.md
Normal file
6
Archiv/mgrote.cockpit/README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
## mgrote.cockpit
|
||||
|
||||
### Beschreibung
|
||||
Installiert [Cockpit](https://cockpit-project.org/)
|
||||
### Funktioniert auf
|
||||
- [x] Ubuntu (>=18.04)
|
1
Archiv/mgrote.cockpit/defaults/main.yml
Normal file
1
Archiv/mgrote.cockpit/defaults/main.yml
Normal file
|
@ -0,0 +1 @@
|
|||
---
|
0
Archiv/mgrote.cockpit/handlers/main.yml
Normal file
0
Archiv/mgrote.cockpit/handlers/main.yml
Normal file
1
Archiv/mgrote.cockpit/meta/main.yml
Normal file
1
Archiv/mgrote.cockpit/meta/main.yml
Normal file
|
@ -0,0 +1 @@
|
|||
---
|
6
Archiv/mgrote.cockpit/tasks/main.yml
Normal file
6
Archiv/mgrote.cockpit/tasks/main.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: install cockpit
|
||||
become: yes
|
||||
apt:
|
||||
name:
|
||||
- cockpit
|
||||
state: present
|
35
Archiv/mgrote.fileserver_mergerfs/README.md
Normal file
35
Archiv/mgrote.fileserver_mergerfs/README.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
## mgrote.fileserver_mergerfs
|
||||
|
||||
### Beschreibung
|
||||
Diese Rolle richtet mergerFS ein und mountet die ausgewaehlten Festplatten unter /mnt/HDD*.
|
||||
Danach werden die Festplatten mit mergerFS unter /shares zusammengefasst.
|
||||
|
||||
Cave: Die Festplatten muessen vorher mit einem Dateisystem versehen sein. (mkfs.ext4 /dev/disk/by-id/XXXXX)
|
||||
|
||||
Erstellt einen Cronjob der "tree" ausfuehrt und unter "/root/tree/tree.txt" speichert.
|
||||
|
||||
### Funktioniert auf
|
||||
- [x] Ubuntu (>=18.04)
|
||||
- [ ] Debian
|
||||
|
||||
|
||||
### Variablen + Defaults
|
||||
##### Mount Optionen
|
||||
mount_optionen: defaults,allow_other,direct_io,use_ino,moveonenospc=true,category.create=mfs,minfreespace=100G,nonempty
|
||||
##### wohin die Laufwerke gemountet werden sollen
|
||||
mergerfs_mountpoint: "/shares"
|
||||
##### Minuten wann "tree" ausgefuehrt wird
|
||||
mergerfs_tree_cron_minutes: 30
|
||||
##### Stunden wann "tree" ausgefuehrt wird
|
||||
mergerfs_tree_cron_hours: 5
|
||||
##### Welche Festplatten gemountet UND eingebunden werden soll
|
||||
- "ordner:XXX" <-- muss HDDx sein
|
||||
- hier ist KEIN default gesetzt
|
||||
|
||||
```
|
||||
sources:
|
||||
- { pfad: '/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1', ordner: 'HDD1'}
|
||||
- { pfad: '/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi2', ordner: 'HDD2'}
|
||||
- { pfad: '/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi3', ordner: 'HDD3'}
|
||||
- { pfad: '/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi4', ordner: 'HDD4'}
|
||||
```
|
5
Archiv/mgrote.fileserver_mergerfs/defaults/main.yml
Normal file
5
Archiv/mgrote.fileserver_mergerfs/defaults/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
mount_optionen: defaults,allow_other,direct_io,use_ino,moveonenospc=true,category.create=mfs,minfreespace=100G,nonempty
|
||||
mergerfs_mountpoint: "/shares"
|
||||
mergerfs_tree_cron_minutes: 30
|
||||
mergerfs_tree_cron_hours: 5
|
0
Archiv/mgrote.fileserver_mergerfs/handlers/main.yml
Normal file
0
Archiv/mgrote.fileserver_mergerfs/handlers/main.yml
Normal file
55
Archiv/mgrote.fileserver_mergerfs/tasks/main.yml
Normal file
55
Archiv/mgrote.fileserver_mergerfs/tasks/main.yml
Normal file
|
@ -0,0 +1,55 @@
|
|||
- name: mergerFS installieren
|
||||
become: yes
|
||||
apt:
|
||||
name:
|
||||
- mergerfs
|
||||
- python3
|
||||
- fuse
|
||||
state: present
|
||||
|
||||
- name: mergerFS-Tools installieren
|
||||
become: yes
|
||||
git:
|
||||
repo: https://github.com/trapexit/mergerfs-tools.git
|
||||
dest: /usr/local/bin/mergerfs_tools
|
||||
version: 2.29.0
|
||||
|
||||
- name: "einzelne Laufwerke mounten"
|
||||
become: yes
|
||||
mount:
|
||||
path: /mnt/{{ item.ordner }}
|
||||
src: "{{ item.pfad }}"
|
||||
fstype: ext4
|
||||
state: mounted
|
||||
loop: "{{ laufwerke }}"
|
||||
|
||||
- name: "Mount mergerFS"
|
||||
become: yes
|
||||
mount:
|
||||
path: "{{ mergerfs_mountpoint }}"
|
||||
src: "/mnt/HDD*"
|
||||
opts: "{{ mount_optionen }}"
|
||||
fstype: fuse.mergerfs
|
||||
state: present
|
||||
|
||||
- name: Ordner "tree" erstellen
|
||||
become: yes
|
||||
file:
|
||||
path: /root/tree
|
||||
state: directory
|
||||
|
||||
- name: Kopiere Tree-Script
|
||||
become: yes
|
||||
template:
|
||||
src: tree.sh
|
||||
dest: /root/tree/tree.sh
|
||||
mode: a+x
|
||||
|
||||
- name: cronjob fuer tree.sh anlegen
|
||||
become: yes
|
||||
cron:
|
||||
name: tree
|
||||
state: present
|
||||
job: "/root/tree/tree.sh"
|
||||
minute: "{{ mergerfs_tree_cron_minutes }}"
|
||||
hour: "{{ mergerfs_tree_cron_hours }}"
|
2
Archiv/mgrote.fileserver_mergerfs/templates/tree.sh
Normal file
2
Archiv/mgrote.fileserver_mergerfs/templates/tree.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
tree / > /root/tree/tree.txt
|
0
Archiv/mgrote.fileserver_mergerfs/vars/main.yml
Normal file
0
Archiv/mgrote.fileserver_mergerfs/vars/main.yml
Normal file
57
Archiv/mgrote.telegraf/README.md
Normal file
57
Archiv/mgrote.telegraf/README.md
Normal file
|
@ -0,0 +1,57 @@
|
|||
## mgrote.telegraf
|
||||
|
||||
### Beschreibung
|
||||
Installiert und konfiguriert "telegraf".
|
||||
Telegraf ist fuer das [[Grafana Dashboard 928|https://grafana.com/grafana/dashboards/928]] konfiguriert.
|
||||
|
||||
### Funktioniert auf
|
||||
- [x] Ubuntu (>=18.04)
|
||||
- [x] Debian
|
||||
- [x] ProxMox 6.1
|
||||
|
||||
### Variablen + Defaults
|
||||
##### InfluxDB Protocol
|
||||
`telegraf_influxdb_srv_protocol: "http://"`
|
||||
##### InfluxDB FQDN
|
||||
`telegraf_influxdb_srv_fqdn: grafana.grote.lan`
|
||||
##### InfluxDB Port - ist Pflichtangabe
|
||||
`telegraf_influxdb_srv_port: 8086`
|
||||
##### Basis-Metriken aktivieren
|
||||
`telegraf_base_metrics: true`
|
||||
##### APCUPSD-Metriken aktivieren
|
||||
- Installiert und konfiguriert telegraf fuer das Sammeln von Metriken von "apcupsd".
|
||||
- [[Grafana Dashboard|https://grafana.com/grafana/dashboards/10977]]
|
||||
`telegraf_apcupsd_metrics: true`
|
||||
##### HDDTEMP-Metriken aktivieren
|
||||
- Installiert und konfiguriert telegraf fuer das Sammeln von Metriken von "hddtemp".
|
||||
`telegraf_hddtemp_metrics: true`
|
||||
##### SMART-Metriken aktivieren
|
||||
- Installiert und konfiguriert telegraf fuer das Sammeln von Metriken von "smartctl".
|
||||
`telegraf_smart_pfad_zu_smartctl: "/usr/sbin/smartctl"`
|
||||
`telegraf_smart_metrics: true`
|
||||
##### x509-Metriken aktivieren
|
||||
- Installiert und konfiguriert telegraf fuer das Sammeln von Metriken von "x509 Zertifikaten" bei nginx.
|
||||
`telegraf_x509_metrics: true`
|
||||
```
|
||||
telegraf_x509_domains:
|
||||
- "https://mgrote.net:443"
|
||||
- "https://dokuwiki.mgrote.net:443"
|
||||
- "https://miniflux.mgrote.net:443"
|
||||
```
|
||||
- [[Grafana-Dashboard|https://grafana.com/grafana/dashboards/11707]]
|
||||
- Der Port ist Pflicht.
|
||||
##### ZFS-Metriken aktivieren
|
||||
`telegraf_zfs_metrics: true`
|
||||
- Installiert und konfiguriert telegraf fuer das Sammeln von Metriken von "zfs".
|
||||
- [[Grafana Dashboard|https://gist.github.com/bartmeuris/41caf0998f38a2fae7cf1ff92cd4a5fa]]
|
||||
##### Postgres-Metriken aktivieren
|
||||
- Installiert und konfiguriert telegraf fuer das Sammeln von Metriken von "postgres".
|
||||
- [[Grafana Dashboard|https://grafana.com/grafana/dashboards/355]]
|
||||
- Die Zugangsdaten mit denen sich telegraf bei Postgres anmeldet um die Metriken zu sammeln.
|
||||
`telegraf_postgres_metrics: true`
|
||||
`telegraf_postgres_name_db_user: "telegraf_db_user"`
|
||||
`telegraf_postgres_password_db_user: "geheim"`
|
||||
`telegraf_postgres_name_db: "telegraf_db"`
|
||||
##### lm_sensors-Metriken aktivieren (Temperaturen o.Ä.)
|
||||
`telegraf_lm_sensors_metrics: true`
|
||||
- Installiert und konfiguriert telegraf fuer das Sammeln von Metriken von "lm_sensors".
|
20
Archiv/mgrote.telegraf/defaults/main.yml
Normal file
20
Archiv/mgrote.telegraf/defaults/main.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
### Module
|
||||
telegraf_installieren: true
|
||||
telegraf_base_metrics: true
|
||||
telegraf_apcupsd_metrics: false
|
||||
telegraf_hddtemp_metrics: false
|
||||
telegraf_smart_metrics: false
|
||||
telegraf_x509_metrics: false
|
||||
telegraf_zfs_metrics: false
|
||||
telegraf_postgres_metrics: false
|
||||
telegraf_lm_sensors_metrics: false
|
||||
|
||||
### smartctl
|
||||
telegraf_smart_pfad_zu_smartctl: "/usr/sbin/smartctl"
|
||||
|
||||
### telegraf.conf
|
||||
telegraf_influxdb_srv_protocol: "http://"
|
||||
telegraf_influxdb_srv_fqdn: "tig.grote.lan"
|
||||
telegraf_influxdb_srv_port: "8086"
|
||||
telegraf_database_name: "telegraf"
|
14
Archiv/mgrote.telegraf/handlers/main.yml
Normal file
14
Archiv/mgrote.telegraf/handlers/main.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
- name: restart_telegraf
|
||||
become: yes
|
||||
systemd:
|
||||
name: telegraf
|
||||
enabled: yes
|
||||
state: restarted
|
||||
|
||||
- name: restart_hddtemp
|
||||
become: yes
|
||||
systemd:
|
||||
name: hddtemp
|
||||
state: restarted
|
||||
enabled: yes
|
1
Archiv/mgrote.telegraf/tasks/grafana/datasource.yml
Normal file
1
Archiv/mgrote.telegraf/tasks/grafana/datasource.yml
Normal file
|
@ -0,0 +1 @@
|
|||
---
|
103
Archiv/mgrote.telegraf/tasks/main.yml
Normal file
103
Archiv/mgrote.telegraf/tasks/main.yml
Normal file
|
@ -0,0 +1,103 @@
|
|||
- name: Apt-key hinzufuegen fuer das telegraf-repository
|
||||
become: yes
|
||||
apt_key:
|
||||
url: https://repos.influxdata.com/influxdb.key
|
||||
state: present
|
||||
when: telegraf_installieren
|
||||
|
||||
- name: telegraf-repository hinzufuegen
|
||||
become: yes
|
||||
apt_repository:
|
||||
repo: 'deb https://repos.influxdata.com/ubuntu {{ ansible_distribution_release }} stable'
|
||||
state: present
|
||||
filename: telegraf_repo
|
||||
update_cache: yes
|
||||
when: telegraf_installieren
|
||||
|
||||
- name: telegraf installieren
|
||||
become: yes
|
||||
apt:
|
||||
name: telegraf
|
||||
state: present
|
||||
when: telegraf_installieren
|
||||
|
||||
- name: telegraf deinstallieren
|
||||
become: yes
|
||||
apt:
|
||||
name: telegraf
|
||||
state: absent
|
||||
when: not telegraf_installieren
|
||||
|
||||
- name: telegraf.conf kopieren
|
||||
become: yes
|
||||
template:
|
||||
src: "telegraf.conf"
|
||||
dest: "/etc/telegraf/telegraf.conf"
|
||||
notify: restart_telegraf
|
||||
when: telegraf_installieren
|
||||
|
||||
# "aktivieren"
|
||||
- name: add base_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/add_base_metrics.yml'
|
||||
when: telegraf_base_metrics
|
||||
|
||||
- name: add apcupsd_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/add_apcupsd_metrics.yml'
|
||||
when: telegraf_apcupsd_metrics
|
||||
|
||||
- name: add hddtemp_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/add_hddtemp_metrics.yml'
|
||||
when: telegraf_hddtemp_metrics
|
||||
|
||||
- name: add smart_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/add_smart_metrics.yml'
|
||||
when: telegraf_smart_metrics
|
||||
|
||||
- name: add x509_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/add_x509_metrics.yml'
|
||||
when: telegraf_x509_metrics
|
||||
|
||||
- name: add zfs_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/add_zfs_metrics.yml'
|
||||
when: telegraf_zfs_metrics
|
||||
|
||||
- name: add postgres_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/add_postgres_metrics.yml'
|
||||
when: telegraf_postgres_metrics
|
||||
|
||||
- name: add lm_sensors_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/add_lm_sensors_metrics.yml'
|
||||
when: telegraf_lm_sensors_metrics
|
||||
|
||||
# deaktivieren
|
||||
- name: add base_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/remove_base_metrics.yml'
|
||||
when: not telegraf_base_metrics
|
||||
|
||||
- name: add apcupsd_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/remove_apcupsd_metrics.yml'
|
||||
when: not telegraf_apcupsd_metrics
|
||||
|
||||
- name: add hddtemp_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/remove_hddtemp_metrics.yml'
|
||||
when: not telegraf_hddtemp_metrics
|
||||
|
||||
- name: add smart_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/remove_smart_metrics.yml'
|
||||
when: not telegraf_smart_metrics
|
||||
|
||||
- name: add x509_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/remove_x509_metrics.yml'
|
||||
when: not telegraf_x509_metrics
|
||||
|
||||
- name: add zfs_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/remove_zfs_metrics.yml'
|
||||
when: not telegraf_zfs_metrics
|
||||
|
||||
- name: add postgres_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/remove_postgres_metrics.yml'
|
||||
when: not telegraf_postgres_metrics
|
||||
|
||||
- name: add lm_sensors_metrics tasks
|
||||
import_tasks: '{{ role_path }}/tasks/metrics/remove_lm_sensors_metrics.yml'
|
||||
when: not telegraf_lm_sensors_metrics
|
10
Archiv/mgrote.telegraf/tasks/metrics/add_apcupsd_metrics.yml
Normal file
10
Archiv/mgrote.telegraf/tasks/metrics/add_apcupsd_metrics.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
- import_role:
|
||||
name: mgrote.apcupsd
|
||||
|
||||
- name: apcupsd.conf kopieren
|
||||
become: yes
|
||||
template:
|
||||
src: "apcupsd.conf"
|
||||
dest: "/etc/telegraf/telegraf.d/apcupsd.conf"
|
||||
notify: restart_telegraf
|
||||
#https://grafana.com/grafana/dashboards/10977
|
|
@ -0,0 +1,6 @@
|
|||
- name: base_metrics.conf kopieren
|
||||
become: yes
|
||||
template:
|
||||
src: "base_metrics.conf"
|
||||
dest: "/etc/telegraf/telegraf.d/base_metrics.conf"
|
||||
notify: restart_telegraf
|
19
Archiv/mgrote.telegraf/tasks/metrics/add_hddtemp_metrics.yml
Normal file
19
Archiv/mgrote.telegraf/tasks/metrics/add_hddtemp_metrics.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
- name: hddtemp installieren
|
||||
become: yes
|
||||
apt:
|
||||
name: hddtemp
|
||||
state: present
|
||||
|
||||
- name: hddtemp kopieren
|
||||
become: yes
|
||||
template:
|
||||
src: "hddtemp"
|
||||
dest: "/etc/default/hddtemp"
|
||||
notify: restart_hddtemp
|
||||
|
||||
- name: hddtemp.conf kopieren
|
||||
become: yes
|
||||
template:
|
||||
src: "hddtemp.conf"
|
||||
dest: "/etc/telegraf/telegraf.d/hddtemp.conf"
|
||||
notify: restart_telegraf
|
|
@ -0,0 +1,12 @@
|
|||
- name: lm-sensors installieren
|
||||
become: yes
|
||||
apt:
|
||||
name: lm-sensors
|
||||
state: present
|
||||
|
||||
- name: lm_sensors.conf kopieren
|
||||
become: yes
|
||||
template:
|
||||
src: "lm_sensors.conf"
|
||||
dest: "/etc/telegraf/telegraf.d/lm_sensors.conf"
|
||||
notify: restart_telegraf
|
|
@ -0,0 +1,6 @@
|
|||
- name: postgres.conf kopieren
|
||||
become: yes
|
||||
template:
|
||||
src: "postgres.conf"
|
||||
dest: "/etc/telegraf/telegraf.d/postgres.conf"
|
||||
notify: telegraf_starten_aktivieren
|
21
Archiv/mgrote.telegraf/tasks/metrics/add_smart_metrics.yml
Normal file
21
Archiv/mgrote.telegraf/tasks/metrics/add_smart_metrics.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
- name: smartmontools installieren
|
||||
become: yes
|
||||
apt:
|
||||
name: smartmontools
|
||||
state: present
|
||||
|
||||
- name: telegraf passwordless sudo
|
||||
become: yes
|
||||
blockinfile:
|
||||
path: /etc/sudoers
|
||||
block: |
|
||||
Cmnd_Alias SMARTCTL = {{ telegraf_smart_pfad_zu_smartctl }}
|
||||
telegraf ALL=(ALL) NOPASSWD: SMARTCTL
|
||||
Defaults!SMARTCTL !logfile, !syslog, !pam_session
|
||||
|
||||
- name: smart.conf kopieren
|
||||
become: yes
|
||||
template:
|
||||
src: "smart.conf"
|
||||
dest: "/etc/telegraf/telegraf.d/smart.conf"
|
||||
notify: restart_telegraf
|
|
@ -0,0 +1,7 @@
|
|||
- name: ssl.conf kopieren
|
||||
become: yes
|
||||
template:
|
||||
src: "ssl.conf"
|
||||
dest: "/etc/telegraf/telegraf.d/ssl.conf"
|
||||
notify: restart_telegraf
|
||||
#https://grafana.com/grafana/dashboards/11707
|
7
Archiv/mgrote.telegraf/tasks/metrics/add_zfs_metrics.yml
Normal file
7
Archiv/mgrote.telegraf/tasks/metrics/add_zfs_metrics.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
- name: zfs.conf kopieren
|
||||
become: yes
|
||||
template:
|
||||
src: "zfs.conf"
|
||||
dest: "/etc/telegraf/telegraf.d/zfs.conf"
|
||||
notify: restart_telegraf
|
||||
#https://gist.github.com/bartmeuris/41caf0998f38a2fae7cf1ff92cd4a5fa
|
|
@ -0,0 +1,6 @@
|
|||
- name: remove apcupsd.conf
|
||||
become: yes
|
||||
file:
|
||||
state: absent
|
||||
path: "/etc/telegraf/telegraf.d/apcupsd.conf"
|
||||
notify: restart_telegraf
|
|
@ -0,0 +1,6 @@
|
|||
- name: remove base_metrics.conf
|
||||
become: yes
|
||||
file:
|
||||
state: absent
|
||||
path: "/etc/telegraf/telegraf.d/base_metrics.conf"
|
||||
notify: restart_telegraf
|
|
@ -0,0 +1,6 @@
|
|||
- name: remove hddtemp.conf
|
||||
become: yes
|
||||
file:
|
||||
state: absent
|
||||
path: "/etc/telegraf/telegraf.d/hddtemp.conf"
|
||||
notify: restart_telegraf
|
|
@ -0,0 +1,6 @@
|
|||
- name: remove lm_sensors.conf
|
||||
become: yes
|
||||
file:
|
||||
state: absent
|
||||
path: "/etc/telegraf/telegraf.d/lm_sensors.conf"
|
||||
notify: restart_telegraf
|
|
@ -0,0 +1,6 @@
|
|||
- name: remove postgres.conf
|
||||
become: yes
|
||||
file:
|
||||
state: absent
|
||||
path: "/etc/telegraf/telegraf.d/postgres.conf"
|
||||
notify: restart_telegraf
|
|
@ -0,0 +1,6 @@
|
|||
- name: remove smart.conf
|
||||
become: yes
|
||||
file:
|
||||
state: absent
|
||||
path: "/etc/telegraf/telegraf.d/smart.conf"
|
||||
notify: restart_telegraf
|
|
@ -0,0 +1,6 @@
|
|||
- name: remove ssl.conf
|
||||
become: yes
|
||||
file:
|
||||
state: absent
|
||||
path: "/etc/telegraf/telegraf.d/ssl.conf"
|
||||
notify: restart_telegraf
|
|
@ -0,0 +1,6 @@
|
|||
- name: remove zfs.conf
|
||||
become: yes
|
||||
file:
|
||||
state: absent
|
||||
path: "/etc/telegraf/telegraf.d/zfs.conf"
|
||||
notify: restart_telegraf
|
2
Archiv/mgrote.telegraf/templates/apcupsd.conf
Normal file
2
Archiv/mgrote.telegraf/templates/apcupsd.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
[[inputs.apcupsd]]
|
||||
#https://grafana.com/grafana/dashboards/10977
|
18
Archiv/mgrote.telegraf/templates/base_metrics.conf
Normal file
18
Archiv/mgrote.telegraf/templates/base_metrics.conf
Normal file
|
@ -0,0 +1,18 @@
|
|||
[[inputs.cpu]]
|
||||
percpu = true
|
||||
totalcpu = true
|
||||
fielddrop = ["time_*"]
|
||||
[[inputs.disk]]
|
||||
ignore_fs = ["tmpfs", "devtmpfs"]
|
||||
[[inputs.diskio]]
|
||||
skip_serial_number = false
|
||||
interval = "30s"
|
||||
[[inputs.kernel]]
|
||||
[[inputs.mem]]
|
||||
[[inputs.processes]]
|
||||
[[inputs.swap]]
|
||||
[[inputs.system]]
|
||||
[[inputs.net]]
|
||||
[[inputs.netstat]]
|
||||
[[inputs.interrupts]]
|
||||
[[inputs.linux_sysctl_fs]]
|
38
Archiv/mgrote.telegraf/templates/hddtemp
Normal file
38
Archiv/mgrote.telegraf/templates/hddtemp
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Defaults for hddtemp initscript (/etc/init.d/hddtemp)
|
||||
# This is a POSIX shell fragment
|
||||
|
||||
# Master system-wide hddtemp switch. The initscript will not run if it is not
|
||||
# set to true. STOP THE SERVICE BEFORE DISABLING IT!
|
||||
|
||||
# [automatically edited by postinst, do not change line format or set it to
|
||||
# anything but false or true ]
|
||||
RUN_DAEMON="true"
|
||||
|
||||
# List of devices you want to use with hddtemp. If none specified,
|
||||
# hddtemp will probe standard devices.
|
||||
#DISKS="/dev/sda /dev/sdb" # your hard drive here hda or hdb etc.
|
||||
|
||||
# List of devices you want to use with hddtemp, but that would not be
|
||||
# probed for a working sensor.
|
||||
DISKS_NOPROBE=""
|
||||
|
||||
# IP address of the interface on which you want hddtemp to be bound
|
||||
# on. If none specified, goes to 127.0.0.1. Use 0.0.0.0 to bind hddtemp
|
||||
# on all interfaces.
|
||||
INTERFACE="127.0.0.1"
|
||||
|
||||
# Port number on which you want hddtemp to listen on. If none specified,
|
||||
# the port 7634 is used.
|
||||
PORT="7634"
|
||||
|
||||
# Database file to use. If none specified, /etc/hddtemp.db is used.
|
||||
#DATABASE="/etc/hddtemp.db"
|
||||
|
||||
# Separator to use between fields. The default separator is '|'.
|
||||
#SEPARATOR="|"
|
||||
|
||||
# Logging period (in seconds) for the temperatures.
|
||||
SYSLOG="300" # 300 = every 5 minutes
|
||||
|
||||
# Other options to pass to hddtemp
|
||||
OPTIONS=""
|
5
Archiv/mgrote.telegraf/templates/hddtemp.conf
Normal file
5
Archiv/mgrote.telegraf/templates/hddtemp.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
[[inputs.hddtemp]]
|
||||
interval = "30s"
|
||||
|
||||
[[inputs.temp]]
|
||||
interval = "30s"
|
6
Archiv/mgrote.telegraf/templates/lm_sensors.conf
Normal file
6
Archiv/mgrote.telegraf/templates/lm_sensors.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
[[inputs.sensors]]
|
||||
# Remove numbers from field names. If true, a field name like 'temp1_input' will be changed to 'temp_input'.
|
||||
#remove_numbers = true
|
||||
|
||||
# Timeout is the maximum amount of time that the sensors command can run.
|
||||
#timeout = "5s"
|
2
Archiv/mgrote.telegraf/templates/postgres.conf
Normal file
2
Archiv/mgrote.telegraf/templates/postgres.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
[[inputs.postgresql]]
|
||||
address = "postgres://{{ telegraf_postgres_name_db_user }}:{{ telegraf_postgres_password_db_user }}@localhost/{{ telegraf_postgres_name_db }}?sslmode=disable"
|
36
Archiv/mgrote.telegraf/templates/smart.conf
Normal file
36
Archiv/mgrote.telegraf/templates/smart.conf
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Read metrics from storage devices supporting S.M.A.R.T.
|
||||
[[inputs.smart]]
|
||||
interval = "300s"
|
||||
|
||||
## Optionally specify the path to the smartctl executable
|
||||
# path = "/usr/bin/smartctl"
|
||||
|
||||
## On most platforms smartctl requires root access.
|
||||
## Setting 'use_sudo' to true will make use of sudo to run smartctl.
|
||||
## Sudo must be configured to to allow the telegraf user to run smartctl
|
||||
## without a password.
|
||||
use_sudo = true
|
||||
|
||||
## Skip checking disks in this power mode. Defaults to
|
||||
## "standby" to not wake up disks that have stoped rotating.
|
||||
## See --nocheck in the man pages for smartctl.
|
||||
## smartctl version 5.41 and 5.42 have faulty detection of
|
||||
## power mode and might require changing this value to
|
||||
## "never" depending on your disks.
|
||||
nocheck = "standby"
|
||||
|
||||
## Gather all returned S.M.A.R.T. attribute metrics and the detailed
|
||||
## information from each drive into the `smart_attribute` measurement.
|
||||
#attributes = true
|
||||
|
||||
## Optionally specify devices to exclude from reporting.
|
||||
# excludes = [ "/dev/pass6" ]
|
||||
|
||||
## Optionally specify devices and device type, if unset
|
||||
## a scan (smartctl --scan) for S.M.A.R.T. devices will
|
||||
## done and all found will be included except for the
|
||||
## excluded in excludes.
|
||||
# devices = [ "/dev/ada0 -d atacam" ]
|
||||
|
||||
## Timeout for the smartctl command to complete.
|
||||
timeout = "30s"
|
5
Archiv/mgrote.telegraf/templates/ssl.conf
Normal file
5
Archiv/mgrote.telegraf/templates/ssl.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
[[inputs.x509_cert]]
|
||||
sources= {{ telegraf_x509_domains | to_json }}
|
||||
interval = "1800s"
|
||||
# 1800 damit nicht alls 10 sekunden dns abfragen gestellt werden
|
||||
# to_json damit am anfang nicht u'variable steht
|
20
Archiv/mgrote.telegraf/templates/telegraf.conf
Normal file
20
Archiv/mgrote.telegraf/templates/telegraf.conf
Normal file
|
@ -0,0 +1,20 @@
|
|||
[global_tags]
|
||||
|
||||
[agent]
|
||||
interval = "30s"
|
||||
round_interval = true
|
||||
metric_batch_size = 1000
|
||||
metric_buffer_limit = 10000
|
||||
collection_jitter = "0s"
|
||||
flush_interval = "10s"
|
||||
flush_jitter = "0s"
|
||||
precision = ""
|
||||
debug = false
|
||||
quiet = false
|
||||
hostname = ""
|
||||
omit_hostname = false
|
||||
logfile = "/var/log/telegraf/telegraf.log"
|
||||
|
||||
[[outputs.influxdb]] urls = ["{{ telegraf_influxdb_srv_protocol }}{{ telegraf_influxdb_srv_fqdn }}:{{ telegraf_influxdb_srv_port }}"]
|
||||
## The target database for metrics; will be created as needed.
|
||||
database = "{{ telegraf_database_name }}"
|
3
Archiv/mgrote.telegraf/templates/zfs.conf
Normal file
3
Archiv/mgrote.telegraf/templates/zfs.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
[[inputs.zfs]]
|
||||
poolMetrics = true
|
||||
#https://gist.github.com/bartmeuris/41caf0998f38a2fae7cf1ff92cd4a5fa
|
18
Archiv/pve-neu.grote.lan.yml
Normal file
18
Archiv/pve-neu.grote.lan.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
### mgrote.zfs_tools
|
||||
zfs_arc_max: "12884901888"
|
||||
zfs_pool:
|
||||
- { name: "zfs_vm_mirror", cron_minute_zfs_trim: "12", cron_hour_zfs_trim: "23", cron_month_zfs_trim: "4,8,12", cron_day_zfs_trim: "2", cron_weekday_zfs_scrub: "0", cron_minutes_zfs_scrub: "0", cron_hour_zfs_scrub: "3"}
|
||||
- { name: "zfs_single_hdd", cron_minute_zfs_trim: "12", cron_hour_zfs_trim: "23", cron_month_zfs_trim: "4,8,12", cron_day_zfs_trim: "3", cron_weekday_zfs_scrub: "0", cron_minutes_zfs_scrub: "0", cron_hour_zfs_scrub: "5"}
|
||||
### mgrote.apcupsd
|
||||
ONBATTERYDELAY: 10
|
||||
BATTERYLEVEL: 50
|
||||
MINUTES: 10
|
||||
### mgrote.postfix-gmail
|
||||
mail_nach_cronjob: false
|
||||
### mgrote.smart
|
||||
smart_smartctlmail_cron_minutes: "15"
|
||||
smart_smartctlmail_cron_hours: "6"
|
||||
smart_smartctlmail_cron_weekday: "3"
|
||||
### Extra
|
||||
sudo: false
|
18
Archiv/pve.grote.lan.yml.old
Normal file
18
Archiv/pve.grote.lan.yml.old
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
### mgrote.zfs_tools
|
||||
zfs_arc_max: "12884901888"
|
||||
zfs_pool:
|
||||
- { name: "zfs_vm_mirror", cron_minute_zfs_trim: "12", cron_hour_zfs_trim: "23", cron_month_zfs_trim: "4,8,12", cron_day_zfs_trim: "2", cron_weekday_zfs_scrub: "0", cron_minutes_zfs_scrub: "0", cron_hour_zfs_scrub: "3"}
|
||||
- { name: "zfs_single_hdd", cron_minute_zfs_trim: "12", cron_hour_zfs_trim: "23", cron_month_zfs_trim: "4,8,12", cron_day_zfs_trim: "3", cron_weekday_zfs_scrub: "0", cron_minutes_zfs_scrub: "0", cron_hour_zfs_scrub: "5"}
|
||||
### mgrote.apcupsd
|
||||
ONBATTERYDELAY: 10
|
||||
BATTERYLEVEL: 50
|
||||
MINUTES: 10
|
||||
### mgrote.postfix-gmail
|
||||
mail_nach_cronjob: false
|
||||
### mgrote.smart
|
||||
smart_smartctlmail_cron_minutes: "15"
|
||||
smart_smartctlmail_cron_hours: "6"
|
||||
smart_smartctlmail_cron_weekday: "3"
|
||||
### Extra
|
||||
sudo: false
|
14
Archiv/sensors.yml
Normal file
14
Archiv/sensors.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- hosts: testeinzeln
|
||||
roles:
|
||||
- { role: mgrote.telegraf, tags: "telegraf" }
|
||||
|
||||
vars:
|
||||
telegraf_base_metrics: true
|
||||
telegraf_apcupsd_metrics: false
|
||||
telegraf_hddtemp_metrics: false
|
||||
telegraf_smart_metrics: false
|
||||
telegraf_x509_metrics: false
|
||||
telegraf_zfs_metrics: false
|
||||
telegraf_postgres_metrics: false
|
||||
telegraf_lm_sensors_metrics: false
|
2
README.md
Normal file
2
README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ansible_heimserver
|
||||
![Ansible Lint](https://github.com/quotengrote/ansible_heimserver/workflows/Ansible%20Lint/badge.svg)
|
22
ansible.cfg
Normal file
22
ansible.cfg
Normal file
|
@ -0,0 +1,22 @@
|
|||
[defaults]
|
||||
inventory = /home/mg/ansible/inventories
|
||||
nocows = 1
|
||||
retry_files_enabled = False
|
||||
roles_path = /home/mg/ansible/roles
|
||||
[inventory]
|
||||
|
||||
[privilege_escalation]
|
||||
|
||||
[paramiko_connection]
|
||||
|
||||
[ssh_connection]
|
||||
|
||||
[persistent_connection]
|
||||
|
||||
[accelerate]
|
||||
|
||||
[selinux]
|
||||
|
||||
[colors]
|
||||
|
||||
[diff]
|
14
inventories/group_vars/acng.yml
Normal file
14
inventories/group_vars/acng.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
66386233653666313061343763393637376631633334653333346663616537363462373234376533
|
||||
3534666365653166626432396137356663633432303761330a633937353539326335656562663062
|
||||
62623662646638346263333835326538653036316338643131643664353533316233616637643036
|
||||
3636656439306431630a646236633964633236396339336537303264336532393164643231643632
|
||||
34646262373239333933343765393365343066393830353737303335653163663432356366616339
|
||||
61376433306131373861653439653837356661316564633766643564393164323936663533623862
|
||||
33393162366537633961363035616138323233326234393735663438626137373335613163313335
|
||||
33663034616139373665316262626666636332393533656134303330626633613365343639333030
|
||||
61633933373730323436323336386534303666323739333231303730626630633232363031393536
|
||||
66396663346163663061623237316639303365613330353832303133346366636362333733656230
|
||||
37643439353766613063363033663735616665383031353039323935663163383532363435376362
|
||||
31316165353530333264366663373236623363616332623364653064626432613733333961626537
|
||||
33316466386532363361356532363131383839663538656335386437386461363361
|
109
inventories/group_vars/all.yml
Normal file
109
inventories/group_vars/all.yml
Normal file
|
@ -0,0 +1,109 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
30363261613933353839366135613932383536626236636638633538356631636539653364393564
|
||||
6531663830376436363634366466386335333063326333300a666265613833323739393164393537
|
||||
39633263396236373035653631316538363866393661373064633130313634346462663862393231
|
||||
6364393138376564610a306637306362616339306633306330353961323533323764333535643966
|
||||
30376239396461616135616661636537316430653361313832323665346661633239316166613038
|
||||
31353062653234306134376161303765633039373833346366613463316536306662643637313135
|
||||
35346632333365623138656337383437663464346332333532363763363538303266363463646263
|
||||
62366130356135396437376663326465343837653536353736383635646232306630646461306364
|
||||
39383065353131643663636532666665383164356234383233623836393832616634373961613330
|
||||
34343730343463313363343932306330656130376432363762336635653666386430616239336366
|
||||
61656638636234663836653935396164626533306232396166316134376566303636333232333737
|
||||
65653532663636343265336663663563313032306139373864386663333066383734353538383136
|
||||
63386363333437313137633463626630353932646434663766613235393162636535663666353966
|
||||
32613364323437303330363938623438336134333238613339353562326339323330623463366638
|
||||
35653465363762663030306566366430613033353561393238653238373265386433656337613962
|
||||
32643262333861376264656330383766643861313866616134336461396363373039646438373733
|
||||
32666437366237663230356636356436333833653431626631366139316631653663376231643836
|
||||
66373366313232363365626233623937613261343837343462376239333737306534323464616535
|
||||
66623530396364333031643562376238393639373961643735623533393532643230333965313061
|
||||
61663533346635333639316233313837306238626432643363313765643862343661613839333430
|
||||
64623564353966333934343838353738643430326562356232343833373837306165656562623863
|
||||
64646436656365313534613466623130333737386430393838326630616166653962303237623864
|
||||
31326262663637613333633637343135373533303064386261333661343964303462393233633632
|
||||
37343866643739633234343432653138356166366433303935366336326437323032346465346363
|
||||
36376233613036353864336261326639343166356131336639373637386530313262373839653364
|
||||
31356664363261376262393263393331393036396536356538613439646664383231333238393161
|
||||
32346439633164633437343031353835336338393633643633343738633231323231663831653834
|
||||
34363863313833306330306163333133313738656562396330333563653461323033656663616430
|
||||
39366337376561366439353334366266633736313331373434626137626534323234643535333630
|
||||
39613537383433643062373061353637376637666265326537343362643634633965373334623265
|
||||
33663863383533636563396134616139346333383438633262613466386231663039656534666365
|
||||
63613132343233653436343266326161396634616237616164663231376436396366653036393031
|
||||
62633464393337663937373964383562383965386635343765346635656337353035643439653534
|
||||
65396434646138646237373938393935303563383635336238626133333862633463353232316262
|
||||
66383634323964663237356363613235323661326563303936343563316538643130303064323162
|
||||
63666361643863653565376665306163343433343532636466336561373937623964643031643238
|
||||
33383137653363383732666434393164373466333262636664656435313534613736613563316137
|
||||
34393433323664323065346662333863613537633031333536653032636264383762333436613036
|
||||
63643038346334646566383661316463303763313530376437303765376234313638393962383163
|
||||
65663764643730366366616264666232333262366239626336343533656162356234356234636138
|
||||
66366664303832393965313433633532343438623434616635343835663062373363653236366437
|
||||
32663634393731386566383962643463653237663930653634336465636439346534393436656234
|
||||
66623635363639663662383664643464356561613833316535623039343961376162343866613464
|
||||
63386534346633613931626436306464346139333138653231323334636563353564663661396437
|
||||
62313236316262366138373138396339613738363536613138393162393066616134663766303861
|
||||
32646533383763626561363436366533663735306332303661306339663463636265346662303437
|
||||
30326236356630306661363139323866346361656166393231393333613165333230333636353332
|
||||
30346231663331373562373961643930363039363466646261396638313436373933383232323431
|
||||
66663161373631643439663837643364643933353463643666316164396136313561383263666634
|
||||
38323364333264323733633936323531373937396335656561313739383661663165313132333436
|
||||
37383630346531313832623431613138313332633963306135336635306362376362623733316433
|
||||
36306330613034333336356633343365303761366239616263346332396334353836623938346263
|
||||
66623362313461336330646264336539643933666632643263643037303161633864393032343436
|
||||
31653038613038636538313263633938623362356230373637323066343266303737636136313736
|
||||
66346235616133313561336539623364656363653662323236303237396631666330623438343761
|
||||
39663731306163373239343464343636653532306334316364396439343933653838626661393166
|
||||
39396166636333376233386431636238313838393138323264626566353630623064333363336462
|
||||
37303561373732353533396661646535636530623231306537386438636137313637376230306262
|
||||
30363132306239373961333164396430663662383461643462643838393061313064366436613033
|
||||
61313933393763326566363333313835343831643534613734386166616662306333393736316265
|
||||
62666666303930653866643438306364373863643963663932326630346637366531616231646663
|
||||
31326566636333343563373262343531346130663037323237636532363066643462663862396237
|
||||
32653662616363306134343262623636616131343566356534653531333130326532333931336461
|
||||
33333538393664643865343066616235306531636663633330623038326638626164363832333264
|
||||
38373664656130306437303262363334326163343335366636376662376361663863386331623064
|
||||
30376662336561616635316263346130663937633839356264666265386561653666336533623162
|
||||
35343334306161656562366435366632313063636663613861366237306530366435366434646264
|
||||
38623439326466303137623365653466306633393261633031613138393533303533376366643132
|
||||
64393436316462633735613262636637303561656236313038363435336538663632323230353538
|
||||
64326663313539333532376564373339636538646464363939386266393430323436333638376638
|
||||
61663031366636623362666534356263666163336633343238356135363737313165653561633838
|
||||
66343962353065613730383536613639313965616337323234616566643639633138653833386433
|
||||
33653063653931663133343932373334623735393839336336646536383166336138353134633663
|
||||
38386662393539373030363466313133633862326539353462333234633030643766633762346433
|
||||
63366664323765393032373861633363383431363938313139343564646635343134613864336466
|
||||
38356236663665623963316134656161303862323432666638313930353637613764643236653731
|
||||
38626636666665633036376663336231323463663965316464636432653937653332653962373934
|
||||
35623532396232396666353934313139393837363462663137663739623061633763663633326262
|
||||
64353535326230303734393039623262343233383638633030663366613465663566343063303938
|
||||
32323738346231613135383935653161363266393535386133356561363133343132636636643963
|
||||
63363030383533313337663966666638323532323063323434333165336239633835653366393737
|
||||
39633431323632663835316463346465363066316465396430323862663064633433346536623064
|
||||
66326133616539653637396336623032383937623038613864666631336630353865663766383438
|
||||
37346233666339393535383632393231346633613733396631353562376536663166613632656436
|
||||
65336533616532613863366261636632613135356661636430313533666266613664623631653961
|
||||
38656366363863613065343361366261393532396465396164633765646130333264623733313338
|
||||
38653062326332393864363066323662376363383963303434653539303330356234386533356437
|
||||
62326331316630353335356233633039313335333235363861623331383064666336393661643735
|
||||
35316464636234366666333432323862383339616534643462626463663035613632343466643032
|
||||
36336561636334303637613335376531356138366533363461363534316162626164356137386130
|
||||
63383765343032656265353537383433353565616663373566393063653362306434626239323437
|
||||
30666631373438643966393865316236356436613961613332643764316231613663636637623065
|
||||
33623636326331656461336566346561303430653237373161363166343438303461386161313736
|
||||
39306638383838346337336336643132623436623832313666343631323964643731336635353266
|
||||
62366264653163373265353230613464353738376362663466323931313962613731343434396237
|
||||
61613335323861396562366462613538346661363838383339333163363133346563326533333763
|
||||
63653031626266366363643265313034633436333734363663393864326639363161633365653133
|
||||
65303837323761333864346637323337633638663430623230613964343535363833623832323437
|
||||
36366363646565636637656333333434366163343563376539613739656331303765626438323939
|
||||
39323534613763316561663462333034616564343933313934353162633534643063313062393536
|
||||
61663234616430636237343837396163616234653232646466346664373532343962633262616434
|
||||
36316632333736363330333638376361653636336534356566303738633830616439396361373030
|
||||
37316662396561323664303938643735356564653131363765363734613165366566653539356531
|
||||
33633566396532383137653037353765303865373637363536623032643837646134643963636563
|
||||
30333765666363633735653161366134616633376639303061356637643634376535303336393964
|
||||
61343061386363373934313539626365643862326439373165383664646535653563353962316130
|
||||
61653665643031346466656537383635663930333538303166613431323438393064366331343438
|
||||
66646239386634336365
|
25
inventories/group_vars/dns.yml
Normal file
25
inventories/group_vars/dns.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
30346531303632666535646531393962393664656338306162333833383830663632383637663336
|
||||
3261313838313130646563653362353039356265366337350a396664333330323861666234313533
|
||||
39663162663532336664396238616161616366356437333561373738616665613764633431623463
|
||||
6132393036646461310a373765336266303139656437323137626362643963336236383134363638
|
||||
39366132333034613736653064333763326662393032336133386666313635623132303132623330
|
||||
32383735303161316432363132663530343535613566656135623236623332613364303532633536
|
||||
38353731313234616333373161613634313737653732393162373766306438666533626663306231
|
||||
62313636303830303061616565383665633438396230633764323736363831313035623061343662
|
||||
31616231383964323932356464663265316561666663373561343763383434393237623162386164
|
||||
65633565653935373533356531613936343634386164626635366237646666383633396132383061
|
||||
36613061336330363439336130643338383136613038313364636262333465626262616665316466
|
||||
32376235313836346364383334306564396162356131316465396332323461366535323037313330
|
||||
37626535376666633365656461346665316530383263353932323032393664616636643733386632
|
||||
39383563366433343563613732666439323832376337616633376466336639383365343637386662
|
||||
38626139353765633038613262363837643939636366636137373731313432643064666332313437
|
||||
66623732323561666265363837653230613838333335393430313038393133316162343466336332
|
||||
32383031376639383338346532303164626263306564633861636365346366386630643638366666
|
||||
32663335393430316139653130366433326330343863343466333166353633376663646639343965
|
||||
65303939663161356137366466303264306261666463646565636139393533393765356238323361
|
||||
39653636396666376362393366613661663264663963613761343666316165383662613836656535
|
||||
30303466633236653935306138396236383138373636643931626665633034326235393132653938
|
||||
66666331363238346435313664376463353738396633333333633765633932343939633066656162
|
||||
36666435663938663130353739613137366637633566383134373134653034353865663937356465
|
||||
31323963623165386462
|
20
inventories/group_vars/docker.yml
Normal file
20
inventories/group_vars/docker.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
32656133313836353235366264616132346165643864326366373335643164333432636238633037
|
||||
3034353063373331383164643636663064353939343038390a643631303466306433383161343631
|
||||
35323863396635353464653638306561663434666261643230386364666533633633626536643239
|
||||
6161386165643930640a353666363834383662623961623530343635346638383231313839336430
|
||||
32313661363038383537383532356364363035333863663233376338633637306430343164326236
|
||||
32396661333934396139383361316261313633663461643730653363613163636661636662616537
|
||||
62353665343664663435386535366461653138613532616237346239346336333265356134393136
|
||||
65333037616166633366316232646166363564303732373638363964343365356337366265666339
|
||||
61623931366236333835303465646234646632636535323830613263396335653839643639313439
|
||||
61313439366530323361656230383539306637393764343631623065306566303037336435373664
|
||||
61643532306437626435346332646563346663386635313932613338626138363864643732376237
|
||||
64646663343766656630306631383633336536346337616332633862633966616565386639386237
|
||||
35383331613538373262346537333830383965366264396365363838353264393231313761643362
|
||||
36323134663465356638646333636332363937306162313665343430663565623735623465613563
|
||||
64613562356230316630366130636639393731323364656264653130343266646430363664643530
|
||||
62306333373762633766643636343638313134623663326263363161616131666432343734363438
|
||||
36623537333133363435343463376636396231336361353530656430646661663737353330336166
|
||||
30356135316138313032343633336162306264623334633564313933333134303163656363643535
|
||||
383665336238626164636132363934656133
|
19
inventories/group_vars/dokuwiki.yml
Normal file
19
inventories/group_vars/dokuwiki.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
63343239636566376630393734316662373839353564333339643162353537373564303463376462
|
||||
3665396138306464663962373631326164656332653238610a653032356131316662376132353839
|
||||
62366564373134633261343930316463376233663436326364303035613133616134333265356537
|
||||
6138636466613866640a633336613930633830393331343033303262323438366664653963326637
|
||||
65663331323533333865376532643530666361303832303132306539356162333530623839383632
|
||||
35356638326234383433613161323664356137656531336362383830316139656230333362663765
|
||||
65626633383832616433633730356331336462333661326333653461393663666363363139326665
|
||||
38313463326136616265386131323631616432393732623333643132336161396536616632323633
|
||||
30316330376461613433313165386333316565316335643635346331613932643434616136666266
|
||||
32636439333931303037613230663562653666333936326466666139366132666539323332353063
|
||||
30393436363763646139303731336437656263306663346231613536653161303363366634653266
|
||||
61316339336636333434646138343162393566303133386364383836616430626230386338396266
|
||||
37613835333065633962366432373566343030663431643536336532373032383439613336396330
|
||||
37333263346636303531396363646131626138323133646566366132623633336566666231613137
|
||||
34663832623938653530376232306438326231653133666630323863333532323131343131333139
|
||||
35313737653739376338626230383131383564666265323062306134633663353730666131353233
|
||||
39353463636630393135393535393366666330383630663837653766326364366136353731613438
|
||||
3066663561633631303465313466363061336466613062333565
|
57
inventories/group_vars/miniflux.yml
Normal file
57
inventories/group_vars/miniflux.yml
Normal file
|
@ -0,0 +1,57 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
61376131663637343462336164653432306664643230393536333661386432343236343761333732
|
||||
3262313562373564623631373364363463646439633364330a626637613631316136336536616439
|
||||
62316130313934646538336361623465373265393366333534373533633761306362366161616438
|
||||
3738646666353733370a353864656235306630333139336231666465313066663833663734323838
|
||||
32383436303233666333313639326664383031663638663461313361303438333734373233356134
|
||||
61303864386130326534303262633734366565643862313730653933653638316166616663666238
|
||||
39386636653562386365636464616166666162376130653963653732626261343739653461356534
|
||||
38333633656437333139613263656134393063366634303563626563643538316338366262646565
|
||||
34643337313739616630386463306236646562376662666336623564303964353235303530646639
|
||||
39396238613337333031333933393438383835366337613333383238666363653038336235363064
|
||||
61343830333663356332373831666561646266366537666136316531633931323031646331366135
|
||||
36346639656635313734333663313131356430393966613563363732326366336237386563313264
|
||||
37313466306565306434303033353131323461326466373632313665633632316237653238666338
|
||||
31363437323730626166666662383939386534616266386631613766383530643335633433336161
|
||||
62663863323537393065333930636638353738383861363462366232626530303537626462663165
|
||||
64626535653266343335663630343362613135333334363837356538356534363763383635333462
|
||||
36336437396130316437653230663035313130383835656338633230396134613466333538643436
|
||||
63386561376133303739633338346238626531323133373138383365616562613336383362656230
|
||||
37626337363132663839323762383532653465616135393035656131386632313239656630343930
|
||||
36326131316561356662616163366436383565353236326637313966353965646535633739373732
|
||||
36323538343638363763303038303631386635343439396335326438376163393730636631636464
|
||||
63623365643632363634613835303234356430386163643162336534376636343433386632633738
|
||||
34333535633937323866396262616664656263616339613366323736316566303530666434343165
|
||||
65656261653633326563383962643663313563306632623332373765383930663135613431623334
|
||||
35373161663062633438646133333334636562376439373131373662323737363531323135666132
|
||||
65313861306233363339356463623061333633393864303838393632653466623262353962653763
|
||||
64653665353234343062393664303136366339623931663533643435623230336165656431653835
|
||||
66326239623861316366353638346163633162366361383137613030623766613234366535666333
|
||||
38666664303138366663623138356539333066386366643063353132316537643037373666356332
|
||||
66663631616264666134306632306163653337386139333936393032393434643232656138363561
|
||||
31373966373037646238343336326634643463616230366536343538326663306438663537323832
|
||||
31626632613465633966376264383361616265313933363235633564333464303365643134353037
|
||||
61626332643966383861643766613435656532396463333633373832643338313636353038333835
|
||||
34353363646165343335373966306333316336326330656635646337653864643164663365373637
|
||||
38333531386631373761386438323863396339313937313139333533313361623263393936366363
|
||||
33303334326262306464303664656434396535393038613063323438306239356161616363653365
|
||||
35366630623232336334653664663063653939656335343836383632643331353766333739373835
|
||||
37663863636637303431633139613735373462626433623931306162326637376664323938643530
|
||||
62373566636130653664323462323833383333356138366435396163306430326433336537313232
|
||||
65383831333335303534646561343665626134613065353638343634376661343637393863343162
|
||||
35386133373837356238366331623630393730346561313566303065626236366230626139313264
|
||||
63336130613935333538643464663961316439383364366362623335393433326139313735383561
|
||||
38323732303533623738333738656465626230633063376161316230663564393238633436633263
|
||||
39623331373361373235353663636332393635353734616662613063323535353936343931376262
|
||||
66306466633635356438363831356133366266323263373465326238366362363635393763613337
|
||||
62306561666162313136626530643762363938326535656164396533353539346436633639393633
|
||||
39336630333938323036333133316161663237336637396331313061376437623062666337613330
|
||||
31363736313863633362376531333564373732313261396436623539623634373934353733643336
|
||||
37393237373235323437643031656630316534303933303833633661383132646266363239663636
|
||||
35366438626631373539363230363362313663346534653336613230303832383337353930636562
|
||||
31326136306239396266303037396635303134366263636265633837346130613333396238613566
|
||||
63333733376661366563386431336264373462383962326263666263323038623539643837323931
|
||||
34303638653065373731326631323239623463626561336236356661373764626138633464646637
|
||||
35646636636535633862323761313363343765653234356365373537386631363636363435373031
|
||||
38383631346137663063323632636665653162333363633563636637636232666538646665303032
|
||||
62646466356635643835
|
19
inventories/group_vars/ovpn.yml
Normal file
19
inventories/group_vars/ovpn.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
35383966363434633264613636336335663465373434363236626531616135643732633431306237
|
||||
3830633638663361313066366363306461373161353635350a323832326637363031306631653532
|
||||
34376262363564333139353364376531386338636461633735333137626531356432646135663730
|
||||
3831336636353665300a346666323566663231616635636536633366353836623133363763316333
|
||||
30366433303964323963343837353330376164653330613662346530623937646238633434316335
|
||||
66336266346532303336363064336639336261363034313566646462376564613162343966656331
|
||||
37383066353465366239393237346332336336613863356638313839656263383035633663366663
|
||||
66653331336462353965626131353539333336343034626165326466373531303537383362306364
|
||||
33373362666532343635326166623933643265666565326536313764303534326132313039366236
|
||||
35376162626662373035356562363937663730353862376264363730313561306238656161346138
|
||||
36306337633433623239646439653765313230306363363431343565386130336365396261343339
|
||||
61366239353934633162666133303531366230636531656564356536623861613363393031323139
|
||||
34353863343665616364663761316666393137366664626563313665396137623766303966383131
|
||||
31396230373338373236636361316661343365396435373534346232363363653032373634623238
|
||||
64323735313335616665313736626633653734373264353539343135396431336238316362326333
|
||||
63313938663133653035626330333962623838316531663766313531306530666239623036396435
|
||||
32363236666532663039633439306538326335356133653166346534356535353338616530663339
|
||||
3838353261353035303236643332366431663035613137663533
|
18
inventories/group_vars/reverseproxy.yml
Normal file
18
inventories/group_vars/reverseproxy.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
32356461626336363230313135353939393865333266396230646137393836646266373665646333
|
||||
3833363165363434303265393931623530343231316262340a316661303034373239336263386163
|
||||
34643065376334313238396337633465643338323230646661373036386130653861643966336235
|
||||
3734343734336335310a326164323365366337346638613735653636326466366334336163623233
|
||||
65383662313764373562633534646131613934346638613164666266663639303137623964396332
|
||||
34363737396430376137666634643932396663653961316431316462373637386138326432653035
|
||||
66356565393262323735313730376530653233336231343461333232323863393635386639333030
|
||||
39386632303765636463623833643762663864386562633066633432343737376233653132333335
|
||||
61383739656538666366323338393931636535643833653831636661336462333462633133386138
|
||||
33376137653137646135306361656234613630346437396431316632316666313864323038343962
|
||||
64336439373462306233303864626231376232313838323636633263383061306337333161633763
|
||||
64653638643131373661626138313237373332326236653133356539353830663533346536623833
|
||||
38393163353364623637623039353362323833636238633535303165643236386133623466626565
|
||||
38623535636561613637353339306239316263316130663336623935316461333130613566363839
|
||||
30353732313835626330326138306564623231383430653530653035386334316663393561386135
|
||||
38663738393030326232663861643238353565383837316136333838316133336661376239326461
|
||||
6337
|
291
inventories/group_vars/storage.yml
Normal file
291
inventories/group_vars/storage.yml
Normal file
|
@ -0,0 +1,291 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
31626563306565366361386137306233343261663636326137383461303736306535633037336330
|
||||
6130616339306334373566343462613139303165336537330a363564343264363831633133363632
|
||||
38306131633664666636366130653337346535376231386631303763383439626339356466303033
|
||||
3232316338643462610a656638613334626666376631666631303962373836633461316666383430
|
||||
63303133313261613430323439633664353632633337336161653438316138666163316236313936
|
||||
63656434633561393465336134383139333565623837383866396435313434393936313964323135
|
||||
36613830616230393462353831376661313438386630666661353137626535623531326232306533
|
||||
35306536643538376232653339366232373237343839623962323135356561386361633532646661
|
||||
35313134666130653233393333356264336134613434613862646339303934363935633037613863
|
||||
61306262663263623637356638616431653930313335616435356434356633646461393739626337
|
||||
31653732323639363339396463363239336635656664316530656466653838633630323135323538
|
||||
39646261346431333131363464653733373461316333366237396537313365636536666636336237
|
||||
33643766353264366230313033626138623438653663666265333931386234393633636561313134
|
||||
34383538366336626165363766373237613565643863623864656163303763346563623166626230
|
||||
63353639396665623330373639656139313933616464633666393061383337313662653535313065
|
||||
33633264353735393936366234636561616133313934353637643836356463306365643738393663
|
||||
30373533326239306631626132336639386662343332393939333230643564376566333631326666
|
||||
32396230666564333666613737653361313930623236626437343132316436353133386438326630
|
||||
30346364366337393766643833613236666365613764643231396561366631383961626331343734
|
||||
34613464306436353466366233626531346164643565313830633966366664623565666436373666
|
||||
66376434323866383633356466323461303463623837356561303532383236393036633765323933
|
||||
30633934373531306236626565333836626630363836643332643565393362666436333333313164
|
||||
38646661316430353165366263326262663135653439376363363039333139343532333264316566
|
||||
66306461383463633963336563336231333361333030643439663938323436376336373933383530
|
||||
62333932643733633564383938363032386538373063613964376338633561323734303666646461
|
||||
64356139353439643330306163663061393436656432346533376338326535303037386635363335
|
||||
31626438383532346333376536336462316465613231313231376231646434653834363762636534
|
||||
37636638346634633032386331333139643261303938373732653366663565313130643531386533
|
||||
35663537653437613961656539613263373964363761643564353235663130666664303535623961
|
||||
37626461303665626630376634373332343935366263383439306433636339623937636362646531
|
||||
39373663613336383839613736653263333061333562303532373562363864356633623966313065
|
||||
39393230613336623936373639316130383366373138333037663562346537306332636330323362
|
||||
32613935343938616465666535656434636530643732356365633466636665653561613438613635
|
||||
66343965633830323864623031396330393133613131646336323539383365303438356330643038
|
||||
33626231343962336134633634303966336333326336346137313831333832373764326531303832
|
||||
34653731353066666139366265656433366431393132653937316234336663316165323732663436
|
||||
65386561323536383831613134333061353063663938383533656165656665633032313163366338
|
||||
37383634336139303235656633383037383962316335656635613233366361366137666361343764
|
||||
63343366636231356264346661333464383336333539613262386164636334373266303961333965
|
||||
66396437643034336236363433353630393838656433323132343830353566646461666337336635
|
||||
61633030653663393763326533626264303735313633326631343234616334623434396461646637
|
||||
35346336643536643265613166643265316436643439646265306530616132356463646234326664
|
||||
36633066376461633237346466396231393464613734633637396639653464613737623339396133
|
||||
66613333656565623661346239656137336165396436356639376439306363383934306431623966
|
||||
66363832383233306264396630366531613962343434656334633037636238626363336133366231
|
||||
63393265663965613761613534393163666137613031623236303434323366653663646134303038
|
||||
38653236643964663965633738346439326138633338353233623830303330663939623236306230
|
||||
39383964663537653561306665346438393735363033383339326466383764363639396537366261
|
||||
62616335306234616436346664326564313834343765383564613235373664373736343063323138
|
||||
34356263646630313430623730306330363066643933653130303762636639313433613539393866
|
||||
64333339616436336261306533616233303530306539643766333730323964643861396261336163
|
||||
36623439386265373165643831313632313237376431323036393965373137386237333335326537
|
||||
64666661353438626135346362383838646435653934643932386265303630393961653164366339
|
||||
36306564376234623036346236373465343566653662633862363966326264666235323863653536
|
||||
62306561363963306361313565623462633462356136613536356262663936656436323863646664
|
||||
62343366306365613961663231343236663562393739643134353761323037333766336664396434
|
||||
38663937653732353632666435636436343237393939323538613965383863646266326338313731
|
||||
35373262383431313130386362386436343965386631376164363966363361613238343066386462
|
||||
35643731656562303764323632613737613265356463376661363233613634636534663136613663
|
||||
62306463666364636132316638386430323762643137306536613265356433373961313930653361
|
||||
30393861383735333261663132633062396566356364636431326462336364616164316532363435
|
||||
38623966646335313566653532376532366134653165633830636266376565313133323932626637
|
||||
39663763356332623134633263373231396264393964326231336433623162363462623834666135
|
||||
35323163623739383935613333383330343036623663643633383134636639316331343634316134
|
||||
35343736386336666434373361653235653032656633326331656638363133353333383537326264
|
||||
39376531383434666536356163316634393330393038363630663537303161653830623265313633
|
||||
34393331623264396330643435393833646365306162373463613362633638323262626231306238
|
||||
62636337626461663433313965633135643661303062623436383762643138613831396364306234
|
||||
35306163626264656634313033363161656238333834313931353661363631633039306636633364
|
||||
39376438633834666433626166303936663461373830323864363730643035366563306432623563
|
||||
64366239343762306630333635383465616131323061633632363934313235643037653237343137
|
||||
66383338363932636435326232316337626539376430386564383038613831643838663361656162
|
||||
61386365346135633031323563363566386635613861616434623234343362393536633033386462
|
||||
34376362346432346665346538613437336434313238346138343236376566333031653137626661
|
||||
34643938616364323238346264393365366135633937303730303832646161613237393461323038
|
||||
64656334326133363836613031633035646530363839383436656366306266656136316130386166
|
||||
65663334633833653664333463393362626536336561383164653965636666373865633838333833
|
||||
62363135613665373433643530336437373030656138386538376463653832386461633865393537
|
||||
31343261666262633531366132613536323439333035353632333537373763616562633335383463
|
||||
66323638373334626434383435323130633564626330643566653562353339656230316162393162
|
||||
38353439346262396264643530656535353063333961613633636233623138393266346231313531
|
||||
31363036303236646331646231346538346361636339353433363264633431393035303533633264
|
||||
31363065666262643235393533333665333830616134333064353032626233386334653666666130
|
||||
66656561633735366630386331653666623135383664663065396436356231643363613834346532
|
||||
63373563646135353462653461623163386461323563306230393031653664366465343836333538
|
||||
34343662373033323231363132336364646231306566376662383138313066643436373939613765
|
||||
66666561323131366430313231386263353836653137363831643935386661323265313661636531
|
||||
39623066643033333965353131353632616130383232663930366461313032633638303362343162
|
||||
65363539316166373334353462356431313965656637663034663833386638323966616362366663
|
||||
34623666356363376136396561326435333530646633333035643565316661303465613238396439
|
||||
62333264353231353735343262323434306331343833656166373339383033666332366663323462
|
||||
38656362663664336531366135386330663830623161396531623538353236393438633764323431
|
||||
64663437313239383637316438356662653738343438623263363138353236623830323334613336
|
||||
61393738653136386331623861663766643463333137333562633130626535656138656336313265
|
||||
38633331613363386331623439396562313462373035333735386261653830363334386332356166
|
||||
31613963393462323635326362633430343435623834343331383062323830346532313765333933
|
||||
35663864366237313666323836393834353363313266386634306230336532643039323964656535
|
||||
36613237306261303265333764666434303534336165333332643131336335373330623536383263
|
||||
63303731656132643734623031626663363633363132356362366332363666303736663635373238
|
||||
30366236616563383863393736303939623864666330313561393130646163323864663330383766
|
||||
39376134313164663232336364343237323566653165306239643635333332303234613636633336
|
||||
36393338626131323938313039373861626233306362396137333339386538336164616335323538
|
||||
31666363353531653435323638653338656664313430316631323337666164366435373536616237
|
||||
30653936623237636233626465303465303239653434386634623239623839623739636333366334
|
||||
38303238383463666430656334643264313932613838303330393161383633366663386230363033
|
||||
37626339613638616637303032393363373130326465363236316238313731323762636561666631
|
||||
31356437323464643337313462353265366438376232353965663336303139303135623037303465
|
||||
37663935623162333532333061656263303461316334306163613461316131616530663039333030
|
||||
37323631653065653836353830343132306232323636303232396531656166636534666532396531
|
||||
64303736303636326636383331653236356235663863396365313338346463363932643937383337
|
||||
35336461343866303535363132336433376636656231323033663735666665316561393762663766
|
||||
62386438623234623262366430383261366532316439626466383930363632626537346564353235
|
||||
62616432663830373133313264663038393731623365643463343335646165633866346636643530
|
||||
33386264613334346230363735313937643139303035646564346539303538626336636633303562
|
||||
35323562393361663034623062353432613162386431303163306364653464643665376232633130
|
||||
31643633313335386535353332663865343164343766663234336462363035313938356464356564
|
||||
36333034636265666266636531623237333137613633386638343733626361346664363262643666
|
||||
37613538656163303532383531636337323238643166616430303536653361366162316433393863
|
||||
66336662306663303064386566313130356665346165386234636239346638663939616264633432
|
||||
36303434393237663235636166623536353961336561646163386137323234396438353531323461
|
||||
38313566623061373565333562373562653461633439363233393734343762343538393039613838
|
||||
63653736626130386664386330393732616565656630633037336161373532383365303061663934
|
||||
64613732386638656335383337363664356136343332386435656131346364303436633435333738
|
||||
63323964653132643962326331373236646465363934633732623730336361306233343264313863
|
||||
66353963323930663636663033333334653561326463613833383161346132633364623135376530
|
||||
37363433303763323666643437363132313262383662646232396564666630396233386231356462
|
||||
39366639666164616439333932363162316132653234306165396263343135343737336165343735
|
||||
31313364616362303339373236306432656165646162356135626338303365383362383932616364
|
||||
35666165323763383262346137306130326531356265353438353666333737633734353366376635
|
||||
32393238326337396266343631383035316139616537346564313566626536666235623962336233
|
||||
65643131333733383161613235616533303530356436313765386336643332613836393461346334
|
||||
32366334613330396636356363623736656533303133356464613837636430373934353538363030
|
||||
31373036383234373732373434373764353537353836633765663537326538353135326465656532
|
||||
36336236333235383236396231396433363966363536643837363063346564383830326663303933
|
||||
35386566333264656634333133646135336635383566633439643437626563643235623161383234
|
||||
63613831366133643939343737656430343636626137326562633866353739656632326435333264
|
||||
61376364653466343733616661353064353764363930366264386137613461623231653965663062
|
||||
63613330623939366639323038623166343564396237396233323035306166373466616536626663
|
||||
32346165346434383637663461616362616235373830633038653962393039343232393631383136
|
||||
64356266336332353163613832326564393461306463656439383938346666373431646366343436
|
||||
34646562353861306361643562313066376433303462336636666431626230626164346265646563
|
||||
34313634636539663939333062616566653534363930383565333632613761663439396333663732
|
||||
36626364306330626536643933326135353830663261616366653839303564373863393762313964
|
||||
39303565626632626131313435323537396339623964346465343734383164376165323365386364
|
||||
65366466613538333137336161343234363139356233373232623463613461363333313165356264
|
||||
61316232343030663665323566633931316261346332393561343435356161366430666562613562
|
||||
32613764306132336139613661626666643662643166656266376561653863623231666163316331
|
||||
30383835323437623932343936306230323431356535636365613831343339346231356635613262
|
||||
62366531666262303064313531326466363461653639636463303839383164633465666363326132
|
||||
33353361366332356466636435623139616536303837333234373637623737613236643831363134
|
||||
36613139653835666266313463646338666433626130383732356563303966613563653661366136
|
||||
34663732663431393039323434303735393135613461623065373239393363653836396238616136
|
||||
63353135313238653734633763393032376263363566666634316631613265653035306435353732
|
||||
39343166336663393036373236616538336439663531303135363439646239393561343734656266
|
||||
31346231636134343765353536616136336639626531656334666530353165613665643930363630
|
||||
36613133636336613430306666373236363836616266636362353765656130306637626162396164
|
||||
32613738643765633139393865636135663337333264653865323634656337646133633139643738
|
||||
35326565313562326563613062613863383635303463623830613030323232633133653363646565
|
||||
31376533666532643961313866623332393334326263346666333431636261613932333834393962
|
||||
65376566616139396662343862323565636130643631376537326530393235333166336433633832
|
||||
33353764393834353366613239373865323261373639663131306464393338356465313362633932
|
||||
36373230353435633066633037633130393063393936623366613235353436653135333536636361
|
||||
33623865353465363166393139376466313332303234373161373662386565376266656565396331
|
||||
37306336353039323533303234303561326637396139643937366632306631393530666136393931
|
||||
62393735623235663062623862333365373762623363323565313261663137613233663262306133
|
||||
63356631353232343530626238323438633531396536646336396362663864333561663033396435
|
||||
64333262366661386432316532633036313330336565313537373261333132636337636237333336
|
||||
65333832336337373230663266626537303934313332646138336633386136373931396362313932
|
||||
33626462646434646535623333623339313237323430376564363763303032656435616633613734
|
||||
64333661623361373039626164336431353635613233613665636431316534653639366238306264
|
||||
39636234373265326263336539306233353134356236316536636637616364646366363433633932
|
||||
30353665383735633262363532613531386337303764373937343737303432363531396266626639
|
||||
39366636323933623135653363633835343337333162346266373231303330646561376165303264
|
||||
34663937616434663765616135336239653937336164383232306263326639333630316237313263
|
||||
37626638383932393063316338316330336463643130643837383730313164646537333465306265
|
||||
34343235303430316334316134393732346634653235396638323834303365653466656261656336
|
||||
65316333303231356663326430663635613766646265383535346439653266373134353861386238
|
||||
63303561333963663134646366303764323336313433386163333437303935386465613530393361
|
||||
36306435343233333330376434643636396638356166306436376464346562363666643439346438
|
||||
62386365653735316336613037613031376430343538616665653432633534346538643466383130
|
||||
61663135353836643062393231333933613238373063336134343630353435336134323130613738
|
||||
64316632646535353139306164303163643238363863393130383466323336663539646365346635
|
||||
61343462313332633737323939376362326333636166343538383235363336333033616365633932
|
||||
66343230313836613932336132366261646262396631303831343061356330323431306435396262
|
||||
38633038623430666134373236336566323637653733656334326437636230393934616332343232
|
||||
39393961366533366561306235343630396238356333333331383233363033356366626236363166
|
||||
36333164613539653762393134356537653739393036383039656236663665383364303238666336
|
||||
35663966346433623437303639343463366435626361303563353131323332363630666235343365
|
||||
37623761303739653362313765646164653766633362316534643932396262613862343739626237
|
||||
35643062613666336535623766323239366531336466613039363038396639663463656562313062
|
||||
33386261346132303065653165643761613666343937366230663936643866323363666339383035
|
||||
39356562656430393330336131343562663363613463313531656135376265666166333635653035
|
||||
30363635366664363961343030616263313835303930366430383636303232306433623265356631
|
||||
61653638396532613761326230656337636362303935653939336236323739383538323463393732
|
||||
63323031613830646165623162343031326163316137303735383133656365616462313866643966
|
||||
38343238316136373462303335353663386239626238386538633139386363666432663836336330
|
||||
64623836326136626263313461636165373030646632643364313232623130666466323963646632
|
||||
35653332613962363964383462386634333135373134633637373762646539366639326161633062
|
||||
36336562653631376363316565396230396666383035363466653066656663646361313163643463
|
||||
63303033666530656463393165333162643138663436393134376661333061666164643636393436
|
||||
31663138353037623336613661393861373031623733663063643062643839326331383637363765
|
||||
61633362313735626639303734633631313334663663616164333332383838393866623865393765
|
||||
32383766643461303866353661396663636532316233663862383338643965363563323865383132
|
||||
35636461303439643966383062383037353362333638353131366232343364666562313630656534
|
||||
38343962343566623131306364366266366630383139626130313162323166643134663539616332
|
||||
31616362386439663831373636373732323665666239326534663135326338646237653339613534
|
||||
38313062343533666464343663623136666665643939376631373938393033663763663139643066
|
||||
34326664393735616430346335343165613465303233633862313935663762646538623933353165
|
||||
62643335373436636362363839636330613861363061633732646232313866376638343636633666
|
||||
61666536326532626561356231343764363934656135623465346535646639646538373763366139
|
||||
32303138633965636261623137666239356637393034303565656630383366663062323732643036
|
||||
34383036626331333965663135303933383635323037663830663562343931366465396164616632
|
||||
38336430656166306230663831313735376437643534366438386434613231653266373932366539
|
||||
62396530333665663930363137353437363231343435373337323938666461383131363530363762
|
||||
66353230303330643439386461323839366433336333323632383131653837363030343135643737
|
||||
65626538373032363837383664633739623537386661643732656664393933356537323738353036
|
||||
31346530303862616365666464613964383038666537313237346437376631323465633938666230
|
||||
32303330313061386164373765646136363938333936393161663330386163323037366633313739
|
||||
33613664323837373063316436653865333938363638363861373130646464613561303932623937
|
||||
38326264363232353063386431663366393662353736373432373566376430656665333838343739
|
||||
64633131373036303738643363383532626463353766396439303330393163396337333430383230
|
||||
38386664613563633034316233616431303966373330363939353663656138306130366566316465
|
||||
66613135663764343738313064613664633262393937633231393265663361353737616233653139
|
||||
61653539363662393636653332376535616636333931623531343564396231333961363732363263
|
||||
66393236643963386530373633393966363331316263336230323838383862633261633430396662
|
||||
31393832343533373535643732646239653431313430623735363233626539393138313739353061
|
||||
38393865323832646162666465653236316331396262326535626238616138303339343566366162
|
||||
37616566356236643330356536326163636139353733306566633061396232653965633336643538
|
||||
35623534653466353366313931626436363835343132666264346664393265663962396661623734
|
||||
62343166623730396665326135626438313539323633643639326631643666376439356136363162
|
||||
35323362303166663666363762373336336361343936643463326335333930616532633738636539
|
||||
62356461313665616630303230343531303061303134623665653961326630616234313237393365
|
||||
33333764393936353663643065366333306234613535303666393236356461613639303461666563
|
||||
38666432393334333739306361393361383635623364393939623231313934373231393733363736
|
||||
62353431333133663136366665616266343933663761393666643938306536356666386132656662
|
||||
61626530626633646566343262313765336531633835303832373861666131363938323838316335
|
||||
34393634333837333937396235383362363039633364666639323831653133363362666163313933
|
||||
30376162613161313331356266356462336166663462626261316633383339616239336564303432
|
||||
37626136333437613261643536613635646261663563616566336232306130393739356564653438
|
||||
62333366326561613962633434336530656639383437666663653938653563613937396566666661
|
||||
39623165393565396338616338383263343031613366656262663436333238353430303930643533
|
||||
63386163303562376438333133333466653230343565653838633964633433363964366361623338
|
||||
37366163313265373661356465623566663466343637636464313836666462303139333864303035
|
||||
35666136336166383138326435333037626138646533383533333063353339343463626636653530
|
||||
39343363393162316533306261363032663033613464386135383037613238353738656633636533
|
||||
38366132353534656436303630623864306331373834323738353462383430663365363561616338
|
||||
38373861636434383036396563323963366362323230323535356666386135386435363731613932
|
||||
38626438343664323832303634323932636561353263633736326438346466613865653438646338
|
||||
66633666353066643262323430383866616364333937333637356536366231376663616563393363
|
||||
64373465616163353361366365373039636162386633643364623039376637646161363134306635
|
||||
63396663663533663534616637633238323963363238323638363131643966636533633131343434
|
||||
38653937386235333833646333303430396533316261636133663539396361353433303030326661
|
||||
36333039316665613734356261343830613137383437393330313737316232636662643830326134
|
||||
32323537323438323661653139343461633462343537323062383662656138626264376532643033
|
||||
36363164316634643432313533323861343536633133376235393434343264383062373538386536
|
||||
64653763326464366562616135393566386666356164613064643532356336366363306337323033
|
||||
39303830363466663366663262653339386666643336393030393432373735663432643130353731
|
||||
33613936653432313862656638353834313331373465323739613561653462653233633833636664
|
||||
32303562383235313436333763626533666330316431303530343065633666336532383830313538
|
||||
32653862333261366130633963363964626362303038653538613630613238626334396461643734
|
||||
30333163356136613166633530663238613763353232623964376363616366613462363561343337
|
||||
66356163346362313932636637383761626561393635386231306565343065363766353534316365
|
||||
33393862336331643137343163383565613135623434356165323530366235393262396533393264
|
||||
61656531366231666635356531336162656262396662306631343332353632616336626662633730
|
||||
32626465656239333033326236656638656139633131313161663330633335343662316432373031
|
||||
62643431333761353833356332653032323639303363343330306335313835393039646166326530
|
||||
39353739656564353861323036343630626430343064616233626534396231663134616163373136
|
||||
63663832363236663066383738636362303231653366306364396137356664666630353161643063
|
||||
37306266356539323732643839633238336432643032373061633337653135633564323436623730
|
||||
39663962356235646332656133663064336131616665333538373062363561346163333133653864
|
||||
66666364376439363962356166323066373361636561653066613039363932613162623966323239
|
||||
65396634616630373239643034376265646233636165646531346237363737373633646539653763
|
||||
38353034613366396635623936313633333231363532396231353463366238666461393131666337
|
||||
33323361633665326436646439303539386661343537356531633664623531386431323437346137
|
||||
31663161666164336365393934363335336337303930306663386333646436353163316334343231
|
||||
39303032303539653938643435623130663361663534393262353433666366373365363966373262
|
||||
30646565363366643432643463363431613466393731373930313537626631303266616562663335
|
||||
32396234336232643763373235336266663936313832353038356136653433376266653037386137
|
||||
66393338653739383230653835353038383462643735663636373537633466386266366564626132
|
||||
64333638396464656461393966663237343436323533393362633363316437326234343265363537
|
||||
34613266633235353534663838643566643262616633633833353064643030383136353235346335
|
||||
35633032313839323261333130346639643736613066323030663632326138303236393633643739
|
||||
62613561346265356561663236636265306536613365666235623239313637336534656535633263
|
||||
36326365393636313431376665656665353232343063663338346235626466636539633038353062
|
||||
31323139353637393932663961313661363561313364313361643866393337383137326563333662
|
||||
33656134303832336331633231623838333536373763363165313863613933353530636465306265
|
||||
64316466306232663035316365383465336232306465343363393066653836663162373230623530
|
||||
37653063373731343836623535626566636366363438613332613238616338353632626630323236
|
||||
64333032333034643235323239373961386430383337643534663562666565326666303564633530
|
||||
3631333938383239333236646361643839373532303762366433
|
104
inventories/group_vars/virt.yml
Normal file
104
inventories/group_vars/virt.yml
Normal file
|
@ -0,0 +1,104 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
66653462306337343432303833396236616634363031633534396665623735633338646661303137
|
||||
6666343230343966356235366462326366303831336636310a396263623363356661353666336435
|
||||
66333934323761663933613137386664346438383635623939373431663661373837333032646161
|
||||
6135373931333031630a313033396561396339376539303363316239356161323466323438333830
|
||||
31336234633763653331366261376365663239303566373434356536653232393730376562333266
|
||||
31373636303165356632346438343735326466343564333139393136383130653936303261623238
|
||||
61323232646131646564396334353839306135633362613266306539363166386234613939366436
|
||||
64303162346466373566326361656432646663376563383636636237386437303037386532653937
|
||||
31393061666439383638316461323730393637616165333066303661383763306435643734616432
|
||||
66656264663734326261396537383531323832393035383439613931633931313230336532623062
|
||||
65306464383766346264336537663562336466623362633030616136373361363663393938366539
|
||||
36313063643639616139393362643164313134366131623363376638653233343237326366373764
|
||||
65373931386331356566636264643731383131643230343164346630313966353463353263653230
|
||||
36613937613734333139393463633265306466643363326265643430353334653339313435643265
|
||||
37303064323161616630653030306131306232376633323835303435643863663063386435366237
|
||||
61366132383862656261323433343833336532386639633133323163386435376261333734383336
|
||||
62333538323731653137333563323566313965633262663837386365333537326566333139396564
|
||||
36346238373630633334636264656631363561313765303839303963633831656463353839373464
|
||||
65353965313062373266633938633734303463346534353538356163373962383239653465613834
|
||||
35353435613135313430663333363733353465366439316635613337623065373339663437656336
|
||||
30323765626662353638393534393763393633306663356265633638653537303134653966366236
|
||||
63313539356635393733643466623236626338386361376661633430393436393265633939303966
|
||||
32643465346135333037666362396137633834616631343139613639363432386565313437376530
|
||||
32353562333538663630383862616439363363303865383164633836363633316262623965303963
|
||||
66363261316661313236623635393238363062616361373766313463363966643564356362346366
|
||||
33623637663366636139653163653561333531663033623235363462633834653665663830626130
|
||||
31386338656532653638393032366530323437393734373932613836313530613731376264393131
|
||||
63353731346432633361396466316534346366636335646131663038643063366535623234383663
|
||||
64636366626664373165646534613063336538336465313863643139373334373532653636363364
|
||||
34323564393536663666656264346530666666633133363662396163633465306535393363653931
|
||||
62333635363230626634333934303165313536306130383838376131303364353336316532663263
|
||||
32393933303139396333353936316262633462656539623638633931666139653566623737316331
|
||||
38366338396361626161343231386335646366383338383133303131636433656330653133626636
|
||||
39653366386166623963616337393135393136393061653963383830393566376434313634376663
|
||||
34383965623733376265623833343363626361363861666639626439636334363830313932346136
|
||||
30643164393162343831653330626536326363633665343533343038646465623264623031376462
|
||||
66313732636138386164383133656436383639353361336435336164356436386662376631333730
|
||||
35346265353836643033336634663464303734356330646365346635643937663362663937353464
|
||||
35613632366463373336663862363338653038376539373837653864656330303036306336303338
|
||||
35393530383431363765323862663934353838316234373930643038653762346134326362636262
|
||||
62316161653933333863336539376332303635343763363335616538346462353336333339353735
|
||||
63333163343761646237386661333763663535386130643937323062326463646437383337336631
|
||||
33646530336561613138303537333461666163373261393736636237633664336364383436616266
|
||||
34656665613037396663303762666336653466363730326466363438663462653462656432313638
|
||||
61316165353962383637303939356165656639316536323038386337333462666233633537303039
|
||||
38363630633838663934646331306532623263343237623762623832373137323061396536363231
|
||||
35363236643964356637313334333865386631613339366635313163313965636537633533666666
|
||||
32363266346666323839313736336464353537323936313661633461316461636665396164323331
|
||||
63396333303931333161373830646661656136383939383262643566343664633766383435353364
|
||||
62306330656337356566306562653032383064653939663236363866633432303863386264356136
|
||||
33626236636132373139353863376666636236363334353332613636336662656161663264363965
|
||||
34623333643235626534613965333062316237353835386430366532653966363832346666613935
|
||||
34356233306562353038346531663734303864373764313866623763613733376664663033356138
|
||||
36313232653562326136643466373464666161646465386438613861633264613937303231306331
|
||||
36373634666266363130376539306532363864383561623236623164313761643066313765363434
|
||||
66303464373732343035653664643262343830343063666538363937633138626262633737323566
|
||||
62383064656262623262303664613764303536653864356330363535353562303234393632313865
|
||||
32363930633138393162333736303234313036383239303031616161626566656561623234623261
|
||||
38623164383863356131643165343965656162633433373462653834653436313861343439306434
|
||||
35356366653665373133396565313833313637343163663836366538373538616563393963306261
|
||||
31613731333863333361373336636335633164343466313732656533393865393163303364623637
|
||||
38383836626537356633346666383435336537396133313363653836323062636433386230363632
|
||||
32333931616639613732636162386466326563653437613533396430633465326564616132356135
|
||||
36663033353939356166326537653062303835343730363035366465623030383430636634376466
|
||||
62643862363565643765643232636364303065323033363439323466633834623064366231613637
|
||||
63633230343065386436386562366333333638336361373131336131633366353533366565343930
|
||||
32343164306434643530613431376230633462303430653432313635666439303036343636623435
|
||||
31386239376139363561343434356164326635633937393663336633613737326461386662366133
|
||||
30633036363630306137356235613631303839633836366537623730623436336666383735373265
|
||||
64383266356631353733616236326163333761333133653466303765613335333232303934633630
|
||||
38393432636632653962356165653730643466636361613633663731353362303230316534643362
|
||||
64616130366330323966306264326335646330336531393037373838376330323862333363636438
|
||||
34653566366437653832643936666461386333616161653038383137623930306539396333353261
|
||||
61303466313430383538633863393930616665343062303038363534363839386263306334336166
|
||||
63653434343338633466643739366263656639363839656361343837366432643433343336343835
|
||||
39323533666566386362386137333064373433623136303631643430663833383532366637386463
|
||||
35386535386132653832646533616261626435633134623230303164393136666130373263373536
|
||||
36623462363634386134666630346263323366326238343566383134653634653065653031643136
|
||||
66336138323764346330353165343136313538613435383632353832326539633139643630643034
|
||||
33643665653339303464306134376161383130363264333435666266323031323930306664303036
|
||||
32363037323435663732393663343666336536613836313835626435653933363131316432353634
|
||||
39306233343362656366626534393162383736326164616563643261343032366134666235613138
|
||||
32366430386133323366376235316236303764623736313435326432636561643166656461363361
|
||||
65373865303933353862623835333739393038616634633639326639336265633430363338376533
|
||||
62313438363764383732626263306633623163626464616231373764346138316466386265373635
|
||||
66376331623365636139663464373963653538323964356466313762303536373661353162343563
|
||||
37613639326430613862323232366337373134306335643939653363623035313337616263306430
|
||||
33346237393164633365643733613435353030373631303436333838386135633162656134343035
|
||||
30303631343230333163633932633631616130623064313530336233623931633061613062393861
|
||||
62663030346530613032623836356663373935313465653632333539303732613433303339366333
|
||||
36346138353764323735333665653832663866356666666338616461646466346338396361393138
|
||||
62313661303763343265383835623834303861613931666636616133333939386264613635326165
|
||||
31653861623661376433666566303834653837316164353636343936623661656564623365323137
|
||||
66663763376365656262386563333463623234643332633666656163353062363662616438666561
|
||||
66636464323665376435366335643363326531613634643534653866333466356330666538373836
|
||||
31363034316662653566646462376264396138386535323833646638616538613031363562323137
|
||||
31646364383462383262366130663066313962396537333032363937313430353935353233623638
|
||||
32336233383632363362336630663365633638653831383531366633643362363637316165343138
|
||||
33313165313535636333353037643939643232663536353831373830616662613935633233316232
|
||||
66323330366331383962326163343735663537646166383636306135333866386261643833303737
|
||||
37383739633530353630643031633535306232323362366363306563393934613264626134383063
|
||||
39303563323537303533363965356633366232626264326130346530383530353266303264363563
|
||||
383833623861633238643031353564326166
|
19
inventories/group_vars/wireguard.yml
Normal file
19
inventories/group_vars/wireguard.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
31336530316165363961633962643337386339633933323037663234633666323766646436626164
|
||||
6564306436623162366333303664323934393735383732380a616662616538313634306237383732
|
||||
36336436653562313933623031643938623064623766383333386333623036363936663965363636
|
||||
6436363965633133630a353834356339613463333064393262623631363735353939376437396238
|
||||
66653061633333303963326639323963316336303066633662633161383633646166343337313037
|
||||
62313461346633636531353833383538343334626139393235313862333430663532366230623039
|
||||
65633034666232306366626462393362366535306538386239653638383536643130396465373964
|
||||
64346466666666313735353934363135306462343864666634643532313037623339313464633432
|
||||
33323966323961386636623061313831353262626634623539376636383033313832653163386561
|
||||
63323639323961323935333538653439376338366132623763386332633864366338373264663462
|
||||
31613962383139303962333839646662366431313965636437656263323166366663373862306463
|
||||
35386537636230613035626635333733623537623638633961383362643734313338313639316630
|
||||
31316630393137383637653537643262623562353561643738356264306131333430373130386162
|
||||
33316234633038353265383037646166643232346337396331636566383037663564306131663030
|
||||
36356163306166313761616366616630653634386533363061383464393833626137303935366661
|
||||
61323333373964626631313065363337356131666132383235393230653262303937633336376532
|
||||
64343130366631316163313862386563633934326332656637393834366264316231616636643736
|
||||
6464313465326664663239636638653863623765306661343932
|
34
inventories/production
Normal file
34
inventories/production
Normal file
|
@ -0,0 +1,34 @@
|
|||
all:
|
||||
children:
|
||||
production:
|
||||
children:
|
||||
wireguard:
|
||||
hosts:
|
||||
wireguard.grote.lan
|
||||
reverseproxy:
|
||||
hosts:
|
||||
reverseproxy-v2.grote.lan:
|
||||
dokuwiki:
|
||||
hosts:
|
||||
dokuwiki2.grote.lan:
|
||||
miniflux:
|
||||
hosts:
|
||||
miniflux.grote.lan:
|
||||
storage:
|
||||
hosts:
|
||||
fileserver2.grote.lan:
|
||||
dns:
|
||||
hosts:
|
||||
pi.hole:
|
||||
acng:
|
||||
hosts:
|
||||
acng.grote.lan:
|
||||
ansible:
|
||||
hosts:
|
||||
ansible.grote.lan:
|
||||
docker:
|
||||
hosts:
|
||||
docker.grote.lan:
|
||||
ovpn:
|
||||
hosts:
|
||||
ovpn.grote.lan:
|
34
inventories/staging
Normal file
34
inventories/staging
Normal file
|
@ -0,0 +1,34 @@
|
|||
all:
|
||||
children:
|
||||
staging:
|
||||
children:
|
||||
wireguard:
|
||||
hosts:
|
||||
wireguard-staging.grote.lan:
|
||||
reverseproxy:
|
||||
hosts:
|
||||
reverseproxy-staging.grote.lan:
|
||||
dokuwiki:
|
||||
hosts:
|
||||
dokuwiki-staging.grote.lan:
|
||||
miniflux:
|
||||
hosts:
|
||||
miniflux-staging.grote.lan:
|
||||
storage:
|
||||
hosts:
|
||||
fileserver-staging.grote.lan:
|
||||
dns:
|
||||
hosts:
|
||||
pihole-staging.grote.lan:
|
||||
acng:
|
||||
hosts:
|
||||
acng-staging.grote.lan:
|
||||
docker:
|
||||
hosts:
|
||||
docker-staging.grote.lan:
|
||||
ansible:
|
||||
hosts:
|
||||
ansible-staging.grote.lan:
|
||||
ovpn:
|
||||
hosts:
|
||||
ovpn-staging.grote.lan:
|
41
inventories/test
Normal file
41
inventories/test
Normal file
|
@ -0,0 +1,41 @@
|
|||
all:
|
||||
children:
|
||||
test:
|
||||
children:
|
||||
wireguard:
|
||||
hosts:
|
||||
wireguard-test.grote.lan:
|
||||
reverseproxy:
|
||||
hosts:
|
||||
reverseproxy-test.grote.lan:
|
||||
dokuwiki:
|
||||
hosts:
|
||||
dokuwiki-test.grote.lan:
|
||||
miniflux:
|
||||
hosts:
|
||||
miniflux-test.grote.lan:
|
||||
storage:
|
||||
hosts:
|
||||
fileserver-test.grote.lan:
|
||||
dns:
|
||||
hosts:
|
||||
pihole-test.grote.lan:
|
||||
acng:
|
||||
hosts:
|
||||
acng-test.grote.lan:
|
||||
ansible:
|
||||
hosts:
|
||||
ansible-test.grote.lan:
|
||||
docker:
|
||||
hosts:
|
||||
docker-test.grote.lan:
|
||||
testeinzeln:
|
||||
hosts:
|
||||
vm-test.grote.lan:
|
||||
lxc-test.grote.lan:
|
||||
ovpn:
|
||||
hosts:
|
||||
ovpn-test.grote.lan:
|
||||
baseimage:
|
||||
hosts:
|
||||
# vorlagebaseimage.grote.lan:
|
13
inventories/virt
Normal file
13
inventories/virt
Normal file
|
@ -0,0 +1,13 @@
|
|||
all:
|
||||
children:
|
||||
virt:
|
||||
children:
|
||||
virtstaging:
|
||||
hosts:
|
||||
pve-staging.grote.lan:
|
||||
virttest:
|
||||
hosts:
|
||||
pve-test.grote.lan:
|
||||
virtproduction:
|
||||
hosts:
|
||||
pve2.grote.lan:
|
7
playbooks/base/0_master.yml
Normal file
7
playbooks/base/0_master.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- hosts: all
|
||||
- import_playbook: 2_packages.yml
|
||||
- import_playbook: 3_base.yml
|
||||
- import_playbook: 4_create_user.yml
|
||||
- import_playbook: 5_personalisierung.yml
|
||||
- import_playbook: 6_haertung.yml
|
38
playbooks/base/1_bootstrap.yml
Normal file
38
playbooks/base/1_bootstrap.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
#############################################################
|
||||
# Wenn das OS ProxMox ist:
|
||||
# vorher PVE-Nag-Buster ausführen
|
||||
# wget https://raw.githubusercontent.com/foundObjects/pve-nag-buster/master/install.sh
|
||||
# bash install.sh
|
||||
# rm install.sh
|
||||
#############################################################
|
||||
- hosts: all
|
||||
become: yes
|
||||
gather_facts: false
|
||||
max_fail_percentage: 20%
|
||||
pre_tasks:
|
||||
- name: install python
|
||||
raw: test -e /usr/bin/python || ( apt update && apt install python -y ) # noqa 301 301
|
||||
- name: erstelle "/etc/sudoers"
|
||||
file:
|
||||
path: /etc/sudoers
|
||||
state: touch
|
||||
# - name: install sudo
|
||||
# raw: test -e /usr/bin/sudo || ( apt update && apt install sudo -y ) # noqa 301 301
|
||||
- name: gather facts
|
||||
setup:
|
||||
|
||||
roles:
|
||||
- { role: nickjj.ansible-user, tags: "ansible-user" }
|
||||
|
||||
vars:
|
||||
### fuer rolle nickjj.ansible-user
|
||||
user_name: "ansible-user"
|
||||
user_generate_ssh_key: true
|
||||
user_local_ssh_key_path: "~/.ssh/id_rsa.pub"
|
||||
user_enable_passwordless_sudo: True
|
||||
|
||||
ansible_user: "mg" # Hier ändern wenn ein anderer Nutzer für die Erstanmeldung verwendet werden soll.
|
||||
ansible_password: "hallowelt"
|
||||
ansible_become_password: "hallowelt"
|
||||
ansible_ssh_common_args: "'-o StrictHostKeyChecking=no'"
|
10
playbooks/base/2_packages.yml
Normal file
10
playbooks/base/2_packages.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- hosts: all
|
||||
serial: 3
|
||||
max_fail_percentage: 20%
|
||||
roles:
|
||||
- { role: mgrote.set_apt_sources, tags: "apt_sources",
|
||||
when: "not 'virt' in group_names" }
|
||||
- { role: mgrote.update_packages, tags: "updates" }
|
||||
- { role: mgrote.install_packages,
|
||||
tags: "install" }
|
6
playbooks/base/3_base.yml
Normal file
6
playbooks/base/3_base.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- hosts: all
|
||||
roles:
|
||||
- { role: mgrote.create_users, tags: "users" }
|
||||
- { role: mgrote.set_timezone, tags: "timezone" }
|
||||
- { role: mgrote.restic, tags: "restic" }
|
12
playbooks/base/4_create_user.yml
Normal file
12
playbooks/base/4_create_user.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
- hosts: all
|
||||
roles:
|
||||
# - { role: nickjj.ansible-user, tags: "ansible-user", become: yes }
|
||||
- { role: mgrote.deploy_ssh_keys, tags: "ssh", become: yes }
|
||||
|
||||
vars:
|
||||
### nickjj.ansible-user
|
||||
user_name: "mg"
|
||||
user_generate_ssh_key: true
|
||||
user_local_ssh_key_path: "~/.ssh/id_rsa.pub"
|
||||
user_enable_passwordless_sudo: True
|
8
playbooks/base/5_personalisierung.yml
Normal file
8
playbooks/base/5_personalisierung.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
- hosts: all
|
||||
roles:
|
||||
- { role: mgrote.motd, tags: "motd" }
|
||||
- { role: mgrote.tmux,
|
||||
tags: "tmux",
|
||||
when: "not 'virt' in group_names" }
|
||||
- { role: mgrote.dotfiles, tags: "dotfiles" }
|
9
playbooks/base/6_haertung.yml
Normal file
9
playbooks/base/6_haertung.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- hosts: all
|
||||
roles:
|
||||
- { role: mgrote.fail2ban, tags: "f2b" }
|
||||
- { role: mgrote.deactivate_ssh_password_login, tags: "ssh" }
|
||||
- { role: oefenweb.ufw, # Regeln werden in den Group/Host-Vars gesetzt
|
||||
tags: "ufw",
|
||||
become: true,
|
||||
when: "not 'virt' in group_names" }
|
10
playbooks/on-off/apt_autoremove.yml
Normal file
10
playbooks/on-off/apt_autoremove.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- hosts: all
|
||||
become: yes
|
||||
serial: 5
|
||||
|
||||
tasks:
|
||||
- name: apt autoremove
|
||||
become: yes
|
||||
apt:
|
||||
autoremove: yes
|
10
playbooks/on-off/apt_update.yml
Normal file
10
playbooks/on-off/apt_update.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- hosts: ovpn
|
||||
become: yes
|
||||
serial: 5
|
||||
|
||||
tasks:
|
||||
- name: update apt cache
|
||||
become: yes
|
||||
apt:
|
||||
update_cache: yes
|
7
playbooks/on-off/cv4pve.yml
Normal file
7
playbooks/on-off/cv4pve.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- hosts: pve2.grote.lan
|
||||
become: yes
|
||||
roles:
|
||||
- { role: mgrote.cv4pve-autosnap, tags: "cv4pve" }
|
||||
vars:
|
||||
cv4pve_vmid: all,-109
|
8
playbooks/on-off/deinstall_cowsay.yml
Normal file
8
playbooks/on-off/deinstall_cowsay.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: cowsay deinstallieren
|
||||
become: yes
|
||||
apt:
|
||||
name: cowsay
|
||||
state: absent
|
14
playbooks/on-off/deinstall_telegraf.yml
Normal file
14
playbooks/on-off/deinstall_telegraf.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: telegraf deinstallieren
|
||||
become: yes
|
||||
apt:
|
||||
name: telegraf
|
||||
state: absent
|
||||
- name: telegraf-repository entfernen
|
||||
become: yes
|
||||
apt_repository:
|
||||
repo: 'deb https://repos.influxdata.com/ubuntu {{ ansible_distribution_release }} stable'
|
||||
state: absent
|
||||
filename: telegraf_repo
|
6
playbooks/on-off/f2b.yml
Normal file
6
playbooks/on-off/f2b.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- hosts: testeinzeln
|
||||
become: yes
|
||||
roles:
|
||||
- { role: mgrote.postfix-gmail, tags: "postfix-gmail" }
|
||||
- { role: mgrote.fail2ban, tags: "f2b" }
|
13
playbooks/on-off/remove_ipmitool.yml
Normal file
13
playbooks/on-off/remove_ipmitool.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- hosts: all
|
||||
become: yes
|
||||
|
||||
tasks:
|
||||
- name: remove Packages
|
||||
become: yes
|
||||
apt:
|
||||
name:
|
||||
- hddtemp
|
||||
- ipmitool
|
||||
- powertop
|
||||
state: absent
|
11
playbooks/on-off/set_dns_resolver.yml
Normal file
11
playbooks/on-off/set_dns_resolver.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
- hosts: dns
|
||||
become: yes
|
||||
|
||||
tasks:
|
||||
- name: Setze DNS-Resolver fuer pihole-*
|
||||
lineinfile:
|
||||
path: /etc/resolv.conf.head
|
||||
line: nameserver 192.168.2.2
|
||||
create: yes
|
||||
backrefs: false
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue