From ace33da1640ef9534ad53bc4a63ec5ae04c7841c Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Mon, 23 Jun 2025 18:46:20 +0300 Subject: [PATCH] update --- .github/workflows/deploy.yml | 57 ++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 152746d..5f3fbca 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,31 +15,32 @@ jobs: # repository: cuqmbr/homelab - name: Clone homelab git repository run: git clone https://git.cuqmbr.xyz/cuqmbr/homelab.git --depth 1 --sparse --branch main --single-branch - - name: Change directory into ansible - run: cd ./homelab/ansible - - name: Run playbook - uses: dawidd6/action-ansible-playbook@v4 - with: - playbook: 20_main_page.yml - directory: ./ansible - # configuration: | - # [defaults] - # callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer - # stdout_callback = yaml - # nocows = false - key: ${{secrets.ANSIBLE_SSH_KEY}} - # inventory: | - # [all] - # example.com - # - # [group1] - # example.com - # known_hosts: | - # example.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl - # vault_password: ${{secrets.VAULT_PASSWORD}} - # requirements: galaxy-requirements.yml - options: | - -u gitea-actions - --ssh-common-args "-o ProxyCommand='ssh -p 22 -W %h:%p -q ${user}@bastion.cuqmbr.home'" - -b --become-method doas - -i inventories/dev/hosts.yml + - run: ls -lR + # - name: Change directory into ansible + # run: cd ./homelab/ansible + # - name: Run playbook + # uses: dawidd6/action-ansible-playbook@v4 + # with: + # playbook: 20_main_page.yml + # directory: ./ansible + # # configuration: | + # # [defaults] + # # callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer + # # stdout_callback = yaml + # # nocows = false + # key: ${{secrets.ANSIBLE_SSH_KEY}} + # # inventory: | + # # [all] + # # example.com + # # + # # [group1] + # # example.com + # # known_hosts: | + # # example.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl + # # vault_password: ${{secrets.VAULT_PASSWORD}} + # # requirements: galaxy-requirements.yml + # options: | + # -u gitea-actions + # --ssh-common-args "-o ProxyCommand='ssh -p 22 -W %h:%p -q ${user}@bastion.cuqmbr.home'" + # -b --become-method doas + # -i inventories/dev/hosts.yml