diff --git a/bash/workflow_nextcloud/ansible/ansible_hosts b/ansible/ansible_hosts similarity index 100% rename from bash/workflow_nextcloud/ansible/ansible_hosts rename to ansible/ansible_hosts diff --git a/bash/workflow_nextcloud/ansible/cronjob_workflow.yml b/ansible/cronjob_workflow.yml similarity index 100% rename from bash/workflow_nextcloud/ansible/cronjob_workflow.yml rename to ansible/cronjob_workflow.yml diff --git a/ansible/inventory.yml b/ansible/inventory.yml new file mode 100644 index 00000000..aec947ed --- /dev/null +++ b/ansible/inventory.yml @@ -0,0 +1,4 @@ +all: + hosts: + proxmox: + ansible_host: proxmox.coussinet.org \ No newline at end of file diff --git a/bash/workflow_nextcloud/ansible/orgcalendar.ics b/ansible/orgcalendar.ics similarity index 100% rename from bash/workflow_nextcloud/ansible/orgcalendar.ics rename to ansible/orgcalendar.ics diff --git a/ansible/riseup.yml b/ansible/riseup.yml new file mode 100644 index 00000000..9e5175bd --- /dev/null +++ b/ansible/riseup.yml @@ -0,0 +1,20 @@ +- name: Connexion à un hôte Proxmox + hosts: proxmox + tasks: + - name: Connect to Proxmox Host + proxmox_kvm: + host: proxmox.coussinet.org + user: username + password: password + register: proxmox_connection + + - name: Check if Git is installed + command: pveversion --version + register: git_version + failed_when: false + + - name: Show Git Version + debug: + msg: "Git Version: {{ git_version.stdout }}" + vars: + git_version: "{{ git_version.stdout }}" \ No newline at end of file diff --git a/bash/workflow_nextcloud/ansible/server_tk_softwares.yml b/ansible/server_tk_softwares.yml similarity index 100% rename from bash/workflow_nextcloud/ansible/server_tk_softwares.yml rename to ansible/server_tk_softwares.yml diff --git a/bash/workflow_nextcloud/ansible/snaps.yml b/ansible/snaps.yml similarity index 100% rename from bash/workflow_nextcloud/ansible/snaps.yml rename to ansible/snaps.yml diff --git a/bash/workflow_nextcloud/ansible/tk_softwares.yml b/ansible/tk_softwares.yml similarity index 100% rename from bash/workflow_nextcloud/ansible/tk_softwares.yml rename to ansible/tk_softwares.yml