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

Merge pull request #33 from metacpan/ssoriche/inventory-cleanup

Project Clean Ups

ea15c91f24f58826810fd9d50588bdc023429785 authored 11 months ago by Shawn Sorichetti <[email protected]>
Remove tests for unused playbooks

These playbooks are no longer in use for deploying to any of the
clusters. Removing the tests so...

c48325fbea13cd8a11a1c300d616f724b1ed259e authored 11 months ago by Shawn Sorichetti <[email protected]>
Add notice to README file on deprecation

We want to support the migration effort, and yet ease the maintenance of
the existing clusters (...

02d90872586fd5481ff0dce163b03faa23aaa8a2 authored 11 months ago by Shawn Sorichetti <[email protected]>
Remove unused hosts

Doing some cleanup and removing configuration and hosts that are no
longer part of the project.
...

5a939f858c81668ee2241fc7608d8ff99629a49f authored 11 months ago by Shawn Sorichetti <[email protected]>
Merge pull request #32 from metacpan/ssoriche/add-admins

Add new administrators

32703e2b260833f69d3a9862254ef19e07935637 authored about 2 years ago by Olaf Alders <[email protected]>
Add new administrators

nicomen and simbabque have joined to help out running metacpan, adding
them to the administrator...

6321f6d01fe4e311b4747691fed0345446949e95 authored about 2 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #31 from metacpan/ssoriche/add_firewall

08309f9ab5c781cffc8b943606812c906a3473a1 authored almost 4 years ago by Olaf Alders <[email protected]>
Add firewall configuration

For hivelocity servers only at the moment, set up a firewall allowing
ssh, http, https, and prep...

6ef4d6e87e928f9c8da80eb147403789680a12dc authored almost 4 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #29 from metacpan/oalders/pare-down-users

Remove some inactive users from production access

bf0068e62c4788694db466c90c94b69519bb80fb authored about 4 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #30 from metacpan/oalders/readme

Update README

4f752994abe3701b6a2404957b0fe2d2dac8a7a4 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Update ansible-vault example

009b544f346065da23f0813a70de0f184b9395e6 authored about 4 years ago by Olaf Alders <[email protected]>
Add a TOC to README

3d81f994845f28f540770199ddf8ba90ed8840d4 authored about 4 years ago by Olaf Alders <[email protected]>
Remove some inactive users from production access

12b52676922c4fff41b2ac7758e57ea78a8b7c5e authored about 4 years ago by Olaf Alders <[email protected]>
Merge pull request #28 from metacpan/ssoriche/deploy_sites

Add deploy_sites playbook

bcfbacda3f7cd1c1ce9dfae5537caa0602534b39 authored about 4 years ago by Olaf Alders <[email protected]>
Add deploy_sites playbook

This playbook consolidates the docker_mgmt and site playbooks into one
playbook that can be depl...

421d4d1ed23fefc95ef53201b0b46f89d6e06f55 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #27 from metacpan/ssoriche/add_ansible_lint

Add GitHub Action Ansible Later

ffb8668db9ecf57dbeb72edcd1f82ce22f5ec710 authored about 4 years ago by Olaf Alders <[email protected]>
First round of linter fixes

81af0a3a01b20a1c914ba4972a665c7dd7157de8 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add ansible linting

Using the Ansible Later GitHub Action plugin to lint.

0e39941e0854148a0141cca7782a643747a1c10b authored about 4 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #26 from metacpan/ssoriche/github_actions

Change to GitHub actions

236a055663eba25b07333a869c20631fc5f81624 authored about 4 years ago by Olaf Alders <[email protected]>
Rename workflow file

This workflow tests ansible execution and hosting on a Ubuntu host.

9c5d76e67bac1b1cc375060ba3492b6f7f9e09aa authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add tests for deploying web containers

Make sure web containers are deployable.

2fac523fded28d336bb480884e894e9335b35eaa authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add testing for hound

These are the initial tests for running the hound playbook.

4c8f2c5015c3fab5fa5d459872542e3745b2f377 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Ensure python3 and setuptools are available

This is required for python tooling. Cart horse, cats dogs, it's a mad
world.

526b18e4d98ed257401eed177e505556d23cb359 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Use sudo to install packages

According to docs in order to use apt, need to use sudo

35104520a881143a25db6bc88d31555be3c4e64f authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add verbosity to testing

In order to figure out what's going on, need some verbosity.

db35d4c98b340cf660bdbbbe654a4977ac3aa41b authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add metacpan application user

This user is used during docker deployment, need to ensure it exists.

e1478bdd2c586824360c13d443b4a09d98ce3540 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Update expected changes in idempotence check

The new version of Ansible is pulling the keys from github repeatedly
and marks them as a change...

b9d2333a951c6fec3c3abf1614b77a31454c3782 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add creation of configuration file

lineinfile doesn't appear to make sure the file exists first, so create
it prior to looking for ...

74937232e5994b556d83e3928913855a003eff9e authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add tests for grep metacpan

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]>
Add testing for github-meets-cpan

