-
-
Save jeff/72a0a7eea6ae50af81d597ae3953ba71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
remote_user: root | |
tasks: | |
- name: opensrf diagnostic | |
command: osrf_control --localhost --diagnostic | |
environment: | |
PATH: "{{ ansible_env.PATH }}:/openils/bin" | |
become: yes | |
become_user: opensrf | |
become_method: su | |
register: diag_output | |
- name: debug | |
debug: var=diag_output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment