Commit 46b82af2 authored by Alain Takoudjou's avatar Alain Takoudjou

playbook: fix script format_hosts

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