There was an error while loading. Please reload this page.
1 parent 9910161 commit a105b42Copy full SHA for a105b42
1 file changed
powerdns_setup.yaml
@@ -265,13 +265,17 @@
265
- hostvars[inventory_hostname]['health_check_enabled'] | default(false)
266
267
# Phase 3: PM2 Migration Path - Stage files before stopping PM2
268
- - name: MIGRATION - Create staging directory for PM2 migration
+ - name: MIGRATION - Create staging directories for PM2 migration
269
ansible.builtin.file:
270
- path: /opt/healthchecker/staging
+ path: "{{ item }}"
271
state: directory
272
owner: healthcheck
273
group: healthcheck
274
mode: "0755"
275
+ loop:
276
+ - /opt/healthchecker/staging
277
+ - /opt/healthchecker/staging/routes
278
+ - /opt/healthchecker/staging/bin
279
when:
280
281
- needs_pm2_migration | default(false)
0 commit comments