Introduce testing for github-meets-cpan deployment.

65a85d01a9e9795bb19631d46c375e78d53fc466 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Set expected change in idempotence check

The logging environment setting is always executed so will report a
change.

3ae19a1e70b04255e7ad10827d1c46d301f46d32 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Force use of Python 3

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]>
Relocate pip install of docker modules

The playbooks either test or production should be very lightweight with
all work being done in t...

6773866e98da14208c3324b6098d9b537c8ba6ef authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add git to test packages

git is required for testing the docker management role.

362055a4d07479dc96f6d6de9e10852584880bf3 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add installation of ansible from ansible

Don't use the old ansible version that installs with the OS, download
and install the latest ppa.

d9d8e637aac3d18aeed9556192f37f974d2654ed authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add test of deploy_docker_mgmt

0e367ff2367831bdf090118122bb79a0e48d3af9 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add check for deploy_packages

This role installs software on the systems, make sure it is
syntactically correct, runs, and whe...

29fc529ff81806aa4cebc30461481dfcfab02d93 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Changing labelling of test to deploy_users

While the playbook commands that do the calling are tests/ they are
actually testing the content...

f2f7e87d7088dc6fe0b184adbef12a24dec6ffd7 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add check for no changes and no failures

This line checks to ensure that the during the second run of the
playbook with a privileged acco...

85a8970863d0c41bc31c61489f46d59f8bfd5a8c authored about 4 years ago by Shawn Sorichetti <[email protected]>
Add sudo to second ansible run

This is an attempt to run ansible as a different privileged user to
ensure that all become state...

5f1df3e4807988592350988f80e3e3f064778970 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Split apt installation commands

One of these is failing, splitting to make it easier to discern what is
going on.

27cf495a12db89b134dfbd39d37321bc5ad5a269 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Move galaxy installation

This only needs to occur once per ansible installation, move into the
main function rather than ...

24b0f9c2fbff105c43de00aed58af6343be592d4 authored about 4 years ago by Shawn Sorichetti <[email protected]>
Implement GH workflows

02122b01564e8fdb06630bd0842092999ee88419 authored about 4 years ago by Olaf Alders <[email protected]>
Delete Travis config

d9298626bd86c88793a36c9c3afbf0cee46f5170 authored over 4 years ago by Olaf Alders <[email protected]>
Merge pull request #25 from metacpan/ssoriche/deploy_web

Add Deploy for MetaCPAN web

9f81a8c07a782076e887193212b9308ebc8979da authored over 4 years ago by Olaf Alders <[email protected]>
Add the ability to scale the number of containers

Using the different scale variables allows the number of containers
running on a server to be se...

