MINOR: some minor constants changed
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
physical:
|
physical:
|
||||||
hosts:
|
hosts:
|
||||||
192.168.0.40:
|
192.168.0.45:
|
||||||
ansible_become_password: "{{ ansible_become_passwd }}"
|
ansible_become_password: "{{ ansible_become_passwd }}"
|
||||||
|
|||||||
@@ -37,6 +37,6 @@
|
|||||||
- name: Update and install packages on Alpine
|
- name: Update and install packages on Alpine
|
||||||
when: (ansible_facts['distribution'] == "Alpine")
|
when: (ansible_facts['distribution'] == "Alpine")
|
||||||
community.general.apk:
|
community.general.apk:
|
||||||
name: vim ranger zsh rsync git curl kitty
|
name: vim ranger zsh rsync git curl kitty openssh
|
||||||
update_cache: true
|
update_cache: true
|
||||||
remote_user: ansible
|
remote_user: ansible
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
become: false
|
become: false
|
||||||
ansible.builtin.shell: set -o pipefail && df -h / | tail -1 | awk '{gsub(/%/, "", $5); print $5}'
|
ansible.builtin.shell: set -o pipefail && df -h / | tail -1 | awk '{gsub(/%/, "", $5); print $5}'
|
||||||
register: common_healthcheck_result
|
register: common_healthcheck_result
|
||||||
failed_when: common_healthcheck_result.stdout | int > 1
|
failed_when: common_healthcheck_result.stdout | int > 85
|
||||||
changed_when: false # This task does not change the system
|
changed_when: false # This task does not change the system
|
||||||
|
|
||||||
rescue:
|
rescue:
|
||||||
|
|||||||
Reference in New Issue
Block a user