Our Ansible files
Find a file
2024-08-05 21:24:27 +02:00
backup_jobs Update 2024-04-19 17:10:59 +02:00
config Update 2024-04-24 09:01:32 +02:00
install_scripts Update 2024-08-05 17:11:55 +02:00
machines Update 2024-08-05 17:11:55 +02:00
mirror_repos Update 2024-04-25 11:56:13 +02:00
pihole Create up.sh 2024-08-05 21:15:02 +02:00
update_jobs Update 2024-05-06 14:26:45 +02:00
yaml_sub Update 2024-08-05 17:11:55 +02:00
base_update.yaml Update 2024-04-19 15:52:13 +02:00
convert_old_pre_ansible_machines.yaml Add files via upload 2024-03-29 02:04:57 +01:00
install_checkmk_client_phase_a.yaml Add files via upload 2024-04-16 10:10:11 +02:00
install_checkmk_client_phase_b.yaml Add files via upload 2024-04-16 20:06:17 +02:00
install_docker.yaml Add files via upload 2024-03-29 20:39:15 +01:00
install_gitlab.yaml Add files via upload 2024-04-16 10:10:11 +02:00
install_semaphore.yaml Update 2024-04-27 17:24:47 +02:00
install_slurm.yaml Update 2024-04-21 19:09:21 +02:00
install_wiki.yaml Update 2024-04-19 19:11:54 +02:00
LICENSE Initial commit 2024-03-29 01:43:28 +01:00
prepare_debian_installation_ansible.sh Update 2024-04-25 17:45:42 +02:00
README.md Update README.md 2024-08-05 21:24:27 +02:00
scan_workstations_nmap.sh Update 2024-04-18 10:48:34 +02:00
semaphore-wrapper Update 2024-04-27 17:24:47 +02:00
set_cluster_crontab.yaml Update 2024-04-18 19:12:43 +02:00
sge_master_nodes.txt Update 2024-08-05 17:11:55 +02:00
update_cups.yaml Add files via upload 2024-04-16 20:06:17 +02:00
update_ldap.yaml Add files via upload 2024-04-16 10:10:11 +02:00
update_mount_points.yaml Update 2024-04-20 02:28:09 +02:00
update_repo.yaml Update 2024-04-23 16:23:40 +02:00

neuro_ansible

Our Ansible files

How make a computer ready for ansible

dnf -y install ansible mc net-tools openssh-server openssh-clients passwdqc cracklib-dicts shadow-utils

systemctl enable sshd
systemctl start sshd

useradd -b /specialusers ansibleuser
passwd_value="PUT_A_PASSWORD_HERE"
echo ansibleuser:$passwd_value | chpasswd
echo "ansibleuser ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/ansible

How to make the server ready

Once:

dnf -y install ansible mc net-tools openssh-server openssh-clients passwdqc cracklib-dicts shadow-utils sshpass

ssh-keygen

And then for every computer:

passwd_value="PUT_A_PASSWORD_HERE"
sshpass -p "$passwd_value" ssh-copy-id -o "StrictHostKeyChecking accept-new" ansibleuser@COMPUTERNAME

Problem with Proxmox Update 8.1 -> 8.2

cd /etc/pve/nodes/coreserver1/lxc/

echo "lxc.cap.drop:" >> XXX.conf