...
 
Commits (43)
......@@ -18,12 +18,13 @@ dnf install ansible git python3-dnf libselinux-python python3-netaddr
Run
``` bash
git clone clone git@git.scc.kit.edu:las/ansible.git
git clone git@git.scc.kit.edu:las-it-organisation/32-0-IT-InstructionsAndRules/ansible.git
cd ansible
ansible-playbook --ask-become-pass --limit $(hostname -f) --vault-id @prompt site.yml
sudo ansible-playbook --limit $(hostname -f) --vault-id @prompt sites.yml
```
* If you only want some parts of the roles to be run, you can use the option `-t TAGNAME` to run only those tasks with the given tag.
* The vault-password is known to the usual suspects.
### Ask for new software
Open an issue in the GitLab issue tracker and use the template for softwarerequests.
......@@ -46,15 +47,17 @@ requst by adding the software name to the list of `extra_software` in the
* nfs.yml:
* nfs-server: export /las-archiv1 to our network
* lasarchiv: client side mount las126/las-archiv1
* dhcpd.yml: DHCPd primary and secondary server on Fedora
* opera.yml: Cobham's Opera3d (client) ^2 ^3
* admin.yml: tools for administrators
* latex.yml: basic LaTeX installation (Arial not yet) ^1
* kdev.yml: KDevelope (with Python PlugIn) ^1
* pycharm.yml: Cross platform Python IDE: [PyCharm](https://www.jetbrains.com/pycharm/) IDE
* chrome.yml: Google Chrome for Fedora (for Adobe Connect usage)
* dhcpd.yml: DHCPd primary and secondary server on Fedora
* elegant.yml: elegant (no Pelegant, yet)
* inovesa.yml: [Inovesa](https://github.com/Inovesa/Inovesa)
* kdev.yml: KDevelope (with Python PlugIn) ^1
* latex.yml: basic LaTeX installation (Arial not yet) ^1
* opera.yml: Cobham's Opera3d (client) ^2 ^3
* pycharm.yml: Cross platform Python IDE: [PyCharm](https://www.jetbrains.com/pycharm/) IDE
* remmina.yml: remmina a Remote Desktop Protocol (Windows remote) client for e. g. [rds.scc.kit.edu](https://rds.scc.kit.edu)
* ripgrep.yml: ripgrep the better grep
* undulator_control.yml: Install the software stack that is necessary to develop the control system for the JENA TGU experiment
* zotero.yml: A citation management software
......@@ -102,7 +105,7 @@ The prompts `#` show that you are working at root.
* For the host with the hostname `lasXXX.las.kit.edu` do the following
* edit a file ``host_vars/lasXXX.las.kit.edu``
```
las126# ansible-playbook -l lasXXX.las.kit.edu add_ipa_host.yml -k --vault-id @prompt
las126# ansible-playbook -l lasXXX.las.kit.edu add_ipa_host.yml --vault-id @prompt
```
and provide the root password for the new host.
......
......@@ -2,7 +2,7 @@
- hosts: all
remote_user: root
vars:
ipa_host: "las{{ ip_suffix }}.las.kit.edu"
ipa_host: "{{ computer_name }}.las.kit.edu"
ipa_host_ip: "129.13.108.{{ ip_suffix }}"
ipa_domain: las.kit.edu
vars_prompt:
......
......@@ -9,3 +9,7 @@ become_user="root"
become_ask_pass=True
become_method="sudo"
ansible_python_interpreter="/usr/bin/env python3"
gathering = smart
fact_caching = jsonfile
fact_caching_connection = cachedir
fact_caching_timeout = 86400
......@@ -40,7 +40,7 @@ desktop_software:
- perl-Capture-Tiny
# this should be the IP or in the sshd_config the "UseDNS" must be set to yes
ansible_server: 129.13.108.126
ansible_server: 129.13.238.126
# file: group_vars/all/vault.yml
sudoer: "{{ vault_sudoer }}"
......
This diff is collapsed.
---
nfs_server: 129.13.108.126
nfs_server: 129.13.238.126
......@@ -20,6 +20,10 @@ python3pkg:
- cmake
- python3-flake8
- python3-Cython
- nodejs
- nodejs-libs
- kf5-purpose-twitter
- npm
python2pkg: ""
......
......@@ -2,5 +2,5 @@ ansible_user: root
user_account: richter
ip_suffix: 118
loc: 620
os: Fedora 28
computer_name: Amnesix
os: Fedora 29
computer_name: amnesix
ansible_user: root
user_account: gethmann
ip_suffix: 113
ip_suffix: 73
loc: 618
os: Fedora 27
computer_name: Asterix
os: Fedora 29
computer_name: asterix
extra_software:
- subversion # for ANKA software
- borgbackup
- mosh # ssh alternative
# keepass compatible console client
# keepass compatible console client
- kpcli
- perl-Clipboard
- perl-Capture-Tiny
......@@ -18,10 +18,53 @@ extra_software:
- neovim
- ShellCheck
- inkscape-table
# - fd-find
# - fd-find
- ripgrep
- fzf # fuzzy finder
- gsl-devel # Needed to compile Eva Burkhards code
- mupdf # better alternative to pdftk than pdfseparate+pdfunite
- evince # for fixing RIP errors when printing LaTeX posters
- screen
# PDL for undulator/wiggler Opera script
- perl-PDL
# Installing dependencies:
- perl-Devel-Peek
- perl-Inline
- perl-Inline-C
- perl-Pegex
- freeglut
- perl-B-Utils
- perl-Class-Load
- perl-Class-Tiny
- perl-Data-Dump-Streamer
- perl-Devel-OverloadInfo
- perl-Devel-PartialDump
- perl-Devel-REPL
- perl-Devel-REPL-Plugin-Completion
- perl-Devel-REPL-Plugin-DDS
- perl-Devel-REPL-Plugin-LexEnv
- perl-Devel-REPL-Plugin-MultiLine-PPI
- perl-File-HomeDir
- perl-File-Map
- perl-Filter-Simple
- perl-Getopt-Long-Descriptive
- perl-IPC-System-Simple
- perl-Lexical-Persistence
- perl-Module-Compile
- perl-Module-Pluggable
- perl-Moose
- perl-MooseX-Getopt
- perl-MooseX-Object-Pluggable
- perl-MooseX-Role-Parameterized
- perl-OpenGL
- perl-PPI
- perl-Parse-RecDescent
- perl-PerlIO-Layers
- perl-Pod-Parser
- perl-Prima
- perl-Text-Balanced
- perl-YAML-LibYAML
- perl-autodie
# Installing weak dependencies:
- perl-Text-Bidi
# End of PDL
ansible_user: root
user_account: widmann
ip_suffix: 112
loc: 618
os: Fedora 28
computer_name: Gutemine
computer_name: gutemine
extra_software:
- subversion # ANKA software
......
......@@ -3,4 +3,7 @@ user_account: damminsek
ip_suffix: 117
loc: 620
os: Fedora 27
computer_name: Idefix
computer_name: idefix
extra_software:
- mupdf
ansible_user: root
ansible_ssh_user: root
ansible_remote_user: gethmann
remote_user: gethmann
ip_suffix: 100
loc: 612
os: CentOS 7.4
computer_name: kantine
ansible_user: bernhard
user_account: bernhard
ip_suffix: 127
ip_suffix: 70
loc: 622
os: Fedora 27
computer_name: Majestix
os: Fedora 29
computer_name: majestix
......@@ -2,8 +2,8 @@ ansible_user: root
user_account: gethmann
ip_suffix: 126
loc: 618
os: Fedora 27
computer_name: Obelix
os: Fedora 29
computer_name: obelix
extra_software:
- borgbackup
......@@ -3,7 +3,7 @@ user_account: ning
ip_suffix: 115
loc: 619
os: Fedora 29
computer_name: Costa Y Bravo
computer_name: pepe
extra_software:
- python-qt5
......
......@@ -3,5 +3,5 @@ ansible_user: root
user_account: rossmanith
ip_suffix: 116
loc: 619
os: Fedora 27
computer_name: Spürnix
os: Fedora 29
computer_name: spuernix
......@@ -3,4 +3,4 @@ user_account: tong
ip_suffix: 120
loc: 621
os: Fedora 28
computer_name: Teefax
computer_name: teefax
# stable
[clients]
las112.las.kit.edu
las113.las.kit.edu
las115.las.kit.edu
las116.las.kit.edu
las117.las.kit.edu
las118.las.kit.edu
las120.las.kit.edu
# las122.las.kit.edu
las126.las.kit.edu
las-gethmann.las.kit.edu
gutemine.las.kit.edu
asterix.las.kit.edu
pepe.las.kit.edu
spuernix.las.kit.edu
idefix.las.kit.edu
amnesix.las.kit.edu
teefax.las.kit.edu
obelix.las.kit.edu
lysander.las.kit.edu
majestix.las.kit.edu
[desktop]
las112.las.kit.edu
las113.las.kit.edu
las115.las.kit.edu
las116.las.kit.edu
las117.las.kit.edu
las118.las.kit.edu
las120.las.kit.edu
# las122.las.kit.edu
las-gethmann.las.kit.edu
gutemine.las.kit.edu
asterix.las.kit.edu
pepe.las.kit.edu
spuernix.las.kit.edu
idefix.las.kit.edu
amnesix.las.kit.edu
teefax.las.kit.edu
lysander.las.kit.edu
majestix.las.kit.edu
[graphics]
las113.las.kit.edu
las-gethmann.las.kit.edu
las118.las.kit.edu
asterix.las.kit.edu
lysander.las.kit.edu
amnesix.las.kit.edu
[lasarchiv]
las113.las.kit.edu
las115.las.kit.edu
las117.las.kit.edu
las118.las.kit.edu
las120.las.kit.edu
las122.las.kit.edu
las126.las.kit.edu
las127.las.kit.edu
las-gethmann.las.kit.edu
asterix.las.kit.edu
pepe.las.kit.edu
idefix.las.kit.edu
amnesix.las.kit.edu
teefax.las.kit.edu
obelix.las.kit.edu
majestix.las.kit.edu
lysander.las.kit.edu
[python]
las112.las.kit.edu
las113.las.kit.edu
las115.las.kit.edu
las117.las.kit.edu
las118.las.kit.edu
las120.las.kit.edu
las122.las.kit.edu
las-gethmann.las.kit.edu
gutemine.las.kit.edu
asterix.las.kit.edu
pepe.las.kit.edu
idefix.las.kit.edu
amnesix.las.kit.edu
teefax.las.kit.edu
lysander.las.kit.edu
[kdev] # KDevelope
[jabref]
[zotero]
las113.las.kit.edu
las117.las.kit.edu
las-gethmann.las.kit.edu
asterix.las.kit.edu
idefix.las.kit.edu
lysander.las.kit.edu
gutemine.las.kit.edu
[pynaff]
las-gethmann.las.kit.edu
las113.las.kit.edu
las126.las.kit.edu
lysander.las.kit.edu
asterix.las.kit.edu
obelix.las.kit.edu
[pycharm]
las-gethmann.las.kit.edu
las113.las.kit.edu
las115.las.kit.edu
las117.las.kit.edu
lysander.las.kit.edu
asterix.las.kit.edu
pepe.las.kit.edu
idefix.las.kit.edu
[chrome]
las-gethmann.las.kit.edu
lysander.las.kit.edu
[rdp]
gutemine.las.kit.edu
asterix.las.kit.edu
amnesix.las.kit.edu
[latex]
las112.las.kit.edu
las-gethmann.las.kit.edu
las113.las.kit.edu
las115.las.kit.edu
las117.las.kit.edu
las118.las.kit.edu
las120.las.kit.edu
gutemine.las.kit.edu
lysander.las.kit.edu
asterix.las.kit.edu
pepe.las.kit.edu
idefix.las.kit.edu
amnesix.las.kit.edu
teefax.las.kit.edu
[opera]
las113.las.kit.edu
las115.las.kit.edu
las117.las.kit.edu
las126.las.kit.edu
las127.las.kit.edu
asterix.las.kit.edu
amnesix.las.kit.edu
idefix.las.kit.edu
obelix.las.kit.edu
majestix.las.kit.edu
[mad8]
# depercated for Fedora >=26
[nfs-server]
las126.las.kit.edu
obelix.las.kit.edu
# developement
[dhcpd]
las101.las.kit.edu
las126.las.kit.edu
[lab]
# las93.las.kit.edu
[rpmbuild]
las113.las.kit.edu
las-gethmann.las.kit.edu
asterix.las.kit.edu
lysander.las.kit.edu
[elegant]
las113.las.kit.edu
las117.las.kit.edu
las126.las.kit.edu
las-gethmann.las.kit.edu
asterix.las.kit.edu ansible_python_interpreter=/usr/bin/python3
idefix.las.kit.edu ansible_python_interpreter=/usr/bin/python3
obelix.las.kit.edu ansible_python_interpreter=/usr/bin/python3
lysander.las.kit.edu ansible_python_interpreter=/usr/bin/python3
majestix.las.kit.edu ansible_python_interpreter=/usr/bin/python3
[epics]
las112.las.kit.edu
las113.las.kit.edu
las115.las.kit.edu
las117.las.kit.edu
las-gethmann.las.kit.edu
gutemine.las.kit.edu
asterix.las.kit.edu
pepe.las.kit.edu
idefix.las.kit.edu
lysander.las.kit.edu
majestix.las.kit.edu
[ripgrep]
las101.las.kit.edu
las113.las.kit.edu
las-gethmann.las.kit.edu
asterix.las.kit.edu
lysander.las.kit.edu
[inovesa]
las113.las.kit.edu
asterix.las.kit.edu
[ipynb] # Jupyter notebook
las117.las.kit.edu
las120.las.kit.edu
las122.las.kit.edu
las-gethmann.las.kit.edu
idefix.las.kit.edu
teefax.las.kit.edu
lysander.las.kit.edu
# semi stable
[tgu]
las115.las.kit.edu
pepe.las.kit.edu
[local]
127.0.0.1 ansible_connection=local
[admin_pcs]
las101.las.kit.edu
las113.las.kit.edu
las-gethmann.las.kit.edu
asterix.las.kit.edu
lysander.las.kit.edu
[server]
las101.las.kit.edu
- hosts: rdp
roles:
- rdp
......@@ -41,7 +41,7 @@ ErrorPolicy stop-printer
UUID urn:uuid:c20b481d-848e-30e6-5eab-8ba9fb397809
Info Oki MC851(PS)
Location Library
DeviceURI socket://129.13.108.106/
DeviceURI socket://oki.las.kit.edu/
State Idle
StateTime 1414591314
Type 8433756
......
[commands]
# What kind of upgrade to perform:
# default = all available upgrades
# security = only the security upgrades
upgrade_type = security
random_sleep = 0
# To just receive updates use dnf-automatic-notifyonly.timer
# Whether updates should be downloaded when they are available, by
# dnf-automatic.timer. notifyonly.timer, download.timer and
# install.timer override this setting.
download_updates = yes
# Whether updates should be applied when they are available, by
# dnf-automatic.timer. notifyonly.timer, download.timer and
# install.timer override this setting.
apply_updates = yes
[emitters]
# Name to use for this system in messages that are emitted. Default is the
# hostname.
# system_name = my-host
# How to send messages. Valid options are stdio, email and motd. If
# emit_via includes stdio, messages will be sent to stdout; this is useful
# to have cron send the messages. If emit_via includes email, this
# program will send email itself according to the configured options.
# If emit_via includes motd, /etc/motd file will have the messages. if
# emit_via includes command_email, then messages will be send via a shell
# command compatible with sendmail.
# Default is email,stdio.
# If emit_via is None or left blank, no messages will be sent.
emit_via = stdio,motd
[email]
# The address to send email messages from.
email_from = root@localhost
# List of addresses to send messages to.
email_to = root
# Name of the host to connect to to send email messages.
email_host = localhost
[command]
# The shell command to execute. This is a Python format string, as used in
# str.format(). The format function will pass a shell-quoted argument called
# `body`.
# command_format = "cat"
# The contents of stdin to pass to the command. It is a format string with the
# same arguments as `command_format`.
# stdin_format = "{body}"
[command_email]
# The shell command to use to send email. This is a Python format string,
# as used in str.format(). The format function will pass shell-quoted arguments
# called body, subject, email_from, email_to.
# command_format = "mail -s {subject} -r {email_from} {email_to}"
# The contents of stdin to pass to the command. It is a format string with the
# same arguments as `command_format`.
# stdin_format = "{body}"
# The address to send email messages from.
email_from = root@localhost
# List of addresses to send messages to.
email_to = root
[base]
# This section overrides dnf.conf
# Use this to filter DNF core messages
debuglevel = 1
-----BEGIN CERTIFICATE-----
MIIKcjCCCVqgAwIBAgIMIKiiExs4FR9L2Kp4MA0GCSqGSIb3DQEBCwUAMHsxCzAJ
BgNVBAYTAkRFMRswGQYDVQQIDBJCYWRlbi1XdWVydHRlbWJlcmcxEjAQBgNVBAcM
CUthcmxzcnVoZTEqMCgGA1UECgwhS2FybHNydWhlIEluc3RpdHV0ZSBvZiBUZWNo
bm9sb2d5MQ8wDQYDVQQDDAZLSVQtQ0EwHhcNMTkwMzEzMTU0MDU0WhcNMjEwNjE0
MTU0MDU0WjCBhDELMAkGA1UEBhMCREUxGzAZBgNVBAgMEkJhZGVuLVd1ZXJ0dGVt
YmVyZzESMBAGA1UEBwwJS2FybHNydWh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YA
RKQ=
-----END CERTIFICATE-----
subject= /C=DE/O=Verein zur Foerderung eines Deutschen Forschungsnetzes e. V./OU=DFN-PKI/CN=DFN-Verein Certification Authority 2
-----BEGIN CERTIFICATE-----
MIIFEjCCA/qgAwIBAgIJAOML1fivJdmBMA0GCSqGSIb3DQEBCwUAMIGCMQswCQYD
VQQGEwJERTErMCkGA1UECgwiVC1TeXN0ZW1zIEVudGVycHJpc2UgU2VydmljZXMg
R21iSDEfMB0GA1UECwwWVC1TeXN0ZW1zIFRydXN0IENlbnRlcjElMCMGA1UEAwwc
VC1UZWxlU2VjIEdsb2JhbFJvb3QgQ2xhc3MgMjAeFw0xNjAyMjIxMzM4MjJaFw0z
MTAyMjIyMzU5NTlaMIGVMQswCQYDVQQGEwJERTFFMEMGA1UEChM8VmVyZWluIHp1
ciBGb2VyZGVydW5nIGVpbmVzIERldXRzY2hlbiBGb3JzY2h1bmdzbmV0emVzIGUu
IFYuMRAwDgYDVQQLEwdERk4tUEtJMS0wKwYDVQQDEyRERk4tVmVyZWluIENlcnRp
ZmljYXRpb24gQXV0aG9yaXR5IDIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
AoIBAQDLYNf/ZqFBzdL6h5eKc6uZTepnOVqhYIBHFU6MlbLlz87TV0uNzvhWbBVV
dgfqRv3IA0VjPnDUq1SAsSOcvjcoqQn/BV0YD8SYmTezIPZmeBeHwp0OzEoy5xad
rg6NKXkHACBU3BVfSpbXeLY008F0tZ3pv8B3Teq9WQfgWi9sPKUA3DW9ZQ2PfzJt
8lpqS2IB7qw4NFlFNkkF2njKam1bwIFrEczSPKiL+HEayjvigN0WtGd6izbqTpEp
PbNRXK2oDL6dNOPRDReDdcQ5HrCUCxLx1WmOJfS4PSu/wI7DHjulv1UQqyquF5de
M87I8/QJB+MChjFGawHFEAwRx1npAgMBAAGjggF0MIIBcDAOBgNVHQ8BAf8EBAMC
AQYwHQYDVR0OBBYEFJPj2DIm2tXxSqWRSuDqS+KiDM/hMB8GA1UdIwQYMBaAFL9Z
IDYAeaCgImuM1fJh0rgsy4JKMBIGA1UdEwEB/wQIMAYBAf8CAQIwMwYDVR0gBCww
KjAPBg0rBgEEAYGtIYIsAQEEMA0GCysGAQQBga0hgiweMAgGBmeBDAECAjBMBgNV
HR8ERTBDMEGgP6A9hjtodHRwOi8vcGtpMDMzNi50ZWxlc2VjLmRlL3JsL1RlbGVT
ZWNfR2xvYmFsUm9vdF9DbGFzc18yLmNybDCBhgYIKwYBBQUHAQEEejB4MCwGCCsG
AQUFBzABhiBodHRwOi8vb2NzcDAzMzYudGVsZXNlYy5kZS9vY3NwcjBIBggrBgEF
BQcwAoY8aHR0cDovL3BraTAzMzYudGVsZXNlYy5kZS9jcnQvVGVsZVNlY19HbG9i
YWxSb290X0NsYXNzXzIuY2VyMA0GCSqGSIb3DQEBCwUAA4IBAQCHC/8+AptlyFYt
1juamItxT9q6Kaoh+UYu9bKkD64ROHk4sw50unZdnugYgpZi20wz6N35at8yvSxM
R2BVf+d0a7Qsg9h5a7a3TVALZge17bOXrerufzDmmf0i4nJNPoRb7vnPmep/11I5
LqyYAER+aTu/de7QCzsazeX3DyJsR4T2pUeg/dAaNH2t0j13s+70103/w+jlkk9Z
PpBHEEqwhVjAb3/4ru0IQp4e1N8ULk2PvJ6Uw+ft9hj4PEnnJqinNtgs3iLNi4LY
2XjiVRKjO4dEthEL1QxSr2mMDwbf0KJTi1eYe8/9ByT0/L3D/UqSApcb8re2z2WK
GqK1chk5
-----END CERTIFICATE-----
subject= /C=DE/O=T-Systems Enterprise Services GmbH/OU=T-Systems Trust Center/CN=T-TeleSec GlobalRoot Class 2
-----BEGIN CERTIFICATE-----
MIIDwzCCAqugAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UEBhMCREUx
KzApBgNVBAoMIlQtU3lzdGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAd
BgNVBAsMFlQtU3lzdGVtcyBUcnVzdCBDZW50ZXIx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PJslJj0Ys6lDfMjIq2SPDqO/nBudMNva0Bkuqjzx+zOAduTNrRlP
BSeOE6Fuwg==
-----END CERTIFICATE-----
......@@ -78,3 +78,10 @@
service:
name: smartd
state: restarted
- name: enable automatic
become: yes
service:
name: dnf-automatic.timer
state: started
enabled: yes
---
- name: copy certificate to the hosts
become: yes
copy:
src: web.las.pub
dest: /etc/pki/ca-trust/source/anchors/web.las.pem
notify:
- "update-ca-trust"
......@@ -26,5 +26,4 @@
- name: set hostname
become: yes
hostname:
name: "las{{ ip_suffix }}.las.kit.edu"
name: "{{ computer_name }}.las.kit.edu"
......@@ -7,9 +7,8 @@
- import_tasks: sudoer.yml
- import_tasks: sysupdate.yml
- import_tasks: ntp.yml
- import_tasks: yumrepos.yml
tags: lasrepo
- import_tasks: software.yml
- import_tasks: smartd.yml
tags: smartd
- import_tasks: sysrq.yml
- import_tasks: certificate.yml
---
- name: Updating the system
become: yes
package: name=* state=latest
package:
name: "*"
state: latest
tags:
- skip_ansible_lint
when: ansible_distribution != "Ubuntu"
- name: install autoupdate for Fedora
become: yes
package:
name: "dnf-automatic"
state: installed
when: ansible_distribution == "Fedora"
- name: configure autoupdate
become: yes
copy:
src: automatic.conf
dest: /etc/dnf/automatic.conf
mode: 644
owner: root
group: root
when: ansible_distribution == "Fedora"
notify:
- enable automatic
This diff is collapsed.
export MPIR_CVAR_CH3_PORT_RANGE=10000:10100
export PATH=/usr/lib64/mpich/bin:"${PATH}"
export HYDRA_HOST_FILE=~/.mpihosts
export RPN_DEFNS=~/.defns.rpn
export RPN_DEFNS=/usr/local/share/defns.rpn
#!/bin/bash
# bash >= 4 required
# This script assumes to be run only once per day and overwrites files
# It also shouldn't be run for different hosts in parallel
# Search the "Edit"-line
#
# - This script has not been tested so far
# - Mounting via sshfs is not included yet
set -euo pipefail
IFS=$'\n\t'
############################################################
# Edit:
declare -A host_cpus=( ["129.13.108.79"]="3" ["129.13.108.113"]="6" )
############################################################
# main_host=$(hostname -f)
main_host=$(ip -br -4 addr|\
grep '129.13.108.'|\
awk '{print $3}'|\
cut -d"/" -f1)
printf "Generating SSH keys\n"
filename=~/.ssh/"id_Pelegant_$(date --iso)"
ssh-keygen -q -t ed25519 -o -f "${filename}" -C "Pelegant run from ${main_host} at $(date)"
printf "Creating mpihosts file\n"
if [ -f ~/.mpihosts ]; then
/usr/bin/mv ~/.mpihosts ~/.mpihosts.$(date --iso)
fi
for host in "${!host_cpus[@]}"; do
printf "%s:%s user=%s\n", "${host}" "${host_cpus[$host]}" "${USER}" >> ~/.mpihosts
done
printf "Copying files and mounting SSHFS\n"
for host in "${!host_cpus[@]}"; do
printf "SSH copy from %s to %s (%s)", "${main_host}" "${host}" "${filename}"
scp "${filename}" "${host}:~/.ssh/"
scp "${filename}.pub" "${host}:~/.ssh/"
ssh-copy-id -i "${filename}" "${host}"
ssh-copy-id -i "${filename}" "${main_host}"
scp ~/.mpihosts "${host}:.mpihosts"
curdir=${PWD}
ssh -i "${filename}" "${host}"\
"mkdir ${curdir} && "\
"sshfs ${main_host}:${curdir} ${curdir} -o IdentityFile=\"${filename}\""
done
---
- name: "BLAS (needed by elegant)"
become: yes
dnf:
name: "{{ prePelegant }}"
state: present
tags: pelegant
- name: ansible dependencies for firewalld
become: yes
dnf:
name: ["python3-decorator", "python3-slip", "python3-firewall"]
state: present
tags: pelegant
- name: Pelegant open ports
become: yes
firewalld:
state: enabled
permanent: true
rich_rule: 'rule family="ipv4" source address="129.13.238.64/24" port port="10000-10100" protocol="tcp" accept'
notify:
- reload firewall
- restart firewall
tags: pelegant
- name: Pelegant open ports
become: yes
firewalld:
state: disabled
permanent: true
rich_rule: 'rule family="ipv4" source address="129.13.108.64/24" port port="10000-10100" protocol="tcp" accept'
notify:
- reload firewall
- restart firewall
tags: pelegant
- name: export variable
become: yes
copy:
src: mpich.sh
dest: /etc/profile.d/pelegant.sh
group: root
owner: root
backup: yes
notify: run profiled
tags: pelegant
- name: install sshfs
become: yes
dnf:
name: ["fuse-sshfs"]
state: present
tags: pelegant
......@@ -33,9 +33,8 @@
- name: install sddstoolkit dependencies
become: yes
dnf:
name: "{{ item }}"
name: "{{ preSDDSdev }}"
state: present
with_items: "{{ preSDDSdev }}"
when: ansible_distribution == 'Fedora'
tags:
- elegant
......
---
# - import_tasks: blas.yml
- import_tasks: blas.yml
- import_tasks: elegant.yml
- import_tasks: examples.yml
# - import_tasks: pyhonsdds.yml
- import_tasks: pythonsdds.yml
---
- name: install SDDS for Python 3
become: yes
dnf:
name: "http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/SDDSPython3-{{ item.value }}.{{ ansible_distribution|lower }}.{{ ansible_distribution_major_version }}.{{ ansible_architecture }}.rpm"
state: present
when: ansible_distribution == 'Fedora' and (ansible_distribution_major_version|int) == item.key|int
with_dict: "{{ pythonsdds_version }}"
tags:
- elegant
- python
......@@ -20,19 +20,25 @@ oagtcltk_version:
defns_path: /usr/local/share/defns.rpn
prePelegant:
- mpich
- mpich-devel
- blas
- blas-devel
- "mpich"
- "mpich-devel"
- "blas"
- "blas-devel"
- "gsl"
- "lapack"
preSDDSdev:
- libXpm-devel
- ncurses-devel
# ln -s /usr/bin/gcc /usr/bin/g++
- zlib-devel
- readline-devel
- motif
- "libXpm-devel"
- "ncurses-devel"
# "ln -s /usr/bin/gcc /usr/bin/g++"
- "zlib-devel"
- "readline-devel"
- "motif"
preElegantExamples:
- tcl
- tcsh
pythonsdds_version:
29: 4.0-1
28: 4.0-1
......@@ -16,15 +16,8 @@
- name: ensure gcc is installed
become: yes
dnf:
name: "{{ item }}"
name: ["gcc", "gcc-c++", "readline-devel", "perl-ExtUtils-ParseXS", "perl-Pod-Checker", "perl-devel"]
state: installed
with_items:
- gcc
- gcc-c++
- readline-devel
- perl-ExtUtils-ParseXS
- perl-Pod-Checker
- perl-devel
- name: make links
become: yes
......
......@@ -2,21 +2,18 @@
# THIS ROLE IS NOT IDEMPOTENT, but just for installation!
- name: install host
become: yes
dnf:
name: "{{ item }}"
package:
name: ["freeipa-client", "sssd"]
state: installed
with_items:
- "freeipa-client"
- "sssd"
- name: add ipa hosts to etc
become: yes
lineinfile:
line: "{{ ipa_host_ip }} {{ ipa_host }}"
path: /etc/hosts
state: present
backup: yes
insertbefore: BOF
# - name: add ipa hosts to etc
# become: yes
# lineinfile:
# line: "{{ ipa_host_ip }} {{ ipa_host }}"
# path: /etc/hosts
# state: present
# backup: yes
# insertbefore: BOF
# TODO
# - name: copy server cert
......@@ -28,7 +25,7 @@
- name: set hostname
become: yes
hostname:
name: "las{{ ip_suffix }}.las.kit.edu"
name: "{{ computer_name }}.las.kit.edu"
# This is not idempotent!
- name: add host
......@@ -58,5 +55,5 @@
- name: activate host
become: yes
command: "ipa-client-install --hostname={{ ansible_fqdn }} --domain={{ ipa_domain }} --server={{ ipaserver1 }} --server={{ ipaserver2 }} --server={{ ipaserver3 }} --fixed-primary --mkhomedir -N --no-sshd --no-ssh -U --password={{ random_pass.stdout }}"
command: "ipa-client-install --hostname={{ ansible_fqdn }} --mkhomedir -N -U --password={{ random_pass.stdout }}"
when: random_pass.changed
......@@ -28,7 +28,7 @@
opts: "soft,timeo=14,intr,nosuid"
state: "{{ item }}"
become: yes
when: ansible_default_ipv4.address | ipaddr('129.13.108.64/26')
when: (ansible_default_ipv4.address | ipaddr('129.13.108.64/26')) or (ansible_default_ipv4.address | ipaddr('129.13.238.64/26'))
with_items:
- mounted
- present
......@@ -7,29 +7,23 @@
- name: install dependencies
dnf:
name: "{{ item }}"
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
- name: install dependencies
dnf:
name: "{{ kit_tikz }}"
state: present
skip_broken: yes
become: yes
with_items:
- "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"
- "{{ kit_tikz }}"
- name: make tmpdir
tempfile:
prefix: ansi
state: directory
mode: 0755
register: tmpdir
- name: Add ssh-key for the LaTeX repository
......@@ -58,6 +52,7 @@
file:
path: "{{ texpath }}/tex/latex/KIT"
state: directory
mode: 0755
- name: copy tex files
become: yes
......@@ -73,6 +68,7 @@
file:
path: "{{ texpath }}/doc/latex/KIT"
state: directory
mode: 0755
- name: copy pdf files
become: yes
......@@ -86,8 +82,8 @@
# This should be deleted when the Arial task is working
- name: hack Helvetica into KIT styles due to broken font installation
lineinfile:
line: "\\RequirePackage{helvet}"
regexp: "\\RequirePackage{(uarial|helvet)}"
line: "\\\\RequirePackage{helvet}"
regexp: "\\\\RequirePackage{(uarial|helvet)}"
dest: "{{ texpath }}/tex/latex/KIT/{{ item }}"
backup: yes
become: yes
......
......@@ -17,7 +17,7 @@
get_url:
dest: "{{ texpath }}"
url: "https://www.tug.org/fonts/getnonfreefonts/install-getnonfreefonts"
mode: 0777
mode: 0755
register: tex_fonts_dl_ok
when: gnff_available.changed
......
......@@ -4,12 +4,14 @@
file:
path: "{{ texpath }}/tex/latex"
state: directory
mode: 0755
- name: Install DPG-Tagungen document class
become: yes
copy:
src: scdpg.cls
dest: "{{ texpath }}/tex/latex/"
mode: 0755
notify:
- hash latex
tags: latex
......@@ -19,6 +21,7 @@
copy:
src: jacow.cls
dest: "{{ texpath }}/tex/latex/"
mode: 0755
notify:
- hash latex
tags: latex
......@@ -42,6 +42,7 @@
src: /tmp/uniinput.sty
dest: "{{ texpath }}/tex/latex/uniinput/uniinput.sty"
remote_src: yes
mode: 0755
notify: update latex
when: sty_file is defined and sty_file.changed
......@@ -51,5 +52,6 @@
src: /tmp/uniinput.pdf
dest: "{{ texpath }}/doc/latex/uniinput/uniinput.pdf"
remote_src: yes
mode: 0755
notify: update latex
when: pdf_file is defined and pdf_file.changed
/las-archiv1 129.13.108.64/26(rw,sync,root_squash)
/las-archiv1/users 129.13.108.64/26(rw,sync,root_squash)
/las-archiv1 2a00:1398:4:8200::/64(rw,sync,root_squash) 129.13.238.64/26(rw,sync,root_squash)
/las-archiv1/users 2a00:1398:4:8200::/64(rw,sync,root_squash) 129.13.238.64/26(rw,sync,root_squash)
export LMX_LICENSE_PATH=@129.13.108.100
export VECTORFIELD_LICENSE_PATH=@129.13.108.100
export LMX_LICENSE_PATH=@opera.las.kit.edu
export VECTORFIELD_LICENSE_PATH=@opera.las.kit.edu
export VFDIR=/usr/local/share/Opera_18R2/code/
# This causes git to not work properly anymore (e.g. git pull --rebase)
# export PATH=/usr/local/share/Opera_17R1/bin:"${PATH}"
......
---
pycharm_name: pycharm-professional-2018.3.3
pycharm_name: pycharm-professional-2019.1.2
old_versions:
- pycharm-professional-2019.1.1
- pycharm-professional-2019.1
- pycharm-professional-2018.3.3
- pycharm-professional-2018.3.1
- pycharm-professional-2018.2.4
- pycharm-professional-2018.2.1
......
......@@ -3,10 +3,7 @@
become: yes
dnf:
state: present
name: "{{ item }}"
with_items:
- python3-scipy
- python3-scikit-learn
name: ["python3-scipy", "python3-scikit-learn",]
tags: fit
when: ansible_distribution == 'Fedora'
......@@ -15,9 +12,5 @@
pip:
executable: "{{ pip3bin }}"
state: present
name: "{{ item }}"
with_items:
- iminuit
# - kafe
- lmfit
name: ["iminuit", "lmfit", ]
tags: fit
---
- 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"]
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'
......
---
- name: Install remmina RDS
become: yes
dnf:
name: remmina-plugins-rdp
state: present
......@@ -8,7 +8,7 @@
args:
warn: False
changed_when: false
when: (ansible_distribution == "Fedora" and (ansible_distribution_major_version|int) >= 24)
when: (ansible_distribution == "Fedora" and (ansible_distribution_major_version|int) >= 24 and (ansible_distribution_major_version|int) < 28)
tags: ripgrep
- name: install ripgrep
......
---
- import_tasks: zotero.yml
---
# - name: create dir for zotero
# file:
# name: /usr/local/Zotero
# state: directory
- name: unarchive zotero
become: yes
unarchive:
src: "{{ zotero_file }}"
dest: /usr/local/
list_files: yes
register: archive_contents
- name: move zotero to version independent location
become: yes
copy:
src: "/usr/local/{{ archive_contents.files[0] }}"
dest: /usr/local/Zotero
remote_src: True
- name: move 2/2
become: yes
file:
path: "/usr/local/{{ archive_contents.files[0] }}"
state: absent
- name: link zotero
become: yes
......
zotero_file: Zotero-5.0.59_linux-x86_64.tar.bz2
zotero_file: Zotero-5.0.66_linux-x86_64.tar.bz2
......@@ -31,6 +31,8 @@
tags: [python, notebook]
- import_playbook: inovesa.yml
tags: inovesa
- import_playbook: remmina.yml
tags: win
- import_playbook: ripgrep.yml
tags: ripgrep
- import_playbook: epics.yml
......