Commit 063c78a4 authored by julian.gethmann's avatar julian.gethmann Committed by julian.gethmann

Fix linting hints

parent a63528ff
......@@ -20,7 +20,7 @@
copy:
src: automatic.conf
dest: /etc/dnf/automatic.conf
mode: 644
mode: 0644
owner: root
group: root
when: ansible_distribution == "Fedora"
......
......@@ -6,6 +6,6 @@
state: present
when: ansible_distribution == 'Fedora' and (ansible_distribution_major_version|int) == item.key|int
with_dict: "{{ pythonsdds_version }}"
tags:
tags:
- elegant
- python
......@@ -56,7 +56,7 @@
clone: yes
depth: 1
dest: /usr/local/Inovesa
version: HEAD
version: "HEAD"
- name: cmake Inovesa
become: yes
......
......@@ -7,7 +7,19 @@
- name: install dependencies
dnf:
name: ["texlive-a0poster", "texlive-beamer", "texlive-bophook", "texlive-boxedminipage", "texlive-dinbrief", "texlive-hyperref", "texlive-lettrine", "texlive-mathpazo", "texlive-rcs", "texlive-sciposter", "texlive-shadow", "texlive-pgf", "texlive-xcolor",]
name: ["texlive-a0poster",
"texlive-beamer",
"texlive-bophook",
"texlive-boxedminipage",
"texlive-dinbrief",
"texlive-hyperref",
"texlive-lettrine",
"texlive-mathpazo",
"texlive-rcs",
"texlive-sciposter",
"texlive-shadow",
"texlive-pgf",
"texlive-xcolor",]
state: present
skip_broken: yes
become: yes
......
......@@ -4,12 +4,6 @@
path: "{{ texpath }}/fonts/map/vtex/ua1.ali"
register: arial
# - name: temporary directory
# file:
# path: /tmp/arial
# state: directory
# when: arial.stat.isreg
- name: download uarial
become: yes
unarchive:
......@@ -17,7 +11,7 @@
dest: /tmp
creates: /tmp/arial
remote_src: yes
when: arial.stat.isreg == false
when: not arial.stat.isreg
- name: create missing directories
become: yes
......@@ -33,8 +27,8 @@
- fonts/map/vtex
- dvips/config
- doc/fonts
when: arial.stat.isreg == false
notify:
when: not arial.stat.isreg
notify:
- update latex
- name: move afm, tfm, type1, vf dirs
......@@ -42,13 +36,13 @@
copy:
src: "/tmp/arial/{{ item }}/"
dest: "{{ texpath }}/fonts/{{ item }}/urw/arial"
with_items:
with_items:
- afm
- tfm
- type1
- vf
when: arial.stat.isreg == false
notify:
when: not arial.stat.isreg
notify:
- update latex
- name: copy latex dir
......@@ -56,8 +50,8 @@
copy:
src: /tmp/arial/latex/
dest: "{{ texpath }}/tex/latex/ua1"
when: arial.stat.isreg == false
notify:
when: not arial.stat.isreg
notify:
- update latex
- name: copy map dir
......@@ -69,11 +63,11 @@
- { from: "map/ua1.map", to: "dvips/config" }
- { from: "map/ua1.map", to: "fonts/map/dvips/ua1" }
- { from: "map/ua1.ali", to: "fonts/map/vtex" }
when: arial.stat.isreg == false
when: not arial.stat.isreg
notify:
- update latex
- name: copy docu
- name: copy docu
become: yes
copy:
src: "/tmp/arial/{{ item }}"
......@@ -81,7 +75,7 @@
with_items:
- doc/
- README
when: arial.stat.isreg == false
when: not arial.stat.isreg
notify:
- update latex
......@@ -92,6 +86,6 @@
command: updmap-sys --enable Map ua1.map
args:
chdir: "{{ texpath }}"
when: arial.stat.isreg == false
when: not arial.stat.isreg
notify:
- update latex
---
- name: Add chmod-daemon to crontab
- name: Add chmod daemon to crontab
become: yes
crontab:
cron:
backup: yes
disabled: no
day: "*"
......
---
#- import_tasks: nfsd.yml
#- import_tasks: data.yml
# - import_tasks: nfsd.yml
# - import_tasks: data.yml
---
- name: Software for dependency installation
dnf:
name: ["gcc", "gcc-c++", "glibc-devel.x86_64", "openssl-devel", "python-devel", "lapack-devel", "numpy-f2py", "redhat-rpm-config", "python3-tkinter", "libxcrypt-compat"]
name: ["gcc",
"gcc-c++",
"glibc-devel.x86_64",
"openssl-devel",
"python-devel",
"lapack-devel",
"numpy-f2py",
"redhat-rpm-config",
"python3-tkinter",
"libxcrypt-compat"]
state: present
become: yes
when: ansible_distribution == 'Fedora'
......
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