added facts gathering for become sudo-rs workaround
This commit is contained in:
+2
-1
@@ -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:
|
||||
|
||||
@@ -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).
|
||||
|
||||
|
||||
+3
-1
@@ -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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user