Popravljeni mounti

This commit is contained in:
polz 2023-09-09 22:37:23 +02:00
parent 5de0ac744c
commit 2ebd51ab5a
2 changed files with 53 additions and 0 deletions

View file

@ -53,6 +53,8 @@
- ttf-mscorefonts-installer - ttf-mscorefonts-installer
- libhivex-bin - libhivex-bin
- overlayroot - overlayroot
- nfs-common
- cifs-utils
state: latest state: latest
update_cache: yes update_cache: yes
@ -98,6 +100,51 @@
src: default_keyboard src: default_keyboard
dest: /etc/default/keyboard dest: /etc/default/keyboard
- name: Add mount - C
mount:
boot: true
fstype: ntfs3
src: UUID=A09E30889E30594C
path: /mnt/C
state: mounted
opts: defaults,nofail
- name: Add mount - D
mount:
boot: true
fstype: ntfs3
src: "LABEL=D:"
path: /mnt/D
state: mounted
opts: defaults,nofail
- name: Add mount - F
mount:
boot: true
fstype: ntfs3
src: "LABEL=F:"
path: /mnt/F
state: mounted
opts: defaults,nofail
- name: Add mount - partimag
mount:
boot: true
fstype: nfs
src: "10.32.254.16:/srv/nfs/clonezilla_images"
path: /home/partimag
state: mounted
opts: defaults,nofail
- name: Add mount - ucilnice_d
mount:
boot: true
fstype: cifs
src: "//ucilnicesmb.fri1.uni-lj.si/ucilnice_d"
path: /mnt/ucilnice_d
state: mounted
opts: guest,soft,nofail
- name: Set time to local RTC - name: Set time to local RTC
shell: "timedatectl set-local-rtc 1 --adjust-system-clock" shell: "timedatectl set-local-rtc 1 --adjust-system-clock"

View file

@ -0,0 +1,6 @@
ansible_connection: winrm
ansible_winrm_transport: ntlm
ansible_winrm_server_cert_validation: ignore
ansible_port: 5985
logon_type: interactive
installers: \\ucilnicesmb.fri1.uni-lj.si\ucilnice_d\install