diff --git a/.local/share/chezmoi/home/dot_local/bin/executable_install-program b/.local/share/chezmoi/home/dot_local/bin/executable_install-program index 03409651..cd6c39d3 100644 --- a/.local/share/chezmoi/home/dot_local/bin/executable_install-program +++ b/.local/share/chezmoi/home/dot_local/bin/executable_install-program @@ -558,7 +558,7 @@ async function installPackageList(packageManager, packages) { if (packageManager === 'appimage') { } else if (packageManager === 'ansible') { for (const role of packages) { - await $`ansible localhost -m include_role -a name=${role}` + await $`ansible localhost -m setup -m include_role -a name=${role} -e ansible_user="$USER"` } } else if (packageManager === 'apk') { await $`sudo apk add ${packages}` diff --git a/.local/share/chezmoi/home/private_dot_config/shell/exports.sh.tmpl b/.local/share/chezmoi/home/private_dot_config/shell/exports.sh.tmpl index 25faf54c..e6c8c5f4 100644 --- a/.local/share/chezmoi/home/private_dot_config/shell/exports.sh.tmpl +++ b/.local/share/chezmoi/home/private_dot_config/shell/exports.sh.tmpl @@ -66,8 +66,8 @@ fi export ANDROID_SDK_HOME="$XDG_DATA_HOME/android-sdk" ### Ansible -export ANSIBLE_CONFIG="$HOME/.local/ansible/ansible.cfg" -export ANSIBLE_HOME="$HOME/.local/ansible" +export ANSIBLE_CONFIG="$XDG_DATA_HOME/ansible/ansible.cfg" +export ANSIBLE_HOME="$XDG_DATA_HOME/ansible" ### Aqua export AQUA_ROOT_DIR="$XDG_DATA_HOME/aqua"