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