16 lines
372 B
YAML
Executable file
16 lines
372 B
YAML
Executable file
---
|
|
- name: Check utils
|
|
ansible.builtin.stat:
|
|
path: /usr/local/bin/auspex
|
|
register: utils_stat
|
|
|
|
- name: Port checker off
|
|
ansible.builtin.command: /usr/local/bin/auspex_p_off.sh
|
|
register: result
|
|
when: utils_stat.stat.exists and utils_stat.stat.executable
|
|
|
|
- name: Show result
|
|
ansible.builtin.debug:
|
|
var: result.stdout
|
|
when: utils_stat.stat.exists
|
|
...
|