admin_user: Remove verbose info about how the key is fetched

There is no need to reiterate what the user has already specified
in the manifest.
This commit is contained in:
Anders Ingemann 2018-07-10 15:04:03 +02:00
parent 32e8bbcf49
commit bbde39e4fc
No known key found for this signature in database
GPG key ID: 16A5864B259E59CD

View file

@ -20,7 +20,6 @@ def resolve_tasks(taskset, manifest):
taskset.add(tasks.CheckPublicKeyFile)
taskset.add(tasks.AdminUserPublicKey)
elif manifest.provider['name'] == 'ec2':
logging.getLogger(__name__).info("The SSH key will be obtained from EC2")
taskset.add(tasks.AdminUserPublicKeyEC2)
elif 'password' not in manifest.plugins['admin_user']:
logging.getLogger(__name__).warn("No SSH key and no password set")