playbook.yml aktualisiert
This commit is contained in:
parent
554a5f96b7
commit
dbc8eb0482
19
playbook.yml
19
playbook.yml
|
@ -7,13 +7,6 @@
|
||||||
# to verify ufw configuration run:
|
# to verify ufw configuration run:
|
||||||
# sudo ufw status verbose
|
# sudo ufw status verbose
|
||||||
tasks:
|
tasks:
|
||||||
- name: link libreoffice to desktop
|
|
||||||
file:
|
|
||||||
src: /usr/share/applications/libreoffice-writer.desktop
|
|
||||||
dest: /home/pruefung/Schreibtisch/test-link.desktop
|
|
||||||
owner: pruefung
|
|
||||||
group: pruefung
|
|
||||||
state: link
|
|
||||||
- name: Install ufw
|
- name: Install ufw
|
||||||
apt: package=ufw state=present
|
apt: package=ufw state=present
|
||||||
|
|
||||||
|
@ -159,18 +152,6 @@
|
||||||
timezone:
|
timezone:
|
||||||
name: Europe/Vienna
|
name: Europe/Vienna
|
||||||
|
|
||||||
- name: copy template for libreoffice
|
|
||||||
copy:
|
|
||||||
src: files/Pruefung.ott
|
|
||||||
dest: /home/pruefung/Pruefung.ott
|
|
||||||
owner: ansible
|
|
||||||
group: ansible
|
|
||||||
mode: '0644'
|
|
||||||
- name: make sure libreoffice uses ower template. spacing, border, font,...
|
|
||||||
ansible.builtin.lineinfile:
|
|
||||||
path: /usr/share/applications/libreoffice-writer.desktop
|
|
||||||
regexp: 'Exec=libreoffice --writer %U'
|
|
||||||
line: Exec=libreoffice --writer %U -n /home/pruefung/Pruefung.ott
|
|
||||||
|
|
||||||
- name: purge some prior installed packages
|
- name: purge some prior installed packages
|
||||||
apt:
|
apt:
|
||||||
|
|
Loading…
Reference in New Issue