Refactor SSH configuration and playbook execution in ansible-apply.yaml

This commit is contained in:
2024-09-24 20:14:45 +02:00
parent 05e0a66919
commit 8a43e2e301
4 changed files with 6 additions and 27 deletions
+4 -4
View File
@@ -10,9 +10,9 @@
nextcloud_home: "/var/lib/nextcloud"
nextcloud_mysql_home: "/var/lib/mysql.nextcloud"
nextcloud_user_id: 33
nextcloud_group_id: 26
mysql_user_id: 999
mysql_group_id: 107
nextcloud_group_id: 33
mysql_user_id: 0
mysql_group_id: 0
tags: always
- name: Create required nextcloud data folder
@@ -32,7 +32,7 @@
ansible.builtin.file:
state: directory
path: "{{ nextcloud_mysql_home }}"
mode: "0750"
mode: "0755"
owner: "{{ mysql_user_id }}"
group: "{{ mysql_group_id }}"
tags: