Commit edd343ce by e0d

adding switch passed by ansible

parent fe5083b4
...@@ -75,6 +75,7 @@ if __name__=="__main__": ...@@ -75,6 +75,7 @@ if __name__=="__main__":
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument('-p', '--profile', help='The aws profile to use when connecting.') parser.add_argument('-p', '--profile', help='The aws profile to use when connecting.')
parser.add_argument('-l', '--list', help='Ansible passes this, we ignore it.', action='store_true', default=True)
args = parser.parse_args() args = parser.parse_args()
LifecycleInventory(args.profile).run() LifecycleInventory(args.profile).run()
......
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