first pass at incorporating mesh setup/config

This commit is contained in:
Lee Goolsbee
2024-03-25 12:55:28 -05:00
parent 1c461004c3
commit a902044657
20 changed files with 1301 additions and 580 deletions

View File

@@ -0,0 +1,20 @@
---
- name: try to create lease_lock directory in efs for this test_orphan_vol
ansible.builtin.file:
path: '{{ atl_shared_mountpoint }}/.{{ test_orphan_vol }}'
state: directory
mode: '0755'
register: orphan_vol_lease_lock
ignore_errors: yes
when: orphan_vol is not defined
- name: Set orphan_vol fact on successful lock test
ansible.builtin.set_fact:
orphan_vol: '{{ test_orphan_vol }}'
changed_when: true
notify: Remove orphan_vol lease_lock
when:
- orphan_vol is not defined
- orphan_vol_lease_lock is defined
- orphan_vol_lease_lock.changed
tags: molecule-idempotence-notest