7c601c8aaaae4b6042682838c1cb1bd42ffac1dd authored over 4 years ago by Shawn Sorichetti <[email protected]>
Add hc servers to metacpan web deployment

The `web_metacpan` group defines which hosts the metacpan web containers
will be started on.

257d0ccc4a1bb0ac8c6772f993986a60f31e1e91 authored over 4 years ago by Shawn Sorichetti <[email protected]>
Add deploy metacpan web site

Support deploying the metacpan web front end docker containers.

ae84db1eb25bea400c1ef1e37e0ce9c00fa35158 authored over 4 years ago by Shawn Sorichetti <[email protected]>
Add templated configuration

Allow configuration templates from ansible variables for website. In
order to use templated conf...

ed7cbdea4d16eeb8c91538cdec8f99ac5bac31ea authored over 4 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #24 from metacpan/ssoriche/git_cron

Add cron configuration for shared git repo

b6688794e544f877fef96541fff522547c7b6186 authored over 4 years ago by Olaf Alders <[email protected]>
Add cron configuration for shared git repo

Pull the latest from origin master every hour.

63c9c76bd467992f7bdc66a1582d4b9c32670d5d authored over 4 years ago by Shawn Sorichetti <[email protected]>
CodeQL is not finding any applicable code to scan

0dd2b69ef7acf12c4511683f4b131b67d2af0d15 authored over 4 years ago by Olaf Alders <[email protected]>
Merge pull request #23 from metacpan/ssoriche/ansible_cleanup

Ansible Cleanup

b8b3aaa50a351b4dd70e0eb06c570275dd118c60 authored over 4 years ago by Olaf Alders <[email protected]>
Remove RedHat processing

We no longer need to support RedHat servers, removing definitions to
allow for CI testing.

4314c4142ef4ce5227396b4e5cc6ee4f467b7327 authored over 4 years ago by Shawn Sorichetti <[email protected]>
Ensure python is installed

Sometimes python3 just isn't enough. Make sure both are installed now.

d6e9d3e41c683f75dd86f4a540e84e42b2aaab64 authored over 4 years ago by Shawn Sorichetti <[email protected]>
Silence warnings for - in group names

https://github.com/ansible/ansible/issues/56930 mentions using this
setting to remove the warning.

1038d1fc25a1228cc12ff9f1f0095fd81f19460e authored over 4 years ago by Shawn Sorichetti <[email protected]>
Create codeql-analysis.yml

d0c62b613aaf54397154992938df6a19f96f03db authored over 4 years ago by Olaf Alders <[email protected]>
Merge pull request #20 from metacpan/ssoriche/use_docker_compose_role

Use docker compose role and deploy hound

5804d1f2e40272d51eeb34b2313c6d2fed48bdc2 authored over 4 years ago by Olaf Alders <[email protected]>
Add docker-compose install via pip

Set up the required variables and ensure that pip3, and docker-compose
are installed for RedHat.

1bd23fcba9a2bfe8f12978d104aed36df8554a1c authored over 4 years ago by Shawn Sorichetti <[email protected]>
Add new servers to hound deployment

Use the new servers to host the hound site.

437cc22cd7e73823217ca66af921fa5960cdce70 authored over 4 years ago by Shawn Sorichetti <[email protected]>
Add deployment of hound site

This playbook will deploy the hound.metacpan.org site to the specified
hosts via docker-compose.

217be4a7d1e39933ec129a3532ef24d423afd89a authored over 4 years ago by Shawn Sorichetti <[email protected]>
Switch to full grep repo

The lite repo was for testing purposes only.

c9c941d5b93f6252d00386c91c2b70d8b312a056 authored over 4 years ago by Shawn Sorichetti <[email protected]>
Add configuration to use python3 with ansible

This setting tells ansible which python to run on remote servers when
executing tasks.

0b0f65990fe4bb92ab9bb978518d57b9ff619a16 authored over 4 years ago by Shawn Sorichetti <[email protected]>
Change to docker-compose Ansible role

