Merge pull request #2834 from Sodki/fix_certificat_misspell
Fix misspelling of the word 'certificate'
This commit is contained in:
commit
51c3aa4267
1 changed files with 4 additions and 4 deletions
|
@ -65,7 +65,7 @@ options:
|
||||||
- The path to the private key of the certificate in PEM encoded format.
|
- The path to the private key of the certificate in PEM encoded format.
|
||||||
dup_ok:
|
dup_ok:
|
||||||
description:
|
description:
|
||||||
- By default the module will not upload a certifcate that is already uploaded into AWS. If set to True, it will upload the certifcate as long as the name is unique.
|
- By default the module will not upload a certificate that is already uploaded into AWS. If set to True, it will upload the certificate as long as the name is unique.
|
||||||
required: false
|
required: false
|
||||||
default: False
|
default: False
|
||||||
aliases: []
|
aliases: []
|
||||||
|
@ -93,7 +93,7 @@ extends_documentation_fragment:
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Basic server certificate upload
|
# Basic server certificate upload
|
||||||
tasks:
|
tasks:
|
||||||
- name: Upload Certifcate
|
- name: Upload Certificate
|
||||||
iam_cert:
|
iam_cert:
|
||||||
name: very_ssl
|
name: very_ssl
|
||||||
state: present
|
state: present
|
||||||
|
@ -164,7 +164,7 @@ def dup_check(module, iam, name, new_name, cert, orig_cert_names, orig_cert_bodi
|
||||||
elif orig_cert_bodies[c_index] != cert:
|
elif orig_cert_bodies[c_index] != cert:
|
||||||
module.fail_json(changed=False, msg='A cert with the name %s already exists and'
|
module.fail_json(changed=False, msg='A cert with the name %s already exists and'
|
||||||
' has a different certificate body associated'
|
' has a different certificate body associated'
|
||||||
' with it. Certifcates cannot have the same name')
|
' with it. Certificates cannot have the same name')
|
||||||
else:
|
else:
|
||||||
update=True
|
update=True
|
||||||
break
|
break
|
||||||
|
@ -218,7 +218,7 @@ def cert_action(module, iam, name, cpath, new_name, new_path, state,
|
||||||
module.exit_json(changed=changed, deleted_cert=name)
|
module.exit_json(changed=changed, deleted_cert=name)
|
||||||
else:
|
else:
|
||||||
changed=False
|
changed=False
|
||||||
module.exit_json(changed=changed, msg='Certifcate with the name %s already absent' % name)
|
module.exit_json(changed=changed, msg='Certificate with the name %s already absent' % name)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
argument_spec = ec2_argument_spec()
|
argument_spec = ec2_argument_spec()
|
||||||
|
|
Loading…
Reference in a new issue