Execution
Date 31 Jul 2024 13:13:53 +0100
Duration 00:00:17.31
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.4
ara 1.7.1 / 1.7.1
Python 3.10.10
Summary
98 Hosts
1 Tasks
98 Results
1 Plays
1 Files
0 Records

File: Ad-Hoc: shell: if grep -q 1.1.1.1 /etc/resolv.conf ;then sed -i -e 's/1.1.1.1/185.149.110.28/g' /etc/resolv.conf ;else cat /etc/resolv.conf ;fi

shell: if grep -q 1.1.1.1 /etc/resolv.conf ;then sed -i -e 's/1.1.1.1/185.149.110.28/g' /etc/resolv.conf ;else cat  /etc/resolv.conf ;fi