Replace the use of custom tasks with those that are supplied with
Ansible. The role automaticall...

2d2e321ee63e855b94ec3439df75bf28eb46e502 authored over 4 years ago by Shawn Sorichetti <[email protected]>
Add python3

RedHat OS's don't include python3 which is required for docker-compose
and for the use of the do...

f83cec1b9ae84962078dfe1aa68e44d62fd77805 authored over 4 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #19 from metacpan/ssoriche/deploy_grep_metacpan

Deploy grep metacpan to hivelocity

a27d8e0794cf460c49b690f9aee67178c4729e09 authored about 5 years ago by Olaf Alders <[email protected]>
Add pip installation of docker

Need this module in order for ansible to be able to define
docker volumes.

ff6fbca2fc18ab7ef6e265c9bfa559cc62d616b3 authored about 5 years ago by Shawn Sorichetti <[email protected]>
Add deployment of grep metacpan

This will deploy the grep metacpan site onto the hivelocity server.

9d11512b6f94a06f83bcf88ab2bb5c1317762919 authored about 5 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #17 from metacpan/ssoriche/clean_up_hivelocity

Adds the metacpan user an cleans up hivelocity configuration

be5765c6390f213aaba33d95a372c84273a97c60 authored about 5 years ago by Olaf Alders <[email protected]>
Add metacpan user

This adds the application metacpan user to the systems as a system ID.

a8c5a2d10db65f380d058017de2518fd93237345 authored about 5 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #16 from metacpan/ssoriche/add_software_packages

Add package management

9b460b90347d6973385b5a125fef36c3712183e8 authored about 5 years ago by Olaf Alders <[email protected]>
Remove IPs and add as docker hosts

These new systems will be hosting containerized applications and thus
need to be added to the co...

829db73907d23505237d38cb6a5b89bb12b28696 authored about 5 years ago by Shawn Sorichetti <[email protected]>
Add package management

Need to install system level packages on new systems.

adde1f4bbcdf4c62cec64f34a708438ba84dd411 authored about 5 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #15 from metacpan/ssoriche/hivelocity

Ssoriche/hivelocity

ac57e97c02ee3f39f37dc583663d0add9f949f1b authored about 5 years ago by Brad Lhotsky <[email protected]>
Update changed count

The new ssh key mechanism knows better whether the key needs to be
updated or not, so it is not ...

6dee3b1da4fdf05fe7f811f15f64a01d628250fc authored about 5 years ago by Shawn Sorichetti <[email protected]>
Add become for new tasks

Failed during testing, adding these in in order to make sure it works
going forward.

9413b135d2ae734b2f2fa0f9ef92620419ee6129 authored about 5 years ago by Shawn Sorichetti <[email protected]>
User setup with Ansible

* Flip user related packages to latest: `sudo`, `bash`, `tmux`, `zsh`
* Convert user role to use...

13075fff843d48036ac210c7953f45e11702697e authored about 5 years ago by Brad Lhotsky <[email protected]>
YAML formatting fixes

For some reason when ansible writes out the ssh authorized_keys file it
is adding spaces. Update...

b8ad25e413e019c429ec5f0e287bd3319036fcac authored about 5 years ago by Shawn Sorichetti <[email protected]>
Add a playbook to deploy users

This was missing and needed when deploying new users.

39214be29647796438ed557b023d35925cc1e2b4 authored about 5 years ago by Shawn Sorichetti <[email protected]>
Add inventory for new hosts

This is a new hosting service that's been donated.

38f9055960462689818941713c87cab4f2ea0779 authored about 5 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #14 from metacpan/ssoriche/add_ssh_keys

Update with SSH keys

3140050b0faa8c8016478f4cb16248fed056b545 authored about 5 years ago by Olaf Alders <[email protected]>
Update with SSH keys

Read in the users ssh authorized keys from puppet and add them to the
vault.

