Add squeleton playbook for the datanommer host
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
a2b9fe872e
commit
cff93b9522
2 changed files with 17 additions and 0 deletions
15
ansible/datanommer.yml
Normal file
15
ansible/datanommer.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
- name: Set-up that instance for datanommer
|
||||||
|
hosts: datanommer
|
||||||
|
user: fedora
|
||||||
|
gather_facts: True
|
||||||
|
become: True
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: get kernel version
|
||||||
|
command: uname -a
|
||||||
|
register: uname_output
|
||||||
|
|
||||||
|
- name: Show kernel info
|
||||||
|
debug:
|
||||||
|
msg: "{{uname_output}}"
|
||||||
|
|
2
ansible/inventory
Normal file
2
ansible/inventory
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[datanommer]
|
||||||
|
100.26.18.234
|
Loading…
Add table
Add a link
Reference in a new issue