Commit graph

198 commits

Author SHA1 Message Date
Cody Robertson d00ab06541
Merge pull request #202 from sanatsathaye/main
Fix installation playbooks running on incompatible OSs
2023-12-04 13:13:05 -05:00
Sanat Sathaye 1178eed471 Fix debian playbook running on non-debian system 2023-12-04 01:43:57 +05:30
Sanat Sathaye 0232df1562 Fix alma playbook running on non-alma system 2023-12-03 17:14:53 +05:30
Cody Robertson 144b414244
Merge pull request #201 from LemmyNet/Nutomic-patch-3
Include CPU architectures in requirements
2023-11-29 10:16:45 -05:00
Nutomic 8612dba46c
Update README.md 2023-11-29 11:17:43 +01:00
Nutomic 63adf2e01b
Update README.md 2023-11-29 11:17:24 +01:00
Nutomic 196761c8bb
Include CPU architectures in requirements 2023-11-29 11:16:22 +01:00
Cody Robertson 0153dc1ffb
Merge pull request #199 from ismailkarsli/main
Redirect "/sitemap.xml" to backend
2023-11-09 14:06:36 -05:00
İsmail Karslı a292378c05
Redirect "/sitemap.xml" to backend 2023-11-09 16:40:25 +03:00
Tim Coombs 51a82f7f18
chore: 1.2.1 update docs (#198)
* chore: 1.2.1 update docs

* chore: prettier

* chore: prettier
2023-10-26 09:48:02 +11:00
Cody Robertson fdb8c18745
Merge pull request #196 from LemmyNet/revert-194-add_version_route_2 2023-10-23 12:10:30 -04:00
Dessalines ebad4321c2
Revert "Redirecting version to nodeinfo." 2023-10-23 12:04:24 -04:00
Cody Robertson e059c2e208
Merge pull request #194 from LemmyNet/add_version_route_2 2023-10-20 11:11:25 -04:00
Dessalines 0af5869d8d Redirecting version to nodeinfo. 2023-10-20 11:07:15 -04:00
Cody Robertson 511461516a
Merge pull request #193 from LemmyNet/add_version_route 2023-10-18 19:39:21 -04:00
Dessalines a3b210ff10 Adding /version route 2023-10-18 16:36:13 -04:00
Cody Robertson 9676c75fb9
Remove invalid temp_file_size line in customPostgresql.conf (#192)
- Refs #191
2023-10-17 10:23:26 -04:00
Cody Robertson 300a261b2a
Update ansible requirements, remove become for localhost delegated tasks (#188)
* Add ansible-core >= 2.11.0 requirement
- Adds assertion to gracefully fail instead of an error (ref #177)
- Add to README

* Remove `become` on `localhost` to `lemmy-almalinux.yml` playbook
- Refs https://github.com/LemmyNet/lemmy-ansible/pull/178

* Adjust Ansible -> ansible-core
- Add `become: false` to assertion in `lemmy.yml`

* Adjust README verbiage

* Apparently I really want it to be 2.10.0
2023-10-13 10:23:32 -04:00
Tim Coombs 7f1a8793f6
Merge pull request #187 from codyro/postgres-config-permissions
Adjust permissions for the distributed postgresql.conf
2023-10-10 09:43:52 +11:00
Cody Robertson 5c68d9588c Adjust permissions for the distribute /etc/postgresql.conf so postgres user
can read it
- Refs #183
- Refs comment https://github.com/LemmyNet/lemmy-ansible/pull/183#issuecomment-1751809582
2023-10-09 17:09:10 -04:00
Ben Curtis 22aa431a3d
config fix for postgres docker defaults (#183)
Co-authored-by: Dessalines <tyhou13@gmx.com>
2023-10-09 10:57:05 -04:00
Tim Coombs 31f11379b5
fix: force no become on localhost (#185) 2023-10-09 10:46:03 -04:00
Cody Robertson c13032288b
Merge pull request #186 from LemmyNet/ticoombs-patch-4 2023-10-09 10:22:07 -04:00
Tim Coombs a9139e225f
fix: noqa on linelength for password imports 2023-10-09 17:49:41 +11:00
Cody Robertson b5c2e92f95
Merge pull request #175 from db0/pictrs-safety
feat: pictrs-safety
2023-10-05 17:42:46 -04:00
Tim Coombs 3b451d8c5e
feat: Version 1.2.0 documentation (#179)
* Update README.md

* chore: Create a distribution matix with relevent playbooks

fixes #159

* Update README.md

Add an actual _note_ rather than a link

* chore: pictrs mention
2023-10-04 19:35:09 -04:00
Sanat Sathaye d7be6c3829
Make firewalld operations idempotent (#173)
* Use firewalld module instead of command module

* Reload firewalld with systemd module

* Convert firewalld reload to a handler

* Explicit firewalld reload is not needed

With immediate:true in ansible.posix.firewalld we don't need reload.

Thanks @codyro

* Add requirements.yml
2023-10-04 19:33:31 -04:00
Tim Coombs 6d610c9ee4
Update ansible.cfg (#178)
Removing become as it forces sudo on all servers including localhost
2023-10-04 17:36:26 -04:00
Dessalines bccdc4e3d0 Merge branch 'main' of https://github.com/LemmyNet/lemmy-ansible 2023-09-29 07:39:39 -04:00
Dessalines c20347157d Updating VERSION 2023-09-29 07:39:19 -04:00
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
db0 b6e703fe0d ref: adjusted as per comments 2023-09-27 17:58:18 +02:00
db0 98d97423ae fix: versioned the container 2023-09-24 22:52:51 +02:00
db0 a2bd86ba52 doc: wrong var 2023-09-24 00:35:55 +02:00
db0 0c23f4d51f feat: pictrs-safety 2023-09-23 22:58:17 +02:00
Cody Robertson 215d7145fb
Merge pull request #172 from codyro/docs-upgrading 2023-09-16 18:55:36 -04:00
Cody Robertson bbe8bc680b Remove sneaky " 2023-09-15 16:45:30 -04:00
Cody Robertson 550cf82bea Run prettier on README.md 2023-09-14 15:29:25 -04:00
Cody Robertson 3555ae23ae Explicitly import inventory/host_vars/{{ domain }}/vars.yml
- Refs #169
2023-09-14 15:26:37 -04:00
Cody Robertson f5bc407c6d Missing a word 2023-09-14 14:39:53 -04:00
Cody Robertson 0852352d73 Update Upgrading section, add basic sanity checks for old files and give warnings 2023-09-14 14:01:40 -04:00
Cody Robertson 9c81d79cab
Merge pull request #168 from sanatsathaye/main
Fix path to docker-daemon.json
2023-09-13 13:01:07 -04:00
Sanat Sathaye 6aaf939064 Fix path to docker-daemon.json 2023-09-13 17:02:43 +05:30
Cody Robertson 8503e65bc2
Fix change that broke notify/reload, update nginx handler (#167)
* Fix change that broke notify/reload
- Update handler to use ansible.builtin.systemd module

* Clean up `lemmy.yml` a bit more
- Use `loop` instead of `with_items`
- Use a handler & systemd module to handle nginx reloads
- Refs #166 changes suggested by @sanatsathaye

* Move `notify` key higher to satiate `ansible-lint`
2023-09-12 16:57:21 -04:00
Cody Robertson 5be6b1862a
Merge pull request #166 from Nothing4You/ansible-lint
Fix ansible-lint warnings
2023-09-11 16:57:46 -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 aae213e003
Merge pull request #160 from codyro/pictrs-configuration
Externalize pict-rs configuration, start centralizing configuration variables
2023-09-10 21:57:58 -04:00
Cody Robertson b655c61561
Merge branch 'main' into pictrs-configuration 2023-09-10 20:29:22 -04:00
Cody Robertson 701cb509a1 Move other env vars to vars.yml 2023-09-10 20:24:49 -04:00
Cody Robertson 1fa49a22dc Fix inventory path 2023-09-10 19:52:34 -04:00