d706a4dd461ba9dd050e9df206d67e0af41fdade
/etc/network/if-up.d/resolved and if-down.d/resolved (Debian 12 and 13) use 'return' outside of a function. With /bin/sh -> bash (basic.yml, tag symlink-sh) 'ifup lo' fails and networking.service ends up as 'failed'. Same task file as in ansible/oopen-server: divert both hooks and turn every top-level 'return' into 'exit 0'. Tag: fix-ifupdown-resolved-hook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Create entcypted string
#
# ansible-vault encrypt_string '<string-to-encrypt>' --name 'password'
#
$ ansible-vault encrypt_string 'test100' --name 'password'
password: !vault |
$ANSIBLE_VAULT;1.1;AES256
33663235396237373338323536643030393235323266656333323934663431323531316638383962
3536333065363364653561366464393262663832376339630a353236316431636338373034343566
31373136613434636562353237653230633162613531313466366437663730633931346131396531
3632653737643363350a306435656633343132366461346262623131323337633663363135313563
Languages
Vim Script
96%
Jinja
3.4%
Shell
0.6%