Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
927 commits
Select commit Hold shift + click to select a range
f1f8ff1
Merge pull request #1384 from jakobmeusburger/master
swalkinshaw May 23, 2022
c7729fc
💬 update README
retlehs May 31, 2022
c2f6eeb
Split is installed check into a non-multisite and a mulitsite specifi…
strarsis May 31, 2022
49d95c9
Fix `when` for defining variable used in multisite-specific check.
strarsis Jun 1, 2022
4952e88
Group "WordPress Installed" non-multisite and multisite tasks into An…
strarsis Jun 1, 2022
2f1cfe0
Fix when lines.
strarsis Jun 1, 2022
e1e82a8
Make `strpos` `empty needle` PHP warning match less strict (omit line…
strarsis Jun 1, 2022
cc07d1e
fix: set mjs as application/javascript in h5bp (#1383)
kellymears Jun 1, 2022
8edc250
Improve task names (invoke).
strarsis Jun 1, 2022
e42880d
Merge pull request #1388 from strarsis/fix-add-conditional-multi-sing…
swalkinshaw Jun 1, 2022
31fdfa3
Merge pull request #1378 from hemangajmera/patch-3
swalkinshaw Jun 6, 2022
868d6c3
Fix discourse release tags
swalkinshaw Jun 9, 2022
b419b8b
[skip ci] Update discourse release tags
swalkinshaw Jun 9, 2022
7195580
Change is-installed check to exempt DB error dump PHP warning for not…
strarsis Jun 11, 2022
b58ca90
Clean up now unused `tmp_multisite_constants.php`.
strarsis Jun 11, 2022
c982803
Improve name.
strarsis Jun 11, 2022
3bea855
Remove unused `tmp_multisite_constants.php` source file.
strarsis Jun 12, 2022
6338bd2
Merge pull request #1391 from strarsis/fix-is-installed-check-unconfi…
swalkinshaw Jun 12, 2022
3122748
Limit ansible version range in `>=2.10.0,<6`
tangrufus Jun 24, 2022
9301155
Merge pull request #1396 from TangRufus/patch-2
swalkinshaw Jun 24, 2022
7659e79
Fix ansible incompatibility with `Failed connection to remote repo`
tangrufus Jun 24, 2022
e497cfe
Merge pull request #1397 from TangRufus/patch-2
swalkinshaw Jun 24, 2022
04213bf
Switch order of PHP operations
robrecord Jul 1, 2022
0d4bd8e
Set max journal log file size
robrecord Jul 1, 2022
b3529c5
Merge pull request #1395 from robrecord/patch-1
swalkinshaw Jul 4, 2022
5411c18
Merge pull request #1399 from robrecord/robrecord-patch-1307
swalkinshaw Jul 4, 2022
7a8ec52
Fix shared folder permissions
swalkinshaw Jul 10, 2022
30ab12a
chore: Use new `requirements.yml` format
codepuncher Jul 4, 2022
cc25e69
Merge pull request #1402 from codepuncher/patch-1
swalkinshaw Jul 15, 2022
ad7e495
Merge pull request #1403 from roots/fix-shared-folder-permissions
swalkinshaw Jul 15, 2022
8ad39dc
Update CHANGELOG
swalkinshaw Jul 18, 2022
ef81dea
Remove broken and unused cli import
swalkinshaw Jul 18, 2022
0e62aa1
Merge pull request #1404 from roots/remove-broken-cli-import
swalkinshaw Jul 18, 2022
7b5d976
v1.16.0
swalkinshaw Jul 18, 2022
e3327d6
Update hb5p cache expiration conf
swalkinshaw Jul 19, 2022
c5320cf
Update cross origin requests confs
swalkinshaw Jul 19, 2022
a36214c
Update mime types
swalkinshaw Jul 19, 2022
8c0dee6
[skip ci] Update CHANGELOG
swalkinshaw Jul 20, 2022
e6bb065
Merge pull request #1406 from roots/update-hb5p-configs
swalkinshaw Jul 20, 2022
5fde327
Fix warnings for missing nginx-includes paths
swalkinshaw Jul 20, 2022
b06a2f3
Fix warnings for missing fail2ban filters paths
swalkinshaw Jul 20, 2022
5827b36
Merge pull request #1407 from roots/fix-warnings-for-missing-paths
swalkinshaw Jul 20, 2022
9c6f1ef
Update mailhog galaxy role
swalkinshaw Jul 20, 2022
892afe0
Merge pull request #1410 from roots/update-mailhog-galaxy-role
swalkinshaw Jul 20, 2022
6c78027
Disable HSTS includeSubdomains by default
swalkinshaw Jul 20, 2022
048e568
Merge pull request #1409 from roots/hsts-disable-include-subdomains-b…
swalkinshaw Jul 21, 2022
2f5b06a
Run composer check-platform-reqs during deploy
swalkinshaw Jul 21, 2022
28f1e5d
Improve composer authentications password handling
swalkinshaw Jul 22, 2022
9458545
Remove deprecated packagist token
swalkinshaw Jul 22, 2022
2decc06
Merge pull request #1411 from roots/add-composer-check-to-deploy
swalkinshaw Jul 22, 2022
7357bf3
Quote username and hostname too
swalkinshaw Jul 22, 2022
8104b1d
Merge pull request #1412 from roots/improve-composer-authentication-p…
swalkinshaw Jul 22, 2022
e703d9d
Simplify Nginx no-default sites
swalkinshaw Jul 27, 2022
ef015f6
Uninstall Nginx from base GitHub image
swalkinshaw Jul 27, 2022
31d51a3
Merge pull request #1414 from roots/simplify-nginx-no-default-site-ssl
swalkinshaw Jul 27, 2022
613e045
Fix backwards compat for ssl.no-default conf
swalkinshaw Aug 4, 2022
9efd3c0
Merge pull request #1415 from roots/make-ssl-no-default-site-change-b…
swalkinshaw Aug 4, 2022
e6aa8e5
Add integration test step for second deploy
swalkinshaw Aug 5, 2022
783dd1c
Merge pull request #1417 from roots/add-integration-step-for-second-d…
swalkinshaw Aug 5, 2022
5d5d1d2
Replace with_ usage with `loop`
swalkinshaw Aug 5, 2022
d55b18d
debugging
swalkinshaw Aug 6, 2022
0401078
Update CHANGELOG
swalkinshaw Aug 6, 2022
c87f502
Merge pull request #1416 from roots/update-loops
swalkinshaw Aug 6, 2022
b594280
Remove debugging
swalkinshaw Aug 6, 2022
9d630c8
Remove custom output callback plugin
swalkinshaw Aug 8, 2022
8b9b973
Merge pull request #1418 from roots/remove-custom-output-callback
swalkinshaw Aug 9, 2022
19c5abb
Update Vagrant required version
swalkinshaw Aug 10, 2022
351748a
Merge pull request #1420 from roots/update-vagrant-version-constraints
swalkinshaw Aug 10, 2022
56a66ea
[skip ci] Update changelog
swalkinshaw Aug 10, 2022
8b1bc5a
Remove dynamic SSH key host checks
swalkinshaw Nov 19, 2021
0f50953
Merge pull request #1419 from roots/remove-dynamic-host-key-checking
swalkinshaw Aug 10, 2022
f18700f
📝 update README
retlehs Aug 11, 2022
e9e7c37
Disable Landrush DNS Resolver in Parallels
craigpearson Aug 12, 2022
2691745
🔧 Change MariaDB PPA mirror to Rackspace (#1422)
retlehs Aug 15, 2022
7e8e241
Merge pull request #1421 from craigpearson/hotfix/parallels-landrush-…
swalkinshaw Aug 16, 2022
4c2bb35
Composer Authentication: Add support for `bearer`, `gitlab-oauth`, `g…
tangrufus Jul 26, 2022
a746077
Add "text/javascript" to Nginx gzip_types (#1424)
pacotole Sep 13, 2022
82a7893
🔧 Sage 10 deploy: Fail if entrypoints is missing (#1426)
retlehs Sep 25, 2022
b17bf49
Don't use sudo for composer authentications (#1427)
swalkinshaw Sep 27, 2022
54e3844
v1.17.0
swalkinshaw Sep 28, 2022
d5bf440
fix: missing var (#1429)
LucasDemea Oct 6, 2022
5fbd429
Automate arm64 Vagrant box support (#1431)
swalkinshaw Oct 14, 2022
e4764e3
[Security] Due to the default caching of POST requests personal infor…
craigpearson Oct 14, 2022
d73567e
Skip cache for OPTIONS requests (#1435)
swalkinshaw Oct 15, 2022
11dc0cc
Support ARM64 arch in Mailhog role (#1432)
swalkinshaw Oct 15, 2022
d2b0d12
Configure Renovate (#1436)
renovate[bot] Oct 15, 2022
f731dae
Update renovate managers
swalkinshaw Oct 15, 2022
eb202fa
Fix renovate config
swalkinshaw Oct 15, 2022
a23771a
v1.18.0 changelog
swalkinshaw Nov 8, 2022
58ee7e3
Prevent ansible-core 2.13.6 (#1448)
swalkinshaw Nov 10, 2022
c91c779
Close #1442 - Enable PHP opcache in development (#1447)
swalkinshaw Nov 11, 2022
b274b01
Remove deprecated warn usage (#1450)
swalkinshaw Nov 27, 2022
169ebc7
Merge pull request #1413 from TangRufus/composer-auth-principles
tangrufus Dec 4, 2022
5864220
Update `wp_cli_version` to 2.7.1 (#1451)
tangrufus Dec 5, 2022
7676f8b
Ensure ubuntu-20.04 is used in GitHub workflows (#1454)
swalkinshaw Dec 11, 2022
514b794
Disable chown site directory task by default (#1452)
swalkinshaw Dec 11, 2022
0927fa6
Update galaxy.yml (#1455)
E-VANCE Dec 15, 2022
0acbde2
Allow remote and local database (#1456) (#1457)
TimmePfeife Dec 15, 2022
8038b1a
Tweak multisite cron job to fix standard output (#1458)
E-VANCE Dec 15, 2022
b983f7e
Fix sshd config - set AcceptEnv conditionally (#1453)
swalkinshaw Dec 17, 2022
1789d2e
Update changelog
swalkinshaw Dec 17, 2022
dbee152
Remove ansible-core version constraint (#1459)
swalkinshaw Dec 17, 2022
ddb322e
Update to MariaDB 10.6 (#1460)
swalkinshaw Dec 17, 2022
dbc2037
Set SendEnv conditionally (#1463)
clintonb Dec 18, 2022
3ea20a3
📝 Update CHANGELOG
retlehs Jan 2, 2023
c8e850e
Update workflow dependencies (#1465)
swalkinshaw Jan 2, 2023
676e9b6
Set development web_user to ansible_user (#1464)
swalkinshaw Jan 2, 2023
5e47bd9
📝 Update README
retlehs Jan 10, 2023
bdcbc63
Add repo-token to setup-trellis-cli step in CI
swalkinshaw Jan 27, 2023
445572b
Update boxes to Ubuntu 22.04 (#1461)
swalkinshaw Jan 28, 2023
47d4a74
Composer Authentications: Fix `loop_var` already in use issue (#1469)
tangrufus Feb 3, 2023
3aae194
Install wp as the default user (#1470)
LucasDemea Feb 7, 2023
756319f
🔧 Allow non-default upload_path (#1471)
retlehs Feb 10, 2023
c1ea8a5
Vagrant: disable NFS udp by default (#1472)
swalkinshaw Feb 10, 2023
48405a1
Run SSH key generate task for local provision only (#1473)
swalkinshaw Feb 11, 2023
d4f46d2
🔒️ Disable xmlrpc by default (#1467)
retlehs Feb 12, 2023
c9fa841
Update CHANGELOG
swalkinshaw Feb 12, 2023
b6bf716
fix: trim strict-transport-security header (#1478)
LucasDemea Feb 22, 2023
a114410
Replace MailHog with Mailpit (#1474)
swalkinshaw Feb 23, 2023
813eec0
Fix ansible_user references for local provisioning (#1479)
swalkinshaw Feb 24, 2023
23cafb4
📝 Update README
retlehs Feb 28, 2023
1bfb2d7
Fix invalid arg error in ferm task (#1480)
swalkinshaw Mar 7, 2023
d39e989
v1.20.1 changelog
swalkinshaw Mar 7, 2023
9299457
📝 Update README [ci skip]
retlehs Mar 8, 2023
68cbc41
use appropriate mount_option for 'parallels' provider (Apple Silicon,…
code23-barna Mar 14, 2023
69d1819
🔧 Default to PHP 8.1 (#1484)
retlehs Apr 5, 2023
dc941c4
🔧 Add optional PHP 8.2 support (#1485)
retlehs Apr 5, 2023
02cfc36
📝 Update CHANGELOG [ci skip]
retlehs Apr 5, 2023
4c00920
Update deploy.yml (#1487)
E-VANCE May 11, 2023
fcafede
Fix issue with variable name 'site' clashing when setting composer au…
dalepgrant May 15, 2023
268509a
Add libvirt support to Vagrant (#1490)
May 26, 2023
f62a57c
Fix libvirt vagrant provider config
May 27, 2023
aa136d3
Update Bitbucket Cloud SSH Host Keys (#1492)
rkaalma May 30, 2023
5642f86
Update `wp_cli_version` to 2.8.0 (#1493)
retlehs Jun 5, 2023
b2d2095
Update build-after.yml (#1489)
MikeiLL Jun 22, 2023
c9f4dd9
CLI config updates (#1486)
swalkinshaw Jun 22, 2023
f1377d1
Add PHP-FPM conf and tuning settings (#1496)
swalkinshaw Jul 25, 2023
e0cdc3d
Add MariaDB server config for optimizatons (#1497)
swalkinshaw Jul 26, 2023
d7389a3
Update wp_cli_version to 2.8.1 (#1500)
chrillep Aug 10, 2023
fd56f62
Update documentation link (#1502)
joshuafredrickson Aug 22, 2023
c7951a6
Enable PHP OPCache overwrites for `max_wasted_percentage` & `huge_cod…
E-VANCE Sep 21, 2023
ef2de21
📝 Update README [ci skip]
retlehs Sep 27, 2023
725402e
Add `cron` to default `apt` packages (#1506)
strarsis Oct 3, 2023
f692b33
📝 Update README [ci skip]
retlehs Oct 11, 2023
4e13d8d
Update `wp_cli_version` to 2.9.0 (#1508)
retlehs Oct 25, 2023
ff74ca2
Add PHP JIT and enable it by default (#1505)
strarsis Nov 16, 2023
1ef1c2f
📝 Update README [ci skip]
retlehs Dec 7, 2023
36c8491
📝 Update README [ci skip]
retlehs Dec 11, 2023
0b1fff7
📝 Update README [ci skip]
retlehs Apr 4, 2024
d0c75a9
🔧 Default to PHP 8.2, add PHP 8.3 support (#1514)
retlehs Apr 19, 2024
801a825
🐛 Fix MariaDB apt-key is deprecated failure (#1515)
retlehs Apr 23, 2024
b791d54
📝 Update CHANGELOG [ci skip]
retlehs Apr 24, 2024
a085156
Fix Nginx apt-key is deprecated failure (#1518)
Twansparant May 30, 2024
daf531f
📝 Update CHANGELOG [ci skip]
retlehs May 30, 2024
fb1812d
⬆️ Update MariaDB to 10.11 (#1520)
retlehs May 30, 2024
db7341f
📝 Update README [ci skip]
retlehs Jun 2, 2024
c46ae4f
Fix typo in all/vault.yml (#1522)
Dyras Jun 10, 2024
80a491e
🐛 Fix undefined method `exists?` error (#1524)
1dkfa Jun 13, 2024
fbd8b41
prevent warnings running composer as root (#1527)
adleviton Jul 4, 2024
ab4226b
Use `http2` and `http3` `nginx` directives (#1529)
strarsis Jul 23, 2024
b9eb66f
✨ Ubuntu 24.04 support (#1519)
retlehs Jul 30, 2024
68a9de2
👷 Update Renovate config - Ref #1423
retlehs Aug 11, 2024
85b4e09
⬆️ Update WP-CLI to v2.11.0 (#1533)
retlehs Aug 11, 2024
aece810
👷 Use Renovate for Ansible Galaxy roles (#1537)
retlehs Aug 11, 2024
72ab6d9
Update actions/cache action to v4 (#1534)
renovate[bot] Aug 12, 2024
ebf54d1
Update actions/checkout action to v4 (#1535)
renovate[bot] Aug 12, 2024
1167643
Update dependency composer to v1.9.2 (#1539)
renovate[bot] Aug 12, 2024
69cab1e
Update dependency swapfile to v2.0.38 (#1540)
renovate[bot] Aug 12, 2024
c1f1162
Update actions/setup-python action to v5 (#1538)
renovate[bot] Aug 13, 2024
c1a8ec4
Fix broken local development docs URL (#1543)
gutobenn Aug 16, 2024
a44d687
Update dependency ntp to v2.5.0 (#1541)
renovate[bot] Aug 18, 2024
1e505b3
Conditionally add HTTPS inbound allow firewall rule (#1530)
strarsis Aug 18, 2024
ca9b648
Fix tags for common variable validations (#1544)
swalkinshaw Aug 18, 2024
dcb581b
Allow overriding 'pm' in PHP-FPM's pool config (#1542)
gutobenn Aug 19, 2024
af7d98f
👷 Check and update WP-CLI version (#1545)
retlehs Aug 19, 2024
aa9a8bf
Update peter-evans/create-pull-request action to v7 (#1546)
renovate[bot] Sep 3, 2024
a5040ad
Update CHANGELOG [ci skip]
retlehs Sep 11, 2024
1361989
📄 Update name
retlehs Nov 13, 2024
9a45aab
📝 Update README [ci skip]
retlehs Nov 13, 2024
0aeed2a
Use proper `$host` for FastCGI `SERVER_NAME` param. (#1552)
strarsis Nov 23, 2024
32dd18d
Fix Python string escape sequences (#1554)
swalkinshaw Dec 21, 2024
19b4bf6
📝 Update README [ci skip]
retlehs Dec 22, 2024
ae31b0f
add http_x_http_method_override var to fastcgi_cache_key directive (#…
AltanS Jan 27, 2025
3b580ff
📝 Update README [ci skip]
retlehs Feb 20, 2025
9e7e3a9
Update dependency ntp to v2.7.0 (#1553)
renovate[bot] Feb 27, 2025
4dd189e
Update dependency swapfile to v2.0.42 (#1549)
renovate[bot] Feb 27, 2025
d1285d0
🔧 FastCGI Cache: Stop ignoring Cache-Control headers (#1555)
retlehs Feb 27, 2025
b044210
Update build-before.yml for Sage 11 (#1559)
retlehs Mar 3, 2025
94dc324
🔧 PHP 8.4 support (#1560)
retlehs Mar 6, 2025
c4c9714
Remove Let's Encrypt contact email support (#1558)
swalkinshaw Mar 6, 2025
d4b6f29
Remove OCSP stapling (#1557)
swalkinshaw Mar 6, 2025
1393efb
Remove "production" from asset compilation titles (#1566)
joshuafredrickson Mar 27, 2025
7a4d492
🩹 Add retry to adding PPA's (#1568)
retlehs Apr 2, 2025
863ed99
Refactor PHP role to support future versions by default (#1511)
dalepgrant Apr 3, 2025
f9b770b
Flush rewrite rules at the end of each deploy (#1567)
Apr 12, 2025
a77ff88
Replace link for creating CSP (#1564)
Dyras Apr 12, 2025
668f867
Update build-after.yml to say Sage 11 instead of Sage 10 (#1570)
Dyras Apr 26, 2025
be3d945
Update WP-CLI version to 2.12.0 (#1574)
github-actions[bot] May 8, 2025
1ccf72c
Allow removal of old SSH keys on provision (#1576)
dalepgrant May 20, 2025
ed23739
Filter Nginx includes by sites present on target server (#1573)
dalepgrant May 21, 2025
0218145
Allow cleaning apt sources on provision (#1578)
dalepgrant May 21, 2025
e8f1043
⬆️ Use PHP 8.3 by default (#1580)
retlehs Jun 25, 2025
f848a01
`wp-cli-version-check.yml`: Use `gh` to fetch WP CLI release info (#1…
tangrufus Jul 10, 2025
d999d24
Add `X-Cache-Enabled` HTTP header (#1513)
strarsis Jul 21, 2025
fe6d470
Run ferm role when letsencrypt tag is defined on provision (#1588)
zak-wearecore Jul 29, 2025
2cb663d
Update acme_tiny_repo (#1582)
johnkraczek Jul 30, 2025
0c95ea1
Update actions/checkout action to v5 (#1591)
renovate[bot] Aug 11, 2025
608621e
Replace deprecation distutils version usage (#1590)
swalkinshaw Aug 14, 2025
2517385
✨ Add Redis object cache support (#1589)
retlehs Aug 15, 2025
d3f514a
Fix HSTS header omitted parts (#1592)
biinari Aug 15, 2025
7c50c29
Change npm command to 'npm ci' in build example (#1597)
retlehs Sep 8, 2025
74c6b73
Add ansible-core version constraint (#1600)
retlehs Sep 11, 2025
605670a
📝 Update README [ci skip]
retlehs Sep 19, 2025
852af29
Update CHANGELOG [ci skip]
retlehs Sep 19, 2025
b5b0a5f
📝 Update README [ci skip]
retlehs Sep 25, 2025
fbcc20f
Add WordPress sites to `/etc/hosts` (#1606)
retlehs Sep 27, 2025
71dca91
Set php_fpm_process_control_timeout to 10 to prevent deploy downtime …
Dyras Oct 5, 2025
1bc0331
Update dependency ntp to v3 (#1605)
renovate[bot] Oct 5, 2025
e10618f
✨ Flush cache after deploy (#1604)
retlehs Oct 5, 2025
95883bf
Update CHANGELOG [ci skip]
retlehs Oct 6, 2025
6e8f063
Remove FLUSHDB from redis_disabled_commands (#1609)
zak-wearecore Oct 8, 2025
ff29c02
Refactor User password hash creation (#1607)
swalkinshaw Oct 13, 2025
2b3875a
Update actions/setup-python action to v6 (#1596)
renovate[bot] Oct 13, 2025
dce9ff0
Improve common var definitions (#1593)
swalkinshaw Oct 13, 2025
a644a42
Add `select_sites` custom filter (#1611)
swalkinshaw Oct 14, 2025
787b772
Remove complex duplicate sites validation (#1612)
swalkinshaw Oct 14, 2025
55f2870
Add a User-Agent header to test_challenges.py. (#1595)
antti-ucla Oct 15, 2025
471dcd3
Revert "Improve common var definitions (#1593)" (#1613)
swalkinshaw Oct 15, 2025
e805cb2
Update dependency python to 3.14 (#1562)
renovate[bot] Oct 15, 2025
c93f4ad
Set git depth to 1 for deploy role (#1616)
dalepgrant Oct 15, 2025
e22176f
Set php-fpm log_level to fix 'unknown value' (#1615)
dalepgrant Oct 15, 2025
acf3698
Use double quotes for env values (#1617)
swalkinshaw Oct 16, 2025
2bc7bfe
fix: add missing ssl directives (#1476)
LucasDemea Oct 16, 2025
503edb4
Remove SSH settings validation (#1614)
swalkinshaw Oct 16, 2025
d02814a
Remove timezone validation (#1618)
swalkinshaw Oct 16, 2025
aa1905c
Remove memcached_fs_file_max setting (#1619)
swalkinshaw Oct 16, 2025
6156b76
Remove dot in network database message (#1621)
Dyras Oct 20, 2025
9eea90d
Drop Vagrant support (#1622)
retlehs Oct 23, 2025
946f43c
Update CHANGELOG [ci skip]
retlehs Oct 23, 2025
e23b989
Remove CHANGELOG [ci skip]
retlehs Oct 24, 2025
730395d
Update README [ci skip]
retlehs Oct 25, 2025
835a983
Use sudo for become method (#1624)
swalkinshaw Nov 15, 2025
97b48cc
chore(deps): update peter-evans/create-pull-request action to v8 (#1627)
renovate[bot] Dec 10, 2025
953bce5
chore(deps): update actions/checkout action to v6 (#1626)
renovate[bot] Dec 16, 2025
0f5bc42
Git branch: Default to main (#1629)
retlehs Dec 30, 2025
7377a7b
chore(deps): update actions/cache action to v5 (#1628)
renovate[bot] Dec 31, 2025
320cbd1
feat(plugins): deny access to .txt and .md files in plugin directorie…
AltanS Dec 31, 2025
703c9f7
chore(deps): update dependency ntp to v4 (#1631)
renovate[bot] Jan 13, 2026
a8b88f1
Ansible 2.19 support (#1620)
swalkinshaw Jan 13, 2026
fe21a35
Fix `ansible_user` detection condition (#1635)
swalkinshaw Jan 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.gitattributes export-ignore
/.github export-ignore
1 change: 0 additions & 1 deletion .github/CONTRIBUTING.md

This file was deleted.

65 changes: 0 additions & 65 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

42 changes: 42 additions & 0 deletions .github/actions/setup-step-ca/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Setup Step CA ACME server
description: Installs and runs an ACME compatible server via step-ca
inputs:
path:
description: 'step-ca path'
required: false
default: /root/.step
runs:
using: composite
steps:
- name: Set STEP_CA_PATH env
run: echo STEP_CA_PATH=${{ inputs.path }} >> $GITHUB_ENV
shell: bash
- name: Download packages
run: |
wget -q https://dl.step.sm/gh-release/cli/docs-ca-install/v0.18.1/step-cli_0.18.1_amd64.deb
wget -q https://dl.step.sm/gh-release/certificates/docs-ca-install/v0.18.1/step-ca_0.18.1_amd64.deb
shell: bash
- name: Install packages
run: |
sudo dpkg -i step-cli_0.18.1_amd64.deb
sudo dpkg -i step-ca_0.18.1_amd64.deb
shell: bash
- name: Create password file
run: |
sudo mkdir $STEP_CA_PATH && sudo touch $STEP_CA_PATH/password.txt
echo $(openssl rand -hex 12) | sudo tee $STEP_CA_PATH/password.txt
shell: bash
- name: Initialize
run: |
sudo step ca init --name trellis-local-ca --dns 127.0.0.1 --address :8443 --provisioner admin --password-file $STEP_CA_PATH/password.txt --provisioner-password-file $STEP_CA_PATH/password.txt
sudo step ca provisioner add acme --type ACME
shell: bash
- name: Install certificate to system
run: |
sudo step certificate install $STEP_CA_PATH/certs/root_ca.crt
shell: bash
- name: Run service
run: |
sudo cp .github/files/step-ca.service /etc/systemd/system/step-ca.service
sudo systemctl start step-ca
shell: bash
4 changes: 4 additions & 0 deletions .github/files/inventory
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[production]
localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python3
[web]
localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python3
15 changes: 15 additions & 0 deletions .github/files/step-ca.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[Unit]
Description=step-ca service
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
Environment=STEPPATH=/root/.step
WorkingDirectory=/root/.step
ExecStart=/usr/bin/step-ca config/ca.json --password-file password.txt

[Install]
WantedBy=multi-user.target
48 changes: 48 additions & 0 deletions .github/files/vault.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Documentation: https://roots.io/trellis/docs/vault/
vault_mysql_root_password: productionpw

# Documentation: https://roots.io/trellis/docs/security/
vault_users:
- name: "{{ admin_user }}"
password: example_password
salt: "generateme"

# Variables to accompany `group_vars/production/wordpress_sites.yml`
# Note: the site name (`example.com`) must match up with the site name in the above file.
vault_wordpress_sites:
example.com:
env:
db_password: example_dbpassword
# Generate your keys here: https://roots.io/salts.html
auth_key: "generateme"
secure_auth_key: "generateme"
logged_in_key: "generateme"
nonce_key: "generateme"
auth_salt: "generateme"
secure_auth_salt: "generateme"
logged_in_salt: "generateme"
nonce_salt: "generateme"
example-https.com:
env:
db_password: example_dbpassword
# Generate your keys here: https://roots.io/salts.html
auth_key: "generateme"
secure_auth_key: "generateme"
logged_in_key: "generateme"
nonce_key: "generateme"
auth_salt: "generateme"
secure_auth_salt: "generateme"
logged_in_salt: "generateme"
nonce_salt: "generateme"
redis.example.com:
env:
db_password: example_dbpassword
# Generate your keys here: https://roots.io/salts.html
auth_key: "generateme"
secure_auth_key: "generateme"
logged_in_key: "generateme"
nonce_key: "generateme"
auth_salt: "generateme"
secure_auth_salt: "generateme"
logged_in_salt: "generateme"
nonce_salt: "generateme"
50 changes: 50 additions & 0 deletions .github/files/wordpress_sites.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
wordpress_sites:
example.com:
site_hosts:
- canonical: example.com
redirects:
- www.example.com
local_path: ../site
repo: [email protected]:roots/bedrock.git
branch: master
multisite:
enabled: false
ssl:
enabled: false
provider: letsencrypt
cache:
enabled: true
example-https.com:
site_hosts:
- canonical: example-https.com
redirects:
- www.example-https.com
local_path: ../site
repo: [email protected]:roots/bedrock.git
branch: master
multisite:
enabled: false
ssl:
enabled: true
provider: letsencrypt
cache:
enabled: false
redis.example.com:
site_hosts:
- canonical: redis.example.com
redirects:
- www.redis.example.com
local_path: ../site
repo: [email protected]:roots/bedrock.git
branch: master
multisite:
enabled: false
ssl:
enabled: false
provider: letsencrypt
cache:
enabled: true
object_cache:
enabled: true
provider: redis
database: 0
18 changes: 18 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^galaxy\\.ya?ml$"],
"matchStrings": [
"- name: (?<depName>[^\\n]+)\\n\\s+src: (?<packageName>[^\\n]+)\\n\\s+version: (?<currentValue>[^\\n]+)"
],
"datasourceTemplate": "galaxy",
"versioningTemplate": "loose"
}
],
"github-actions": {
"enabled": true
}
}
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: ci

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ['3.x']
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
architecture: x64
cache: 'pip'
- run: pip install -r requirements.txt
- uses: actions/cache@v5
with:
path: vendor
key: ${{ runner.os }}-galaxy-${{ hashFiles('galaxy.yml') }}
- run: ansible-galaxy install -r galaxy.yml
- name: Check playbook syntax
run: |
ansible-playbook --syntax-check -e env=development deploy.yml
ansible-playbook --syntax-check -e env=development dev.yml
ansible-playbook --syntax-check -e env=development server.yml
ansible-playbook --syntax-check -e env=development rollback.yml
ansible-playbook --syntax-check -e xdebug_tunnel_inventory_host=1 xdebug-tunnel.yml
17 changes: 17 additions & 0 deletions .github/workflows/discourse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Post release topic on Discourse

on:
release:
types: [published]

jobs:
post:
runs-on: ubuntu-latest
steps:
- uses: roots/discourse-topic-github-release-action@main
with:
discourse-api-key: ${{ secrets.DISCOURSE_RELEASES_API_KEY }}
discourse-base-url: ${{ secrets.DISCOURSE_BASE_URL }}
discourse-author-username: swalkinshaw
discourse-category: 12
discourse-tags: releases
Loading