6 lines
156 B
Plaintext
6 lines
156 B
Plaintext
|
#!/bin/bash
|
||
|
# Ansible fact - dhcp_status
|
||
|
# {{ ansible_managed }}
|
||
|
DHCP_STATUS="$( grep -o 'dhcp' /etc/network/interfaces | uniq )"
|
||
|
echo "\"${DHCP_STATUS}\""
|