This commit is contained in:
@@ -1,8 +1,20 @@
|
|||||||
- name: homesrv01 playbook
|
|
||||||
|
- name: Hello from ansible
|
||||||
hosts: all
|
hosts: all
|
||||||
roles:
|
|
||||||
- myInfra.dev.homesrv01.core
|
tasks:
|
||||||
- myInfra.ssh
|
- name: Ping my hosts
|
||||||
- myInfra.dev.homesrv01
|
become: true
|
||||||
|
ansible.builtin.ping:
|
||||||
|
|
||||||
|
- name: Print message
|
||||||
|
ansible.builtin.debug:
|
||||||
|
msg: Hello world
|
||||||
|
|
||||||
|
|
||||||
|
#- name: homesrv01 playbook
|
||||||
|
# hosts: all
|
||||||
|
# roles:
|
||||||
|
# - myInfra.dev.homesrv01.core
|
||||||
|
# - myInfra.ssh
|
||||||
|
# - myInfra.dev.homesrv01
|
||||||
Reference in New Issue
Block a user