Commit 72e1f71f authored by julian.gethmann's avatar julian.gethmann

Fix some complains of ansible-lint-3

parent bd2e1923
......@@ -58,7 +58,7 @@
backup: yes
notify: restart sshd
- name: Delete rootlogin-conf by anaconda
- name: Delete anaconda's rootlogin-conf
become: yes
file:
name: /etc/sysconfig/sshd-permitrootlogin
......
......@@ -35,7 +35,7 @@
stat:
path: "/mnt/las-archiv1"
register: lasarchiv1
ignore_errors: True
ignore_errors: True
- name: remount lasarchiv1
mount:
......@@ -48,5 +48,4 @@
when: >
((ansible_default_ipv4.address | ipv4('129.13.238.64/26')) or (ansible_default_ipv6.address | ipv6('2a00:1398:4:8200::/64'))) and
((fstab.changed) and (lasarchiv1.stat.isdir is defined and lasarchiv1.stat.isdir) or ("'Input/output error' in lasarchiv1.stderr"))
......@@ -57,6 +57,7 @@
accept_hostkey: yes
become: yes
register: kit_git
when: tmpdir.path is defined
- name: create tex dir
become: yes
......@@ -64,6 +65,7 @@
path: "{{ texpath }}/tex/latex/KIT"
state: directory
mode: 0755
when: kit_git is defined
- name: copy tex files
become: yes
......@@ -73,6 +75,7 @@
notify:
- update latex
delegate_to: "{{ inventory_hostname }}"
when: kit_git is defined
- name: create doc dir
become: yes
......@@ -80,6 +83,7 @@
path: "{{ texpath }}/doc/latex/KIT"
state: directory
mode: 0755
when: kit_git is defined
- name: copy pdf files
become: yes
......@@ -89,6 +93,7 @@
notify:
- update latex
delegate_to: "{{ inventory_hostname }}"
when: kit_git is defined
# This should be deleted when the Arial task is working
- name: hack Helvetica into KIT styles due to broken font installation
......@@ -106,3 +111,4 @@
tags:
- latex
- kit
when: kit_git is defined
......@@ -72,7 +72,7 @@
name: libglvnd-glx
state: installed
- name:
- name: link libOpenGL
become: yes
file:
dest: /lib64/libOpenGL.so.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment