Compare commits

..

No commits in common. "37da57bfccdc8d74a20d4b5f5f35f6ee695f304d" and "54dd284d45defc187dd2677a8fa38393b53ea65b" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,6 @@
--- ---
- name: update repo - name: update repo
shell: yum check-update shell: yum check-update
register: update_exists
failed_when: update_exists.rc != 100 and update_exists.rc != 0
args: args:
warn: false warn: false

View File

@ -65,7 +65,7 @@ fi
MEM=$(grep /proc/meminfo \ MEM=$(grep /proc/meminfo \
-e 'MemTotal' -e 'MemAvailable' -e 'MemFree' \ -e 'MemTotal' -e 'MemAvailable' -e 'MemFree' \
-e 'SwapTotal' -e 'SwapFree' \ -e 'SwapTotal' -e 'SwapFree' \
| numfmt --field 2 --to=iec | sed 's/M/G/g' | sed 's/ kB//g') | numfmt --field 2 --from-unit=Ki --to=iec | sed 's/ kB//g')
if [ -n "${MEM}" ]; then if [ -n "${MEM}" ]; then
TXT_MSG=$(cat <<-END TXT_MSG=$(cat <<-END
${TXT_MSG} ${TXT_MSG}