v0.1
This commit is contained in:
5
create_examples.py
Normal file
5
create_examples.py
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
with open("inventory/group_vars/new_server.yaml", "r") as file:
|
||||
with open("inventory-example/group_vars/new_server.yaml", "w") as file2:
|
||||
file2.writelines((string.split(":")[0] + ": < >\n") if ":" in string else "\n" for string in file)
|
Reference in New Issue
Block a user