mirror of
https://github.com/transatoshi-mw/grinminer.net.git
synced 2025-10-06 22:02:48 +00:00
added playbooks
This commit is contained in:
8
ansible/dns-fix.yml
Normal file
8
ansible/dns-fix.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
- 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
|
||||
|
Reference in New Issue
Block a user