Commit graph

51 commits

Author SHA1 Message Date
323616f802 Force local connection on delegated op tasks
delegate_to: localhost alone still uses SSH, which hangs on the
Semaphore controller. Add connection: local so the op tasks run in
the controller process directly.
2026-04-21 01:56:22 +00:00
b7196c3fc6 Run op CLI on controller and silence secret output
The target host does not have the op CLI installed, so op invocations
must run on the Semaphore controller (delegate_to: localhost, become:
false — the controller runs rootless). Generated/loaded secrets also
leak into task logs on failure, so mark the three op tasks and the
set_fact tasks with no_log: true.
2026-04-21 01:41:43 +00:00
9358eb3302 Skip n8n Deploy stack task in check mode
The command module validates args.chdir before honoring check mode, so
dry runs fail with ENOENT on the stack dir (file task only pretends to
create it). Gate Deploy stack on ansible_check_mode — dry runs should
not run docker compose up anyway.
2026-04-21 01:37:07 +00:00
d7ee878393 Fix n8n playbook dry-run failure on 1Password lookups
Shell tasks are skipped in check mode by default, leaving op_item.stdout
empty and breaking from_json in the set_fact. The op item get calls are
read-only, so mark them check_mode: no so dry runs reflect reality.
2026-04-21 01:31:55 +00:00
9cc8a68da3 Update playbooks/n8n.yml 2026-04-20 21:25:05 -04:00
dab2403aa5 Add playbooks/templates/n8n-compose.yml.j2 2026-04-19 22:07:47 -04:00
e0666ea904 Add playbooks/templates/n8n.env.j2 2026-04-19 22:06:00 -04:00
a31914a86f Add playbooks/n8n.yml 2026-04-19 22:05:19 -04:00
1483d66e4f Refactor planka deployment to use .env file for secrets
Move all sensitive and configurable values out of compose.yaml
into a .env file (mode 0600). compose.yaml now uses ${VAR}
substitution with no embedded secrets. Added planka.env.j2
template and a dedicated Deploy .env task in the playbook.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 14:14:59 -04:00
cedebad116 Fix planka.yml secrets tasks skipped in check mode
Add `when: not ansible_check_mode` to the slurp and set_fact tasks
so that dry runs don't fail when .secrets hasn't been created yet.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 14:08:16 -04:00
f4d33ac457 Add planka.md documentation for Planka deployment playbook
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 12:55:35 -04:00
ed3d5833b7 Add Planka deployment playbook and compose template
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 12:49:18 -04:00
7ae81da55a Update playbooks/newt.yml
make sure pangolin network exists
2026-04-06 23:21:45 -04:00
4481c202a5 Add playbooks/bootstrap.yml 2026-04-02 15:07:28 -04:00
0f7deed7df Add NTFY_UPSTREAM_BASE_URL for iOS/Android push relay 2026-03-10 09:27:00 -04:00
686bb002d2 Update ntfy.yml: target prod group 2026-03-09 23:33:07 -04:00
734ee9bf88 Add playbooks/ntfy.yml 2026-03-09 23:28:43 -04:00
1d1179c009 Add playbooks/authentik.yml 2026-03-08 20:36:14 -04:00
3f6509bbaf Update playbooks/apprise.yml 2026-03-08 20:01:23 -04:00
23b011176c Update playbooks/templates/apprise.yml.j2 2026-03-08 19:58:56 -04:00
95348cfc62 Update playbooks/templates/apprise-compose.yml.j2 2026-03-08 19:57:36 -04:00
dc7ffe9efa Update playbooks/apprise.yml 2026-03-08 19:54:01 -04:00
cbc29a40c8 Update playbooks/security_updates.yml 2026-03-08 16:56:03 -04:00
b75a6ce59e Add playbooks/templates/apprise-compose.yml 2026-03-08 16:51:58 -04:00
469c8c70d1 Add playbooks/templates/apprise.yml 2026-03-08 16:51:13 -04:00
4eebe09ee3 Add playbooks/security_updates.yml 2026-03-08 16:29:10 -04:00
e141d605d3 Add inventory/hosts.ini 2026-03-08 16:14:17 -04:00
124262e876 Add support for Debian 13 - Trixie 2026-03-05 17:30:54 -05:00
bec416f937 Update playbooks/apprise.yml 2026-02-28 10:16:50 -05:00
0721b8093e Add playbooks/apprise.yml 2026-02-28 10:16:26 -05:00
61fe5563b9 Update playbooks/zabbix.yml 2026-02-23 14:48:44 -05:00
639b0dc377 Update playbooks/zabbix.yml 2026-02-23 14:41:05 -05:00
d7d3e956c2 Update playbooks/zabbix.yml 2026-02-23 14:39:36 -05:00
3cd4148678 Update playbooks/zabbix.yml 2026-02-23 14:38:04 -05:00
ca4951bc8b Update playbooks/zabbix.yml 2026-02-23 14:36:57 -05:00
0b4fef875d Update playbooks/zabbix.yml 2026-02-23 13:49:29 -05:00
bb05c4e55e Update playbooks/zabbix.yml 2026-02-23 13:48:52 -05:00
009cecd03f Update playbooks/zabbix.yml 2026-02-23 13:43:47 -05:00
f9c8b5d008 Add playbooks/zabbix.yml 2026-02-23 13:41:49 -05:00
d202678eab Update playbooks/newt.yml 2026-02-23 12:34:29 -05:00
b80fed3fc8 Update playbooks/newt.yml 2026-02-23 12:26:01 -05:00
f693d7231a Add newt playbook 2026-02-23 17:24:46 +00:00
5458fa5a91 Add ansible.cfg 2026-02-23 12:12:36 -05:00
c8d1ba9ce0 Add docker role from legacy ansible host 2026-02-23 17:09:54 +00:00
bcf531a8eb Add playbooks/docker.yml 2026-02-23 12:04:43 -05:00
67693061e6 Update inventories/internal-prod 2026-02-23 12:04:04 -05:00
d017523c7e Add playbooks/patch.yml 2026-02-23 11:55:41 -05:00
6ab0956b3e Add roles/.gitkeep 2026-02-23 11:35:03 -05:00
38be4c59e1 Add playbooks/ping.yml 2026-02-23 11:34:46 -05:00
d9742c6798 Add inventories/internal-prod 2026-02-23 11:34:21 -05:00