Move to using virtualenv
This commit is contained in:
parent
84977b5322
commit
8f2ba5b17f
3
requirements.txt
Normal file
3
requirements.txt
Normal file
@ -0,0 +1,3 @@
|
||||
ansible
|
||||
keyring
|
||||
requests
|
@ -104,11 +104,11 @@ def build_arg_parser():
|
||||
|
||||
def main():
|
||||
config_manager = ConfigManager()
|
||||
username = config_manager.data.get_setting('vault.username')
|
||||
username = config_manager.get_configuration_definition('vault.username')
|
||||
if not username:
|
||||
username = getpass.getuser()
|
||||
|
||||
keyname = config_manager.data.get_setting('vault.keyname')
|
||||
keyname = config_manager.get_configuration_definition('vault.keyname')
|
||||
if not keyname:
|
||||
keyname = 'ansible'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user