changed name ob webserver role

This commit is contained in:
2025-10-01 14:23:51 +02:00
parent 0318abbfc4
commit 519c7be93d
15 changed files with 0 additions and 0 deletions

View File

@@ -1,29 +0,0 @@
- name: webserver | nextcloud | basic tools
package:
state: latest
name:
- ca-certificates
- apt-transport-https
- software-properties-common
- lsb-release
- ca-certificates
when: ansible_distribution in ["Debian", "Ubuntu", "Linux Mint"]
- name: webserver | nextcloud | prereq | get php repo key
uri:
url: "https://packages.sury.org/php/apt.gpg"
dest: "/etc/apt/trusted.gpg.d/php.gpg"
- name: webserver | nextcloud | prereq | add php repo
lineinfile:
path: "/etc/apt/sources.list.d/php.list"
state: present
line: "deb https://packages.sury.org/php/ {{ ansible_distribution_release | lower }} main"
create: True
- name: webserver | nextcloud | prereq | install php
package:
state: latest
name: "{{ item.package }}"
update_cache: True
with_items: "{{ nextcloud_php_packages }}"