instructions premande
This commit is contained in:
16
fail_when.yml
Normal file
16
fail_when.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
- hosts: cibles
|
||||
tasks:
|
||||
- name: send script
|
||||
copy:
|
||||
src: random.sh
|
||||
dest: /tmp//random.sh
|
||||
mode: 0750
|
||||
|
||||
- name: execute script
|
||||
command: /tmp/random.sh
|
||||
register: result
|
||||
|
||||
- name: display result
|
||||
debug:
|
||||
var: result
|
||||
Reference in New Issue
Block a user