[Ansible] vault ERROR! Unexpected Exception: Odd-length string

ansible-vault view environments/prod/credentials.yml

ERROR! Unexpected Exception: Odd-length string

Решение: В файле неправильный перевод строки. Проверяем это:

file environments/prod/credentials.yml
credentials.yml : ASCII text, with CRLF line terminators

Должно быть:
credentials.yml : ASCII text

Пересохраняем в любом редакторе или
find . -type f -exec dos2unix {} \;

[Ansible] приоритет переменных

role defaults
inventory vars
inventory group_vars
inventory host_vars
playbook group_vars
playbook host_vars
host facts
play vars
play vars_prompt
play vars_files
registered vars
set_facts
role and include vars
block vars (only for tasks in block)
task vars (only for the task)
extra vars (always win precedence)

[ELK] filebeat json

vim /etc/filebeat/filebeat.yml

 

[ELK] filebeat multiline Tomcat

vim /etc/filebeat/filebeat.yml

 

AD администрирование в PowerShell
  • Open Control Panel -> Programs and Features -> Turn On/Off Windows Features
  • Find "Remote Server Administration Tools" and expand it
  • Find "Role Administration Tools" and expand it
  • Find "AD DS And AD LDS Tools" and expand it
  • Check the box next to "Active Directory Module For Windows PowerShell".
  • Click OK and allow Windows to install the feature