Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilri/rmg-ansible-public
Ansible playbooks for ILRI research-computing infrastructure
https://github.com/ilri/rmg-ansible-public
ansible ilri
Last synced: about 2 months ago
JSON representation
Ansible playbooks for ILRI research-computing infrastructure
- Host: GitHub
- URL: https://github.com/ilri/rmg-ansible-public
- Owner: ilri
- License: gpl-3.0
- Created: 2015-05-08T07:27:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-18T04:02:40.000Z (4 months ago)
- Last Synced: 2024-09-18T13:23:14.386Z (4 months ago)
- Topics: ansible, ilri
- Language: Jinja
- Homepage:
- Size: 15.4 MB
- Stars: 8
- Watchers: 7
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Scripts for ILRI Research-Computing Infrastructure
In order for these playbooks to work, your host must:- have finished installation, have working networking, have an SSH daemon running
- have added a `provisioning` user via kickstart, preseed, or cloud-init
- have an entry in the `private/hosts`
- have a vars file in `host_vars/` which defines _at least_ an `ansible_host` variableAssuming the above are true, you should be able to run these playbooks successfully.
## Post-install Ansible Invocation
Take note that the first-ever invocation after the clean installation of a machine is different than subsequent invocations due to the way SSH public keys are copied to the host.On the first run, you need to use `-k --ask-become-pass` to prompt for the SSH/sudo password of the provisioning user:
$ ansible-playbook site.yml --limit=ilrinrb10 -k --ask-become-pass -t sshd,ssh-keys,sudoers
On subsequent runs, after SSH keys and sudo configurations have been deployed, you should be able to run like this:
$ ansible-playbook site.yml --limit=ilrinrb10
## TODO
- Update: sysctl.conf template for Ubuntu, using CentOS template as a reference
- Update: make SSH rate limits configurable## License
Copyright (C) 2015–2024 International Livestock Research Institute (ILRI)The contents of this repository are free software: you can redistribute
it and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .