Skip to content

trash-rabbit/ansible-update-hosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Hosts

Site-Wide APT Updates on Linux Hosts

Environment Files

Remote passwords are not included in the playbook but are in the individual host and group vault files.

Vault Files

These playbooks take advantage of vault files to store sensitive information. Example vault files are included but are not encrypted.

Encrypt Vault Files

$ ansible-vault encrypt group_vars/proxmox/vault.yaml

Vault Password

You have two options to decrypt vaults at runtime.

  • Create a vault password file
  • Run playbook with --ask-vault-password

Vault Password File

Create a file called .vault_password_file in the playbook directory that contains same password used to encrypt your vault files. Protect it the same as you would a password.

Run Ansible-Playbook and ask for vault password

$ ansible-playbook --ask-vault-password update-hosts.yml

Example Usage

$ ansible-playbook update-hosts.yml

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks