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

Fix linting hints

parent a63528ff
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
copy: copy:
src: automatic.conf src: automatic.conf
dest: /etc/dnf/automatic.conf dest: /etc/dnf/automatic.conf
mode: 644 mode: 0644
owner: root owner: root
group: root group: root
when: ansible_distribution == "Fedora" when: ansible_distribution == "Fedora"
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
clone: yes clone: yes
depth: 1 depth: 1
dest: /usr/local/Inovesa dest: /usr/local/Inovesa
version: HEAD version: "HEAD"
- name: cmake Inovesa - name: cmake Inovesa
become: yes become: yes
......
...@@ -7,7 +7,19 @@ ...@@ -7,7 +7,19 @@
- name: install dependencies - name: install dependencies
dnf: 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 state: present
skip_broken: yes skip_broken: yes
become: yes become: yes
......
...@@ -4,12 +4,6 @@ ...@@ -4,12 +4,6 @@
path: "{{ texpath }}/fonts/map/vtex/ua1.ali" path: "{{ texpath }}/fonts/map/vtex/ua1.ali"
register: arial register: arial
# - name: temporary directory
# file:
# path: /tmp/arial
# state: directory
# when: arial.stat.isreg
- name: download uarial - name: download uarial
become: yes become: yes
unarchive: unarchive:
...@@ -17,7 +11,7 @@ ...@@ -17,7 +11,7 @@
dest: /tmp dest: /tmp
creates: /tmp/arial creates: /tmp/arial
remote_src: yes remote_src: yes
when: arial.stat.isreg == false when: not arial.stat.isreg
- name: create missing directories - name: create missing directories
become: yes become: yes
...@@ -33,7 +27,7 @@ ...@@ -33,7 +27,7 @@
- fonts/map/vtex - fonts/map/vtex
- dvips/config - dvips/config
- doc/fonts - doc/fonts
when: arial.stat.isreg == false when: not arial.stat.isreg
notify: notify:
- update latex - update latex
...@@ -47,7 +41,7 @@ ...@@ -47,7 +41,7 @@
- tfm - tfm
- type1 - type1
- vf - vf
when: arial.stat.isreg == false when: not arial.stat.isreg
notify: notify:
- update latex - update latex
...@@ -56,7 +50,7 @@ ...@@ -56,7 +50,7 @@
copy: copy:
src: /tmp/arial/latex/ src: /tmp/arial/latex/
dest: "{{ texpath }}/tex/latex/ua1" dest: "{{ texpath }}/tex/latex/ua1"
when: arial.stat.isreg == false when: not arial.stat.isreg
notify: notify:
- update latex - update latex
...@@ -69,7 +63,7 @@ ...@@ -69,7 +63,7 @@
- { from: "map/ua1.map", to: "dvips/config" } - { from: "map/ua1.map", to: "dvips/config" }
- { from: "map/ua1.map", to: "fonts/map/dvips/ua1" } - { from: "map/ua1.map", to: "fonts/map/dvips/ua1" }
- { from: "map/ua1.ali", to: "fonts/map/vtex" } - { from: "map/ua1.ali", to: "fonts/map/vtex" }
when: arial.stat.isreg == false when: not arial.stat.isreg
notify: notify:
- update latex - update latex
...@@ -81,7 +75,7 @@ ...@@ -81,7 +75,7 @@
with_items: with_items:
- doc/ - doc/
- README - README
when: arial.stat.isreg == false when: not arial.stat.isreg
notify: notify:
- update latex - update latex
...@@ -92,6 +86,6 @@ ...@@ -92,6 +86,6 @@
command: updmap-sys --enable Map ua1.map command: updmap-sys --enable Map ua1.map
args: args:
chdir: "{{ texpath }}" chdir: "{{ texpath }}"
when: arial.stat.isreg == false when: not arial.stat.isreg
notify: notify:
- update latex - update latex
--- ---
- name: Add chmod-daemon to crontab - name: Add chmod daemon to crontab
become: yes become: yes
crontab: cron:
backup: yes backup: yes
disabled: no disabled: no
day: "*" day: "*"
......
--- ---
#- import_tasks: nfsd.yml # - import_tasks: nfsd.yml
#- import_tasks: data.yml # - import_tasks: data.yml
--- ---
- name: Software for dependency installation - name: Software for dependency installation
dnf: 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 state: present
become: yes become: yes
when: ansible_distribution == 'Fedora' 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