added next folders for migration
This commit is contained in:
33
playbooks/pi_upgrade.yml
Normal file
33
playbooks/pi_upgrade.yml
Normal 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']
|
||||
Reference in New Issue
Block a user