mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-03 19:58:14 +00:00 
			
		
		
		
	Restructured service und web role naming in inventor
This commit is contained in:
		
							
								
								
									
										34
									
								
								roles/desk-nextcloud-client/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								roles/desk-nextcloud-client/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,34 @@
 | 
			
		||||
- name: Install nextcloud-client
 | 
			
		||||
  community.general.pacman:
 | 
			
		||||
    name: nextcloud-client
 | 
			
		||||
    state: present
 | 
			
		||||
 | 
			
		||||
- name: Link homefolders to cloud
 | 
			
		||||
  ansible.builtin.file:
 | 
			
		||||
    src: "{{cloud_directory}}{{item}}"
 | 
			
		||||
    dest: "{{user_home_directory}}{{item}}"
 | 
			
		||||
    owner: "{{users.client.username}}"
 | 
			
		||||
    group: "{{users.client.username}}"
 | 
			
		||||
    state: link
 | 
			
		||||
    force: yes
 | 
			
		||||
  ignore_errors: true # Just temporary @todo remove
 | 
			
		||||
  loop:
 | 
			
		||||
    - Templates
 | 
			
		||||
    - Documents
 | 
			
		||||
    - Videos
 | 
			
		||||
    - Pictures
 | 
			
		||||
    - Music
 | 
			
		||||
    - Desktop
 | 
			
		||||
    - Software
 | 
			
		||||
    - Downloads
 | 
			
		||||
    - Workspaces
 | 
			
		||||
    - Books
 | 
			
		||||
    - Screenshots
 | 
			
		||||
 | 
			
		||||
- name: Link dump folder
 | 
			
		||||
  ansible.builtin.file:
 | 
			
		||||
    src: "{{cloud_directory}}InstantUpload"
 | 
			
		||||
    dest: "{{user_home_directory}}Dump"
 | 
			
		||||
    owner: "{{users.client.username}}"
 | 
			
		||||
    group: "{{users.client.username}}"
 | 
			
		||||
    state: link
 | 
			
		||||
		Reference in New Issue
	
	Block a user