...
 
Commits (3)
......@@ -51,7 +51,6 @@ requst by adding the software name to the list of `extra_software` in the
* admin.yml: tools for administrators
* latex.yml: basic LaTeX installation (Arial not yet) ^1
* kdev.yml: KDevelope (with Python PlugIn) ^1
* jabref.yml: Cross platform BibTeX bibilography software [JabRef](http://www.jabref.org/)
* pycharm.yml: Cross platform Python IDE: [PyCharm](https://www.jetbrains.com/pycharm/) IDE
* chrome.yml: Google Chrome for Fedora (for Adobe Connect usage)
* elegant.yml: elegant (no Pelegant, yet)
......@@ -75,7 +74,7 @@ For developement and testing you should use development branches like `dev-latex
You can check the syntax of the files by running `ansible-playbook --check-syntax filename.yml` (or by using the pre-commit-hook from the Snipplets.
If you just want to install one or many packages you can use `jabref.yml` as a basis.
If you just want to install one or many packages you can use `kdev.yml` as a basis or if it is not interesting for others you might want to add it to your host file instead.
Be aware that the development branches here are not save and the owner might force push to them!
......
......@@ -2,9 +2,10 @@
inventory=hosts
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=60s
remote_user=gethmann
remote_user=root
roles_path=roles
become=False
become_user="root"
become_ask_pass=True
become_method="sudo"
ansible_python_interpreter="/usr/bin/env python3"
......@@ -51,6 +51,8 @@ las-gethmann.las.kit.edu
[kdev] # KDevelope
[jabref]
[zotero]
las113.las.kit.edu
las117.las.kit.edu
las-gethmann.las.kit.edu
......
......@@ -5,3 +5,8 @@
dnf:
name: jabref
state: present
when: (ansible_distribution == "Fedora" and ansible_distribution_major_version <= 28)
- name: UNSUPPORTED
fail:
msg: Jabref is no longer maintained by Fedora! Use zotero instead.
......@@ -32,12 +32,13 @@
state: directory
register: tmpdir
# This should be changed when the Arial task is working
- name: clone git repo
git:
repo: https://git.scc.kit.edu/las/templates/KITlatex.git
repo: "https://git.scc.kit.edu/las-software/15-4-Utilities/KITlatex.git"
dest: "{{ tmpdir.path }}"
clone: yes
version: HEAD
version: helvetica
update: yes
become: yes
register: kit_git
......@@ -50,14 +51,12 @@
- name: copy tex files
become: yes
copy:
src: "{{ item }}"
dest: "{{ texpath }}/tex/latex/KIT/"
remote_src: yes
synchronize:
src: "{{ tmpdir.path }}/tex/latex/KIT"
dest: "{{ texpath }}/tex/latex/KIT"
notify:
- update latex
with_fileglob:
- "{{ tmpdir.path }}/tex/latex/KIT/*"
delegate_to: "{{ inventory_hostname }}"
- name: create doc dir
become: yes
......@@ -67,14 +66,11 @@
- name: copy pdf files
become: yes
copy:
src: "{{ item }}"
dest: "{{ texpath }}/doc/latex/KIT/"
remote_src: yes
synchronize:
src: "{{ tmpdir.path }}/doc/latex/KIT"
dest: "{{ texpath }}/doc/latex/KIT"
notify:
- update latex
with_fileglob:
- "{{ tmpdir.path }}/doc/latex/KIT/*"
# This should be deleted when the Arial task is working
- name: hack Helvetica into KIT styles due to broken font installation
......
---
- name: unarchive zotero
become: yes
unarchive:
src: "{{ zotero_file }}"
dest: /usr/local/Zotero
- name: link zotero
become: yes
file:
src: /usr/local/bin/zotero
dest: /usr/local/Zotero/zotero
zotero_file: Zotero-5.0.59_linux-x86_64.tar.bz2
---
- vars:
ansible_python_interpreter: "/usr/bin/env python3"
when: (ansible_distribution == 'Fedora' and ansible_distribution_version >= 28)
- import_playbook: common.yml
- import_playbook: clients.yml
tags: client
......@@ -23,6 +19,8 @@
- import_playbook: graphics.yml
- import_playbook: latex.yml
tags: latex
- import_playbook: zotero.yml
tags: latex
- import_playbook: kdev.yml
tags: kdev
- import_playbook: pycharm.yml
......@@ -33,14 +31,15 @@
tags: [python, notebook]
- import_playbook: inovesa.yml
tags: inovesa
- import_playbook: jabref.yml
tags: jabref
- import_playbook: ripgrep.yml
tags: ripgrep
- import_playbook: epics.yml
tags: epics
- name: Example playbook sending mail to root
hosts: all
tasks:
- name: send mail to me
mail:
subject: System {{ ansible_hostname }} has been successfully provisioned.
to: Julian Gethmann <gethmann@kit.edu>
......
- hosts: zotero
roles:
- zotero