aurbis access to /opt
This commit is contained in:
1 parent
26449924b8
commit
2dc4b4443a
7 files changed
+70
-23
No files matched your search
+11
-8
@@ -61,6 +61,13 @@
|
||||
tasks:
|
||||
- name: Update
|
||||
include_tasks: tasks/install_docker_debian.yml
|
||||
- name: Aurbis access to /opt
|
||||
hosts: all
|
||||
become: true
|
||||
remote_user: nerevar
|
||||
tasks:
|
||||
- import_tasks: tasks/aurbis.yml
|
||||
tags: aurbis
|
||||
- name: Add utility scripts
|
||||
hosts: all
|
||||
become: true
|
||||
@@ -110,14 +117,10 @@
|
||||
package:
|
||||
name: [rsync, curl, sqlite3]
|
||||
state: present
|
||||
- name: Normalise /opt app ownership to root:aurbis (top dir only, not recursive)
|
||||
file:
|
||||
path: "/opt/{{ item }}"
|
||||
state: directory
|
||||
owner: root
|
||||
group: aurbis
|
||||
mode: "0775"
|
||||
loop: [nextcloud, hdwiki, gitea, authentik, drone, "hoekveen.net"]
|
||||
- import_tasks: tasks/aurbis_tree.yml
|
||||
vars:
|
||||
tree_path: /opt/hoekveen.net
|
||||
tags: aurbis
|
||||
- import_tasks: tasks/swapfile.yml
|
||||
tags: swap
|
||||
- import_tasks: tasks/nextcloud.yml
|
||||
|
||||
Reference in new issue
Block a user