Add Alpine reset configuration

This commit is contained in:
Jiayi Hu
2020-12-28 15:58:16 +01:00
parent d22ad01d50
commit ec953544c4
5 changed files with 79 additions and 44 deletions

View File

@@ -2,8 +2,6 @@
- name: Get the list of mounted filesystems
shell: set -o pipefail && cat /proc/mounts | awk '{ print $2}' | grep -E "^{{ mounted_fs }}"
register: get_mounted_filesystems
args:
executable: /bin/bash
failed_when: false
changed_when: get_mounted_filesystems.stdout | length > 0