Refactor Ansible Playbooks to add Docker-Portainer deployment

This commit is contained in:
2024-07-30 20:33:40 +08:00
parent 9741508af3
commit 6301da7603
54 changed files with 1273 additions and 0 deletions
@@ -0,0 +1,12 @@
---
# Ansible Playbook to install Talos
- name: Download talosctl for Linux (amd64)
ansible.builtin.get_url:
url: https://github.com/siderolabs/talos/releases/download/{{ talosctl_version }}/talosctl-linux-amd64
dest: /usr/local/bin/talosctl
mode: '0755' # Make the binary executable
register: download_result # Register the result for debugging or verification
- name: Display download result
ansible.builtin.debug:
var: download_result # Display the result of the download task