Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/metacpan/metacpan-ansible
NOT USED Ansible deployment configuration
https://github.com/metacpan/metacpan-ansible
Project Clean Ups
ea15c91f24f58826810fd9d50588bdc023429785 authored 11 months ago by Shawn Sorichetti <[email protected]>
These playbooks are no longer in use for deploying to any of the
clusters. Removing the tests so...
We want to support the migration effort, and yet ease the maintenance of
the existing clusters (...
Doing some cleanup and removing configuration and hosts that are no
longer part of the project.
...
Add new administrators
32703e2b260833f69d3a9862254ef19e07935637 authored about 2 years ago by Olaf Alders <[email protected]>
nicomen and simbabque have joined to help out running metacpan, adding
them to the administrator...
08309f9ab5c781cffc8b943606812c906a3473a1 authored almost 4 years ago by Olaf Alders <[email protected]>
For hivelocity servers only at the moment, set up a firewall allowing
ssh, http, https, and prep...
Remove some inactive users from production access
bf0068e62c4788694db466c90c94b69519bb80fb authored about 4 years ago by Shawn Sorichetti <[email protected]>Update README
4f752994abe3701b6a2404957b0fe2d2dac8a7a4 authored about 4 years ago by Shawn Sorichetti <[email protected]>009b544f346065da23f0813a70de0f184b9395e6 authored about 4 years ago by Olaf Alders <[email protected]>
3d81f994845f28f540770199ddf8ba90ed8840d4 authored about 4 years ago by Olaf Alders <[email protected]>
12b52676922c4fff41b2ac7758e57ea78a8b7c5e authored about 4 years ago by Olaf Alders <[email protected]>
Add deploy_sites playbook
bcfbacda3f7cd1c1ce9dfae5537caa0602534b39 authored about 4 years ago by Olaf Alders <[email protected]>
This playbook consolidates the docker_mgmt and site playbooks into one
playbook that can be depl...
Add GitHub Action Ansible Later
ffb8668db9ecf57dbeb72edcd1f82ce22f5ec710 authored about 4 years ago by Olaf Alders <[email protected]>81af0a3a01b20a1c914ba4972a665c7dd7157de8 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Using the Ansible Later GitHub Action plugin to lint.
0e39941e0854148a0141cca7782a643747a1c10b authored about 4 years ago by Shawn Sorichetti <[email protected]>Change to GitHub actions
236a055663eba25b07333a869c20631fc5f81624 authored about 4 years ago by Olaf Alders <[email protected]>This workflow tests ansible execution and hosting on a Ubuntu host.
9c5d76e67bac1b1cc375060ba3492b6f7f9e09aa authored about 4 years ago by Shawn Sorichetti <[email protected]>Make sure web containers are deployable.
2fac523fded28d336bb480884e894e9335b35eaa authored about 4 years ago by Shawn Sorichetti <[email protected]>These are the initial tests for running the hound playbook.
4c8f2c5015c3fab5fa5d459872542e3745b2f377 authored about 4 years ago by Shawn Sorichetti <[email protected]>
This is required for python tooling. Cart horse, cats dogs, it's a mad
world.
According to docs in order to use apt, need to use sudo
35104520a881143a25db6bc88d31555be3c4e64f authored about 4 years ago by Shawn Sorichetti <[email protected]>In order to figure out what's going on, need some verbosity.
db35d4c98b340cf660bdbbbe654a4977ac3aa41b authored about 4 years ago by Shawn Sorichetti <[email protected]>This user is used during docker deployment, need to ensure it exists.
e1478bdd2c586824360c13d443b4a09d98ce3540 authored about 4 years ago by Shawn Sorichetti <[email protected]>
The new version of Ansible is pulling the keys from github repeatedly
and marks them as a change...
lineinfile doesn't appear to make sure the file exists first, so create
it prior to looking for ...
Same tests over again this time for grep, let's see if they pass.
b24029a23b091ff0b26e9406045909caca0ebd1d authored about 4 years ago by Shawn Sorichetti <[email protected]>Introduce testing for github-meets-cpan deployment.
65a85d01a9e9795bb19631d46c375e78d53fc466 authored about 4 years ago by Shawn Sorichetti <[email protected]>
The logging environment setting is always executed so will report a
change.
We want to use Python 3 everywhere, all the time. It's just easier.
b4ebb47f642246bf2d48546a458c00e79492a481 authored about 4 years ago by Shawn Sorichetti <[email protected]>
The playbooks either test or production should be very lightweight with
all work being done in t...
git is required for testing the docker management role.
362055a4d07479dc96f6d6de9e10852584880bf3 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Don't use the old ansible version that installs with the OS, download
and install the latest ppa.
0e367ff2367831bdf090118122bb79a0e48d3af9 authored about 4 years ago by Shawn Sorichetti <[email protected]>
This role installs software on the systems, make sure it is
syntactically correct, runs, and whe...
While the playbook commands that do the calling are tests/ they are
actually testing the content...
This line checks to ensure that the during the second run of the
playbook with a privileged acco...
This is an attempt to run ansible as a different privileged user to
ensure that all become state...
One of these is failing, splitting to make it easier to discern what is
going on.
This only needs to occur once per ansible installation, move into the
main function rather than ...
02122b01564e8fdb06630bd0842092999ee88419 authored about 4 years ago by Olaf Alders <[email protected]>
d9298626bd86c88793a36c9c3afbf0cee46f5170 authored over 4 years ago by Olaf Alders <[email protected]>
Add Deploy for MetaCPAN web
9f81a8c07a782076e887193212b9308ebc8979da authored over 4 years ago by Olaf Alders <[email protected]>
Using the different scale variables allows the number of containers
running on a server to be se...
The `web_metacpan` group defines which hosts the metacpan web containers
will be started on.
Support deploying the metacpan web front end docker containers.
ae84db1eb25bea400c1ef1e37e0ce9c00fa35158 authored over 4 years ago by Shawn Sorichetti <[email protected]>
Allow configuration templates from ansible variables for website. In
order to use templated conf...
Add cron configuration for shared git repo
b6688794e544f877fef96541fff522547c7b6186 authored over 4 years ago by Olaf Alders <[email protected]>Pull the latest from origin master every hour.
63c9c76bd467992f7bdc66a1582d4b9c32670d5d authored over 4 years ago by Shawn Sorichetti <[email protected]>0dd2b69ef7acf12c4511683f4b131b67d2af0d15 authored over 4 years ago by Olaf Alders <[email protected]>
Ansible Cleanup
b8b3aaa50a351b4dd70e0eb06c570275dd118c60 authored over 4 years ago by Olaf Alders <[email protected]>
We no longer need to support RedHat servers, removing definitions to
allow for CI testing.
Sometimes python3 just isn't enough. Make sure both are installed now.
d6e9d3e41c683f75dd86f4a540e84e42b2aaab64 authored over 4 years ago by Shawn Sorichetti <[email protected]>
https://github.com/ansible/ansible/issues/56930 mentions using this
setting to remove the warning.
d0c62b613aaf54397154992938df6a19f96f03db authored over 4 years ago by Olaf Alders <[email protected]>
Use docker compose role and deploy hound
5804d1f2e40272d51eeb34b2313c6d2fed48bdc2 authored over 4 years ago by Olaf Alders <[email protected]>
Set up the required variables and ensure that pip3, and docker-compose
are installed for RedHat.
Use the new servers to host the hound site.
437cc22cd7e73823217ca66af921fa5960cdce70 authored over 4 years ago by Shawn Sorichetti <[email protected]>
This playbook will deploy the hound.metacpan.org site to the specified
hosts via docker-compose.
The lite repo was for testing purposes only.
c9c941d5b93f6252d00386c91c2b70d8b312a056 authored over 4 years ago by Shawn Sorichetti <[email protected]>
This setting tells ansible which python to run on remote servers when
executing tasks.
Replace the use of custom tasks with those that are supplied with
Ansible. The role automaticall...
RedHat OS's don't include python3 which is required for docker-compose
and for the use of the do...
Deploy grep metacpan to hivelocity
a27d8e0794cf460c49b690f9aee67178c4729e09 authored about 5 years ago by Olaf Alders <[email protected]>
Need this module in order for ansible to be able to define
docker volumes.
This will deploy the grep metacpan site onto the hivelocity server.
9d11512b6f94a06f83bcf88ab2bb5c1317762919 authored about 5 years ago by Shawn Sorichetti <[email protected]>Adds the metacpan user an cleans up hivelocity configuration
be5765c6390f213aaba33d95a372c84273a97c60 authored about 5 years ago by Olaf Alders <[email protected]>This adds the application metacpan user to the systems as a system ID.
a8c5a2d10db65f380d058017de2518fd93237345 authored about 5 years ago by Shawn Sorichetti <[email protected]>Add package management
9b460b90347d6973385b5a125fef36c3712183e8 authored about 5 years ago by Olaf Alders <[email protected]>
These new systems will be hosting containerized applications and thus
need to be added to the co...
Need to install system level packages on new systems.
adde1f4bbcdf4c62cec64f34a708438ba84dd411 authored about 5 years ago by Shawn Sorichetti <[email protected]>Ssoriche/hivelocity
ac57e97c02ee3f39f37dc583663d0add9f949f1b authored about 5 years ago by Brad Lhotsky <[email protected]>
The new ssh key mechanism knows better whether the key needs to be
updated or not, so it is not ...
Failed during testing, adding these in in order to make sure it works
going forward.
* Flip user related packages to latest: `sudo`, `bash`, `tmux`, `zsh`
* Convert user role to use...
For some reason when ansible writes out the ssh authorized_keys file it
is adding spaces. Update...
This was missing and needed when deploying new users.
39214be29647796438ed557b023d35925cc1e2b4 authored about 5 years ago by Shawn Sorichetti <[email protected]>This is a new hosting service that's been donated.
38f9055960462689818941713c87cab4f2ea0779 authored about 5 years ago by Shawn Sorichetti <[email protected]>Update with SSH keys
3140050b0faa8c8016478f4cb16248fed056b545 authored about 5 years ago by Olaf Alders <[email protected]>
Read in the users ssh authorized keys from puppet and add them to the
vault.
Add initial user vault
19957cb5d53c47c7ed5ce3c15635471bcd9d31c5 authored about 5 years ago by Olaf Alders <[email protected]>This is an initial cut at a vault to store user details.
a57e0c9e7787738225a39312303440fb568d6e0b authored about 5 years ago by Shawn Sorichetti <[email protected]>Split user management and sudo access
5b1aba172bb0fa44b5728e4eefb7638f2b262974 authored about 5 years ago by Olaf Alders <[email protected]>Don't create authorized keys files for users that shouldn't exist.
7fc7dfac343f26c6bf98d4d9f7900eebccee7b4a authored about 5 years ago by Shawn Sorichetti <[email protected]>
Allow the `admin` attribute to control whether a user is in the
appropriate sudo group or not. T...
Add user management
ef4ebc3d40f128315b2bd3ad28838263f16cfcf3 authored about 5 years ago by Olaf Alders <[email protected]>These attributes match with the existing attributes from Puppet.
2c8f9dc8033083f8fc27ed5f34055e90922a907a authored about 5 years ago by Shawn Sorichetti <[email protected]>Might not have worked as intended.
c3d2c16d3c82749ea0c2f4cb787c71c3c60607d4 authored about 5 years ago by Shawn Sorichetti <[email protected]>New role to manage users on systems.
21e81388995180dd874319ebb5f571ef8f0891bf authored about 5 years ago by Shawn Sorichetti <[email protected]>Add output redirection for cron entry
a39891dce76d59a31ab0a1ee800faa5fe8ae7379 authored over 5 years ago by Olaf Alders <[email protected]>
Stop all the emails for docker-compose starting up for the cron job to
populate github-meets-cpa...
Fixes from latest deployment run
6e093f65e3d8f6064e55e6c4d4e072642c0a8c89 authored over 5 years ago by Olaf Alders <[email protected]>
Missing from the production deploy but included in the test... Make sure
that the user can write...
This option reduces the number of ssh connections required to make
changes to the environment.
Add hourly cron entry to run data population
1b3a8e9ab9063d5517e30b42c9f1e3657f6899b5 authored over 5 years ago by Olaf Alders <[email protected]>
The github-meets-cpan-cron container starts the data population script
automatically on start up...
Add become_user for docker commands
d5ddd46c74ad7981e10e30ff9585f8f449ba2fd0 authored over 5 years ago by Olaf Alders <[email protected]>
These commands need to be executed by the user that is running the
containers (metacpan), and th...