Browse Source

Feste MAC Adresse, Order ~/Projekte der Nutzer liegen im Vagrant Share

master
Christian Aust 1 year ago
parent
commit
ab657ec9a9
4 changed files with 28 additions and 3 deletions
  1. +3
    -0
      .gitignore
  2. +7
    -3
      Projekte/.keep
  3. +18
    -0
      provision/setup_user.yml

+ 3
- 0
.gitignore View File

@ -6,3 +6,6 @@
# Ansible artefacts
*.retry
# User files
/Projekte/user*

skel/Projekte/.keep → Projekte/.keep View File


+ 18
- 0
provision/setup_user.yml View File

@ -23,3 +23,21 @@
owner: "{{ item }}"
group: "{{ group }}"
mode: 0644
- name: Create geany config directory
file:
path: "/vagrant/Projekte/{{ item }}"
state: directory
owner: "{{ item }}"
group: "{{ group }}"
mode: 0775
- name: Create Projekte link
file:
src: "/vagrant/Projekte/{{ item }}"
dest: "/home/{{ item }}/Projekte"
state: link
owner: "{{ item }}"
group: "{{ group }}"
mode: 0775

Loading…
Cancel
Save