rajout exemple inventaire et group_vars et host_vars
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
- name: foo
|
||||
become: false
|
||||
hosts: machines
|
||||
tasks:
|
||||
- name: bar
|
||||
debug:
|
||||
msg: "hello world: {{ var_machine }}"
|
||||
@@ -0,0 +1 @@
|
||||
var_machine: foo
|
||||
@@ -0,0 +1 @@
|
||||
foo: bar
|
||||
@@ -0,0 +1,2 @@
|
||||
[machines]
|
||||
m[1:10]
|
||||
Reference in New Issue
Block a user