fixes typos in ansible-vault docs (#49671)

This commit is contained in:
Alicia Cozine 2018-12-09 17:05:53 -06:00 committed by GitHub
parent 478fcf7abb
commit 9142cfc86f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -429,7 +429,7 @@ class VaultCLI(CLI):
display.display("Decryption successful", stderr=True) display.display("Decryption successful", stderr=True)
def execute_create(self): def execute_create(self):
''' create and open a file in an editor that will be encryped with the provided vault secret when closed''' ''' create and open a file in an editor that will be encrypted with the provided vault secret when closed'''
if len(self.args) > 1: if len(self.args) > 1:
raise AnsibleOptionsError("ansible-vault create can take only one filename argument") raise AnsibleOptionsError("ansible-vault create can take only one filename argument")
@ -438,7 +438,7 @@ class VaultCLI(CLI):
vault_id=self.encrypt_vault_id) vault_id=self.encrypt_vault_id)
def execute_edit(self): def execute_edit(self):
''' open and decrypt an existing vaulted file in an editor, that will be encryped again when closed''' ''' open and decrypt an existing vaulted file in an editor, that will be encrypted again when closed'''
for f in self.args: for f in self.args:
self.editor.edit_file(f) self.editor.edit_file(f)