Commit 46b82af2 by Alain Takoudjou

playbook: fix script format_hosts

1 parent fef2c122
......@@ -4,7 +4,7 @@ import sys
print sys.argv[1:]
host_content = open('/etc/hosts', 'r').readlines()
host_content = open('/etc/hosts', 'r').read()
hpath = sys.argv[1]
domain = sys.argv[2]
lines_entry = ""
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!