Skip to content

Arnauld/platform-proxmox

Repository files navigation

Tips

Raw setup

cat ~/.ssh/id_rsa.pub | ssh root@proxmox.technbolts.org 'cat >> ~/.ssh/authorized_keys'

Vault

$ echo "Super mot de passe secret!" >> ~/.vault/test-pass-ansible.txt
$ ansible-vault encrypt_string password123 --vault-password-file ~/.vault/test-pass-ansible.txt

References

Windows 😢

Autoriser l'exécution de scripts

In PowerShell console (as admin. user)

PS> Set-ExecutionPolicy Unrestricted
PS> cd projects/platform
PS> start-ansible.ps1

ssh workaround (see Warning unprotected private key and Windows Docker - unix file permissions using a volume)

  • ssh keys folder is mounted as .ssh.ref
  • keys are copied (see ssh-keys.sh in .ssh) and chmod-ified
ansible-playbook -i inventory/infra-alo/proxmox playbooks/root_protect.yml -u root -vvv
ansible-playbook -i inventory/infra-alo/proxmox playbooks/proxmox_setup.yml -u arnauld -vvv
ansible-playbook -i inventory/infra-alo/proxmox playbooks/proxmox_create_template.yml -u arnauld -vvv
ansible-playbook -i inventory/infra-alo/proxmox playbooks/proxmox_create_vm.yml -u arnauld --vault-password-file ~/.vault/proxmox-vault-key.txt  -vvv

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published