Commit c49a02d1 authored by Zi Chuanxiu's avatar Zi Chuanxiu

update ansible_api, and update perm_list_user view

parent c26594a3
...@@ -354,7 +354,7 @@ class App(MyPlaybook): ...@@ -354,7 +354,7 @@ class App(MyPlaybook):
if __name__ == "__main__": if __name__ == "__main__":
resource = [{"hostname": "192.168.10.128", "port": "22", "username": "root", "password": "yusky0902"}] resource = [{"hostname": "192.168.10.128", "port": "22", "username": "root", "password": "xxx"}]
# playbook = MyPlaybook(resource) # playbook = MyPlaybook(resource)
# playbook.run('test.yml') # playbook.run('test.yml')
# print playbook.raw_results # print playbook.raw_results
......
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