added next folders for migration

This commit is contained in:
2026-03-10 08:54:22 +01:00
parent 4321b92003
commit 3b69def1b8
7 changed files with 211 additions and 0 deletions

33
playbooks/pi_upgrade.yml Normal file
View File

@@ -0,0 +1,33 @@
- name: Update the Pi OS
hosts: nextcloud
tasks:
- name: call the update role
ansible.builtin.include_role:
name: upgrade_os
tasks_from: pi_update.yml
- name: call the upgrade role
ansible.builtin.include_role:
name: upgrade_os
tasks_from: pi_upgrade.yml
- name: call the restart role
ansible.builtin.include_role:
name: upgrade_os
tasks_from: pi_restart.yml
# tasks:
# - name: create file to write in
# become: false
# command: touch output.txt
#
# - name: get system informations
# become: true
# shell: apt update
# register: os_info
#
# - debug:
# msg: "{{os_info.stdout_lines}}"
#when: inventory_hostname in groups['proxy']