]> git.somenet.org - root/pub/somesible.git/blob - roles/custom-command/tasks/run-command.yml
[roles/util] ----- meta ----- No dependencies
[root/pub/somesible.git] / roles / custom-command / tasks / run-command.yml
1 #####################################
2 ### someone's ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2024 by someone <someone@somenet.org>
6 #
7 ---
8 - name: run custom shell command "{{cmd}}"
9   shell: "{{cmd}}"
10   register: cmd_output
11   ignore_errors: True
12
13
14 - name: result of "{{cmd}}"
15   debug:
16     msg: "{{cmd_output.stdout_lines}}"