---
# This file is in plain text, if you want to
# encrypt this file, please execute following command:
#
# $ ansible-vault encrypt passwords.yml
#
# It will ask you for a password, which you must then pass to
# ansible interactively when executing the playbook.
#
# $ ansible-playbook myplaybook.yml --ask-vault-pass
#
dr_sites_primary_password: primary_password
dr_sites_secondary_password: secondary_password
---
#This file is in plain text, if you want to#encrypt this file, please execute following command:#
#$ ansible-vault encrypt passwords.yml#
#It will ask you for a password, which you must then pass to#ansible interactively when executing the playbook.#
#$ ansible-playbook myplaybook.yml --ask-vault-pass#
dr_sites_primary_password: primary_password
dr_sites_secondary_password: secondary_password
Copy to ClipboardCopied!Toggle word wrapToggle overflow
注意
若要提高安全性,您可以加密密码文件。但是,在运行 playbook 时,您必须使用 --ask-vault-pass 参数。如需更多信息,请参阅管理指南中的使用 Ansible 角色配置 Red Hat Virtualization。