3a73ed9583935a7b4c44f222c96276155d05d01b
- hosts: remove unreachable/decommissioned hosts (file-ah-neu, file-ah-alt, file-km-neu, ga-al-gw-neu, gw-opp-neu, zapata-neu, zapata-alt, bbb-server, ki-fm, server28, ...) and duplicate aliases (etherpad = b.ns, cl-irights-neu = cl-irights, oolm-db = o21, devel-ruby = devel-todo). - host_vars: add <short>-ipt-server.yml (fw_manage_config: false) for all hosts running the ipt-server firewall, generated by extract-fw-host-vars.py. - host_vars: move/remove obsolete host directories, replace alias directories by symlinks (cl-lubax -> o32, cl-vbrg -> o34, oolm-db -> o21). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# ====================
# Encrypting content with Ansible Vault
# ====================
# see:
# https://docs.ansible.com/ansible/latest/vault_guide
#
# https://docs.ansible.com/ansible/latest/vault_guide/vault_encrypting_content.html
# ----------
# encrypt / decrypt variables / strings
# ---------
# encrypt string
#
string=nSLIgazSj8DLu2Sy0l
ansible-vault encrypt_string $string && echo
# output of the above command is:
#
!vault |
$ANSIBLE_VAULT;1.1;AES256
33656466386662303431383037386564666466643364376233623261346235363866656438396532
6161373832366430653235343034653166303561383934390a666432356463386461656363303234
61386330643664666539343336313666346261323435386264396137366533626539396434303463
3961666632646337360a666662323063316134623332333239616332343939326331383632646139
66316333653232383764376264616238323861323530343734653564393737386139
# decrypt the encrypted string:
#
echo -e '$ANSIBLE_VAULT;1.1;AES256
33656466386662303431383037386564666466643364376233623261346235363866656438396532
6161373832366430653235343034653166303561383934390a666432356463386461656363303234
61386330643664666539343336313666346261323435386264396137366533626539396434303463
3961666632646337360a666662323063316134623332333239616332343939326331383632646139
66316333653232383764376264616238323861323530343734653564393737386139' | ansible-vault decrypt && echo
# output shoud be:
#
Decryption successful
nSLIgazSj8DLu2Sy0l
# ----------
# encrypt / decrypt file
# ----------
ansible-vault encrypt <file-name>
ansible-vault decrypt <file-name>
Languages
Vim Script
73.1%
Shell
15.5%
Jinja
9%
Python
2.4%