Skip to content

acbgbca/microserver-ansible-playbooks

Repository files navigation

Microserver Ansible Playbooks

This repository contains the ansible scripts required to setup Microserver

Basic Instructions

Run Docker script

ansible-playbook docker.yml -i hosts

Do a dry run --check

ansible-playbook docker.yml -i hosts --check

Run the changes for a single tag --tags <tag>

ansible-playbook -i hosts docker.yml --tags docker

Encrypt a secret

ansible-vault encrypt_string '<string_to_encrypt>' --name '<string_name_of_variable>'

I.e.

ansible-vault encrypt_string 'secret' --name 'key'

Encryption successful
key: !vault |
          $ANSIBLE_VAULT;1.1;AES256
          <encrypted value>

Fresh setup

For a fresh Promox install, the following steps need to be under taken:

Initial Configuration

Not all steps are convient to do via Ansible. The following should be done manually via the Proxmox interface prior to running the Ansible scripts:

Create devops user

ansible-playbook proxmox-firstrun.yml -i hosts --ask-pass

TODO:

Setup Promox

ansible-playbook proxmox.yml -i hosts

Create Ubuntu Server Template

  • Log into Proxmox

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published