This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Install and configure AD authentication | |
hosts: all | |
become: yes | |
# become_method: sudo | |
vars: | |
domain_for_join: cchgeu | |
fqdn_for_join: cchgeu.ru | |
admin_group: depit-srv_admins | |
full_netdom_join_user: '{{ netdom_join_user }}@{{ fqdn_for_join }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example config file /etc/vsftpd.conf | |
# | |
# The default compiled in settings are fairly paranoid. This sample file | |
# loosens things up a bit, to make the ftp daemon more usable. | |
# Please see vsftpd.conf.5 for all compiled in defaults. | |
# | |
# READ THIS: This example file is NOT an exhaustive list of vsftpd options. | |
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's | |
# capabilities. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- dokuwiki_plugin_name: apexcharts | |
dokuwiki_plugin_url: https://github.com/karl257/dokuwiki-plugin-achart/tarball/master | |
dokuwiki_plugin_dir_name: achart # /var/www/dokuwiki/lib/plugins/achart | |
dokuwiki_plugin_skip_directory_level: 1 # https://unix.stackexchange.com/a/365990 | |
dokuwiki_plugin_web_page: https://www.dokuwiki.org/plugin:achart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# WORK | |
- name: Ping | |
hosts: all | |
strategy: free | |
serial: | |
- "100%" | |
tasks: | |
- name: Ping 4 Windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# WORK | |
# https://marvins.ru/avtomatizaciya/ubuntu-ustanovka-home-assistant.html | |
# https://github.com/home-assistant-ecosystem/home-assistant-ansible | |
- name: Install Home Assistant | |
hosts: all | |
strategy: free | |
serial: | |
- "100%" | |
vars: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Тут ставим не через snap, а классическим способам с настройками баз и т.д. | |
# https://rocket.chat/docs/installation/manual-installation/ubuntu/ | |
- name: Install Rocket.Chat server Classic | |
# hosts: all | |
hosts: rocketchat | |
strategy: free | |
serial: | |
- "100%" | |
roles: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
VM_NAME="test-vm_$(date +%F_%H-%M-%S)" | |
# Если линков 2 и более - надо как-то их выбрать сортировкой или грепом. В общем - только для одного соединения. | |
IFNAME_WHEN_LINK_UP=$(grep up /sys/class/net/*/operstate | cut -d '/' -f 5) | |
# http://unix.stackexchange.com/a/121526 http://serverfault.com/a/224565 | |
# Это чтобы знать где виртуальные винты создавать. | |
DEFAULT_MACHINE_FOLDER="$(vboxmanage list systemproperties | grep 'Default machine folder' | sed 's/ //g' | cut -d ':' -f 2)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# WORK | |
# LANG=ru_RU.UTF-8 | |
# Собираем ГОТОВЫЙ бинарник coredns в пакет для установки с помощью fpm. Он уже должен быть установлен. | |
# https://github.com/jordansissel/fpm | |
# https://fpm.readthedocs.io/en/latest/installing.html | |
MAIN_SERVER="10.10.10.10" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Update soft | |
hosts: all | |
tasks: | |
# http://docs.ansible.com/ansible/latest/win_command_module.html | |
- name: Update Firefox | |
win_command: \\pxe.vgasu.vrn.ru\soft\firefox\FirefoxSetup-amd64.exe -ms | |
- name: Update Notepad++ | |
win_command: \\pxe.vgasu.vrn.ru\soft\notepad-plus-plus\npp.latest.installer.amd64.exe /S |