]> git.somenet.org - root/pub/somesible.git/blob - roles/cleanup/tasks/run-command.yml
[roles/cleanup] Cleanup stuff. Levels above 5 should be followed by or part of a...
[root/pub/somesible.git] / roles / cleanup / 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 "{{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}}"