parent
1971b30139
commit
ace33da164
57
.github/workflows/deploy.yml
vendored
57
.github/workflows/deploy.yml
vendored
@ -15,31 +15,32 @@ jobs:
|
|||||||
# repository: cuqmbr/homelab
|
# repository: cuqmbr/homelab
|
||||||
- name: Clone homelab git repository
|
- name: Clone homelab git repository
|
||||||
run: git clone https://git.cuqmbr.xyz/cuqmbr/homelab.git --depth 1 --sparse --branch main --single-branch
|
run: git clone https://git.cuqmbr.xyz/cuqmbr/homelab.git --depth 1 --sparse --branch main --single-branch
|
||||||
- name: Change directory into ansible
|
- run: ls -lR
|
||||||
run: cd ./homelab/ansible
|
# - name: Change directory into ansible
|
||||||
- name: Run playbook
|
# run: cd ./homelab/ansible
|
||||||
uses: dawidd6/action-ansible-playbook@v4
|
# - name: Run playbook
|
||||||
with:
|
# uses: dawidd6/action-ansible-playbook@v4
|
||||||
playbook: 20_main_page.yml
|
# with:
|
||||||
directory: ./ansible
|
# playbook: 20_main_page.yml
|
||||||
# configuration: |
|
# directory: ./ansible
|
||||||
# [defaults]
|
# # configuration: |
|
||||||
# callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer
|
# # [defaults]
|
||||||
# stdout_callback = yaml
|
# # callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer
|
||||||
# nocows = false
|
# # stdout_callback = yaml
|
||||||
key: ${{secrets.ANSIBLE_SSH_KEY}}
|
# # nocows = false
|
||||||
# inventory: |
|
# key: ${{secrets.ANSIBLE_SSH_KEY}}
|
||||||
# [all]
|
# # inventory: |
|
||||||
# example.com
|
# # [all]
|
||||||
#
|
# # example.com
|
||||||
# [group1]
|
# #
|
||||||
# example.com
|
# # [group1]
|
||||||
# known_hosts: |
|
# # example.com
|
||||||
# example.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl
|
# # known_hosts: |
|
||||||
# vault_password: ${{secrets.VAULT_PASSWORD}}
|
# # example.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl
|
||||||
# requirements: galaxy-requirements.yml
|
# # vault_password: ${{secrets.VAULT_PASSWORD}}
|
||||||
options: |
|
# # requirements: galaxy-requirements.yml
|
||||||
-u gitea-actions
|
# options: |
|
||||||
--ssh-common-args "-o ProxyCommand='ssh -p 22 -W %h:%p -q ${user}@bastion.cuqmbr.home'"
|
# -u gitea-actions
|
||||||
-b --become-method doas
|
# --ssh-common-args "-o ProxyCommand='ssh -p 22 -W %h:%p -q ${user}@bastion.cuqmbr.home'"
|
||||||
-i inventories/dev/hosts.yml
|
# -b --become-method doas
|
||||||
|
# -i inventories/dev/hosts.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user