Skip to content

phorge-fr/Ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible

Phorge logo

This repository stores all the ansible configurations & file required to run the Phorge Cloud Infrastructure.

Setup

requirements:

  1. Install the requirements
ansible-galaxy install -r requirements.yml
  1. Test environment
ansible -m ping all

Encryption and execution

Encrypt variables

ansible-vault encrypt_string --vault-password-file vault_pass '<yaml_value_to_encrypt>' --name '<yaml_key>'

Encrypt files

ansible-vault encrypt_string \
  --vault-password-file vault_pass \
  --stdin-name '<yaml_key>' \
  < file_to.encrypt

Run playbooks with encrypted variables

ansible-playbook -i inventories/production/hosts playbooks/<playbook>.yml --vault-password-file vault_pass 

About

All ansible roles, & playbook used for @phorge-fr

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages