建立统一 DNS 清单并接管 Samba 静态记录 #49

Merged
panxiao81 merged 3 commits from feat/dns-source-of-truth into main 2026-09-13 15:42:13 +00:00
Showing only changes of commit b390565146 - Show all commits
+14 -1
View File
@@ -50,6 +50,7 @@ jobs:
- name: ansible-lint
run: |
export PATH="$HOME/.local/bin:$PATH"
export ANSIBLE_COLLECTIONS_PATH="$PWD/infrastructure/samba-ad/ansible/collections:/root/.ansible/collections"
rc=0
for p in infrastructure/openbao infrastructure/samba-ad infrastructure/proxmox; do
echo "::group::$p"
@@ -58,7 +59,19 @@ jobs:
done
exit $rc
- name: Test repository-local Ansible collection
collection-test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Install ansible-core
run: |
python3 -m pip install --user --break-system-packages \
--index-url https://pypi.org/simple --quiet uv==0.11.7
export PATH="$HOME/.local/bin:$PATH"
uv tool install ansible-core --quiet
- name: Run ansible-test
working-directory: infrastructure/samba-ad/ansible/collections/ansible_collections/ddupan/homelab
run: |
export PATH="$HOME/.local/bin:$PATH"