diff --git a/playbooks/linux/ubuntu-server/deploy_basics.yml b/playbooks/linux/ubuntu-server/deploy_basics.yml index 432a41d..4409067 100644 --- a/playbooks/linux/ubuntu-server/deploy_basics.yml +++ b/playbooks/linux/ubuntu-server/deploy_basics.yml @@ -1,5 +1,6 @@ - name: Install basic features hosts: all + gather_facts: true become: true become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster). diff --git a/playbooks/linux/ubuntu-server/nextcloud_full_deployment/connect_nextcloud_collabora.yml b/playbooks/linux/ubuntu-server/nextcloud_full_deployment/connect_nextcloud_collabora.yml index 8f1cec4..b5920a6 100644 --- a/playbooks/linux/ubuntu-server/nextcloud_full_deployment/connect_nextcloud_collabora.yml +++ b/playbooks/linux/ubuntu-server/nextcloud_full_deployment/connect_nextcloud_collabora.yml @@ -3,9 +3,9 @@ # ================================================================ - name: Bootstrap – ensure acl is installed hosts: nextcloud + gather_facts: true become: true become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster). - gather_facts: false tasks: - name: Update apt cache @@ -23,6 +23,7 @@ # ================================================================ - name: Install richdocuments and configure Office hosts: nextcloud + gather_facts: true become: true become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster). vars_files: diff --git a/playbooks/linux/ubuntu-server/nextcloud_full_deployment/deploy_collabora_code.yml b/playbooks/linux/ubuntu-server/nextcloud_full_deployment/deploy_collabora_code.yml index 6c5a6d2..1238f43 100644 --- a/playbooks/linux/ubuntu-server/nextcloud_full_deployment/deploy_collabora_code.yml +++ b/playbooks/linux/ubuntu-server/nextcloud_full_deployment/deploy_collabora_code.yml @@ -3,9 +3,9 @@ # ================================================================ - name: Bootstrap – ensure acl is installed hosts: collabora_code + gather_facts: true become: true become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster). - gather_facts: false tasks: - name: Update apt cache @@ -23,6 +23,7 @@ # ================================================================ - name: Add Collabore signing key and sources hosts: collabora_code + gather_facts: true become: true become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster). @@ -63,6 +64,7 @@ # ================================================================ - name: Configure Collabora CODE hosts: collabora_code + gather_facts: true become: true become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster). @@ -89,6 +91,7 @@ # ================================================================ - name: Install apache2 and configure reverse proxy with SSL for Collabora CODE hosts: collabora_code + gather_facts: true become: true become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster). diff --git a/playbooks/linux/ubuntu-server/nextcloud_full_deployment/deploy_hardened_nextcloud.yml b/playbooks/linux/ubuntu-server/nextcloud_full_deployment/deploy_hardened_nextcloud.yml index 48f944f..14156bb 100644 --- a/playbooks/linux/ubuntu-server/nextcloud_full_deployment/deploy_hardened_nextcloud.yml +++ b/playbooks/linux/ubuntu-server/nextcloud_full_deployment/deploy_hardened_nextcloud.yml @@ -3,9 +3,9 @@ # ================================================================ - name: Bootstrap – ensure acl is installed hosts: nextcloud + gather_facts: true become: true become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster). - gather_facts: false tasks: - name: Update apt cache @@ -23,6 +23,7 @@ # ================================================================ - name: Install and configure Nextcloud hosts: nextcloud + gather_facts: true become: true become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster). @@ -378,6 +379,7 @@ - name: Harden Nextcloud install hosts: nextcloud + gather_facts: true become: true become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster).