Commit graph

5 commits

Author SHA1 Message Date
Cody Robertson 963ab7b9f5
Add vars.yml to woodpecker pipeline (#176)
* Add vars.yml to CI pipeline
- prettier
- ansible-lint

* Update vars.yml format for ansible-lint & prettier
2023-09-27 14:47:04 -04:00
Richard Schwab 70eec4c2aa
Fix ansible-lint warnings
- add ansible-lint check to CI
- reformat playbooks to conform to strict ansible-lint checks
- set explicit modes for all files and directories created in playbook
- only ensure presence, not latest for packages installed by the playbook
2023-09-11 11:51:58 +02:00
Cody Robertson b260182b81
Lemmy AlmaLinux/RHEL Ansible Support (#145)
* Add initial lemmy-almalinux.yml playbook
- Supports AlmaLinux 9, RHEL 9, Rocky Linux 9

* Update docker-compose.yml to explicitly point to Docker Hub registry
- By default EL9 lists 3x registries and prompts on short names, this
allows unattended pulling without modifying registry configuration

* Modify uninstall.yml playbook to support AlmaLinux/EL distributions
- Add syntax check to lemmy-almalinux.yml playbook w/ woodpecker CI

* Run `prettier` on playbooks to make lemmy-ansible upstream CI happy

* Add some logic to the uninstall playbook for docker/podman/nginx
- Installation starts and enables services, seems wise to offer inverse

* Remove unused debug line

* Update notes to be consistent with other task

* Add distribution & version checks to lemmy-playbook, uninstall playbooks
- EL >= 9 (for now?)
- Add CentOS to list of targets (CentOS stream, boo hiss)

* Revert postgres_password logic to be in-line with main playbook, docs

* Update our targets baby! Technically should work on all EL9 spinoffs
- But we build for ALmaLinux <3

* Add `always` tag for distribution/version check task

* Gather facts for distribution conditionals
2023-09-02 14:10:12 -04:00
Dessalines d73e72aad0
Add prettier to ci (#80)
* Add prettier to CI.

* Running prettier.
2023-06-07 22:45:24 +02:00
Dessalines cb1c24fd6f
Adding woodpecker (#63) 2023-03-24 21:45:26 +01:00