2
0

rajout exemple inventaire et group_vars et host_vars

This commit is contained in:
2018-03-12 15:46:24 +01:00
parent 481b57d690
commit c5e82116c4
4 changed files with 11 additions and 0 deletions

7
5_inventaire/foo.yml Normal file
View File

@@ -0,0 +1,7 @@
- name: foo
become: false
hosts: machines
tasks:
- name: bar
debug:
msg: "hello world: {{ var_machine }}"

View File

@@ -0,0 +1 @@
var_machine: foo

View File

@@ -0,0 +1 @@
foo: bar

2
5_inventaire/inventaire Normal file
View File

@@ -0,0 +1,2 @@
[machines]
m[1:10]