rgl / my-ubuntu-ansible-playbooks

My Ubuntu Ansible Playbooks Playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Build status

This is My Ubuntu Ansible Playbooks Playground.

This targets Ubuntu 22.04 (Jammy Jellyfish).

Disclaimer

  • These playbooks might work only when you start from scratch, in a machine that only has a minimal installation.
    • They might seem to work in other scenarios, but that is by pure luck.
    • There is no support for upgrades, downgrades, or un-installations.

Usage

Add your machines into the Ansible inventory.yml file.

Review the development.yml playbook.

See the facts about the dm1 machine:

./ansible.sh dm1 -m ansible.builtin.setup

Run an ad-hoc command in the dm1 machine:

./ansible.sh dm1 -a 'id'

Lint the development.yml playbook:

./ansible-lint.sh --offline --parseable development.yml

Run the development.yml playbook against the dm1 machine:

./ansible-playbook.sh --limit=dm1 development.yml | tee ansible.log

List this repository dependencies (and which have newer versions):

export GITHUB_COM_TOKEN='YOUR_GITHUB_PERSONAL_TOKEN'
./renovate.sh

At the machine where the playbook is provisioned, you can use the applications described in the next sections.

Kubernetes

See roles/kind.

About

My Ubuntu Ansible Playbooks Playground


Languages

Language:Shell 62.8%Language:Python 36.9%Language:Jinja 0.3%