This commit is contained in:
@@ -1,8 +1,20 @@
|
||||
- name: homesrv01 playbook
|
||||
|
||||
- name: Hello from ansible
|
||||
hosts: all
|
||||
roles:
|
||||
- myInfra.dev.homesrv01.core
|
||||
- myInfra.ssh
|
||||
- myInfra.dev.homesrv01
|
||||
|
||||
tasks:
|
||||
- name: Ping my hosts
|
||||
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