mirror of
https://github.com/transatoshi-mw/grinminer.net.git
synced 2025-10-06 22:02:48 +00:00
8 lines
277 B
YAML
8 lines
277 B
YAML
- hosts: www
|
|
remote_user: root
|
|
tasks:
|
|
|
|
- name: Overwrite /etc/hosts with grinminer.net DNS servers
|
|
ansible.builtin.shell:
|
|
cmd: echo -e "domain grinminer.net\nsearch grinminer.net\nnameserver 10.0.0.2\nnameserver 10.0.0.3\nnameserver 1.1.1.1" > /etc/hosts
|
|
|