Unverified Commit a9daab91 authored by Todor Kondic's avatar Todor Kondic
Browse files

Initial commit

parents
offline
/emails/
/files/mzml_data/
/files/scratch/docker-shinyscreen.tar.gz
# ECI servers
This is a set of Ansible playbooks to provision
various things needed by ECI group on their
machines.
[defaults]
inventory = hosts.txt
strategy = free
command_warnings = false
remote_user = adamsmith
become = yes
become_method = sudo
private_key_file = ~/.ssh/id_ed25519
vault_password_file = offline/vaultpass
[stations]
pf0320 ansible_host=10.184.166.26
#pf0320 ansible_host=10.184.166.17
#pf0322 ansible_host=10.184.166.19
pf0323 ansible_host=10.184.167.12
[all:vars]
ansible_python_interpreter=/usr/bin/python3
#vault_password_file=meta/zubizareta
- hosts: stations
become: true
become_method: sudo
roles:
- base
- name: Remove everything from `/var/dhclient'.
listen: restart-network
file:
state: absent
path: /var/lib/dhcp
- name: Restart networking service.
listen: restart-network
ansible.builtin.systemd:
state: restarted
name: networking
- hosts: stations
become: True
become_user: adamsmith
tasks:
- name: Update and upgrade system.
apt:
upgrade: yes
update_cache: yes
cache_valid_time: 86400
- name: Install packages
apt:
name: [ 'nscd',
'curl',
'wget',
'gzip',
'atop',
'git',
'gvfs',
'cifs-utils',
's3fs',
'openjdk-17-jre-headless',
'openjdk-17-jdk-headless' ]
- name: Update and upgrade system.
apt:
upgrade: yes
update_cache: yes
cache_valid_time: 86400
- name: Install packages
apt:
name: [ 'nscd',
'curl',
'wget',
'gzip',
'atop',
'git',
'gvfs',
'cifs-utils',
's3fs',
'default-jre-headless',
'default-jdk-headless' ]
- name: Set up dhclient.conf
ansible.builtin.lineinfile:
insertafter: EOF
line: send dhcp-client-identifier = hardware;
path: /etc/dhcp/dhclient.conf
notify: restart-network
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