Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkirsche/centos-7-quagga_from_source-playbook
Playbook to build Quagga and it's dependencies on a minimal installation of CentOS 7 with Development Tools package.
https://github.com/kkirsche/centos-7-quagga_from_source-playbook
Last synced: about 1 month ago
JSON representation
Playbook to build Quagga and it's dependencies on a minimal installation of CentOS 7 with Development Tools package.
- Host: GitHub
- URL: https://github.com/kkirsche/centos-7-quagga_from_source-playbook
- Owner: kkirsche
- License: mit
- Created: 2015-04-22T14:59:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-22T15:02:02.000Z (over 9 years ago)
- Last Synced: 2023-03-15T06:15:40.296Z (almost 2 years ago)
- Size: 13.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Quagga Playbook
This installs the following items from source:
* Gawk 4.1.1
* Texinfo 5.2
* Quagga 0.99.24.1## Running the playbook
1. Edit the `hosts` file to contain a list of hosts which you would like to run this playbook on. __Note:__ only one host per line!
2. Ensure your public SSH key is on each host, we will be assuming you are using SSH keys, not passwords! To add your SSH key to a fresh CentOS 7 installation, execute the following command, replacing the `username` and `ipaddress` with the ones of the host.
```shell
cat ~/.ssh/id_rsa.pub | ssh username@ipaddress 'mkdir -p ~/.ssh/; touch ~/.ssh/authorized_keys; cat >> .ssh/authorized_keys'
```
2. Run the playbook:
```shell
ansible-playbook -i hosts quagga.yml -t gawk,texinfo,quagga,configure
```## Those versions are outdated!
At the time of creating this playbook, all the above versions are the most recent versions available. It is possible though that they will be outdated in the future and you may want these updated. This is simple thanks to the variables used in this project.
#### Updating Dependencies
Here we will show you how to update a dependency or quagga. We will use gawk as an example. The only difference between these is the package name, version, and location of the tarball.
Dependenant source code will be in:
* Quagga: `./roles/quagga/files/quagga-0.99.24.1.tar.gz`
* Gawk: `./roles/dependencies/files/gawk-4.1.1.tar.gz`
* Texinfo: `./roles/dependencies/files/texinfo-5.2.tar.gz`__Gawk Example:__
1. Clone the project
2. Open `./vars/default.yml`
3. Change the value of `gawk_version` to the new version in the `package-version` (example: `gawk-4.1.1`) format.
4. Replace `./roles/dependencies/files/gawk-4.1.1.tar.gz` with a `.tar.gz` of the version you would like to use in `./roles/dependencies/files/package-version.tar.gz` format.
5. Run the playbook