70ca59df011623746c96884bcb860614f4c8c652 authored about 5 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #13 from metacpan/ssoriche/add_user_definitions

Add initial user vault

19957cb5d53c47c7ed5ce3c15635471bcd9d31c5 authored about 5 years ago by Olaf Alders <[email protected]>
Add initial user vault

This is an initial cut at a vault to store user details.

a57e0c9e7787738225a39312303440fb568d6e0b authored about 5 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #12 from metacpan/ssoriche/split_user_mgmt_and_sudo

Split user management and sudo access

5b1aba172bb0fa44b5728e4eefb7638f2b262974 authored about 5 years ago by Olaf Alders <[email protected]>
Only manage keys for users that should exist

Don't create authorized keys files for users that shouldn't exist.

7fc7dfac343f26c6bf98d4d9f7900eebccee7b4a authored about 5 years ago by Shawn Sorichetti <[email protected]>
Split user management and sudo access

Allow the `admin` attribute to control whether a user is in the
appropriate sudo group or not. T...

9178755fb143a00f95835114f5506e556c9aa966 authored about 5 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #11 from metacpan/ssoriche.add_user_management

Add user management

ef4ebc3d40f128315b2bd3ad28838263f16cfcf3 authored about 5 years ago by Olaf Alders <[email protected]>
Add additional user attributes

These attributes match with the existing attributes from Puppet.

2c8f9dc8033083f8fc27ed5f34055e90922a907a authored about 5 years ago by Shawn Sorichetti <[email protected]>
Fix include variable definition

Might not have worked as intended.

c3d2c16d3c82749ea0c2f4cb787c71c3c60607d4 authored about 5 years ago by Shawn Sorichetti <[email protected]>
Initial commit of user management

New role to manage users on systems.

21e81388995180dd874319ebb5f571ef8f0891bf authored about 5 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #10 from metacpan/ssoriche/quiet_cronjob

Add output redirection for cron entry

a39891dce76d59a31ab0a1ee800faa5fe8ae7379 authored over 5 years ago by Olaf Alders <[email protected]>
Add output redirection for cron entry

Stop all the emails for docker-compose starting up for the cron job to
populate github-meets-cpa...

d6e678ac9e7c03940d68083f215bf9c2f882e6da authored over 5 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #9 from metacpan/ssoriche/deploy_fixes

Fixes from latest deployment run

6e093f65e3d8f6064e55e6c4d4e072642c0a8c89 authored over 5 years ago by Olaf Alders <[email protected]>
Add become_user to cron entry task

Missing from the production deploy but included in the test... Make sure
that the user can write...

9f867e78d0d2c00178c192e2384340f1feb6b480 authored over 5 years ago by Shawn Sorichetti <[email protected]>
Add ssh connection pipelining

This option reduces the number of ssh connections required to make
changes to the environment.

10ad4ca51e3e3843d67f96087032afccf65459f8 authored over 5 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #8 from metacpan/ssoriche/add_github-meets-cpan_cron_entry

Add hourly cron entry to run data population

1b3a8e9ab9063d5517e30b42c9f1e3657f6899b5 authored over 5 years ago by Olaf Alders <[email protected]>
Add hourly cron entry to run data population

The github-meets-cpan-cron container starts the data population script
automatically on start up...

7f417dec86bb28cf402a2bc31e08686121f8f157 authored over 5 years ago by Shawn Sorichetti <[email protected]>
Merge pull request #7 from metacpan/ssoriche/deploy_site_fixes

Add become_user for docker commands

d5ddd46c74ad7981e10e30ff9585f8f449ba2fd0 authored over 5 years ago by Olaf Alders <[email protected]>
Add become_user for docker commands

These commands need to be executed by the user that is running the
containers (metacpan), and th...

977e1a5a5d936f5cf1e3fa6c9ded037a679cbb6a authored over 5 years ago by Shawn Sorichetti <[email protected]>