Add draft ansible playbooks for RD
This commit is contained in:
12
ansible/roles/rd_os-linux-prep/tasks/ping.yml
Normal file
12
ansible/roles/rd_os-linux-prep/tasks/ping.yml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
#- name: ping
|
||||
# ping:
|
||||
|
||||
- name: OS configure
|
||||
block:
|
||||
- name: ping
|
||||
debug:
|
||||
msg: "{{ ansible_default_ipv4.broadcast.split('.')[1] }}"
|
||||
when: (ansible_os_family == "Debian" and ansible_distribution_major_version == "12") and ansible_default_ipv4.broadcast.split('.')[1] != "11"
|
||||
|
Reference in New Issue
Block a user