Use the blkid command to find the UUID of the device

$ sudo blkid /dev/nvme0n1p1: LABEL="/" UUID="55da5202-8008-43e8-8ade-2572319d9185" TYPE="xfs" PARTLABEL="Linux" PARTUUID="591e81f0-99a2-498d-93ec-c9ec776ecf42" /dev/nvme1n1: UUID="7c4d5e8c-5f26-475f-b985-5a1411359058" TYPE="ext2" /dev/nvme0n1: PTUUID="83181c97-6d5e-43c9-9ede-e2f50ead5338" PTTYPE="gpt" /dev/nvme0n1p128: PARTLABEL="BIOS Boot Partition" PARTUUID="4908ae49-9d5b-423e-a23c-a507a47bacf5" /dev/nvme2n1: PTUUID="5a72544b-a4e2-4bbe-aed0-04f727374581" PTTYPE="gpt" /dev/nvme2n1p1: LABEL="/" UUID="577849ee-6d06-4473-9eec-074495a45d70" TYPE="xfs" PARTLABEL="Linux" PARTUUID="7ba2672d-1d11-4f12-9358-2edd6b813413" /dev/nvme2n1p128: PARTLABEL="BIOS Boot Partition" PARTUUID="5a9fc16d-ac21-49f8-8880-28c8f8d2e8bf"

Install Ansible AWX on Ubuntu

git clone --depth 50 https://github.com/ansible/awx.git
cd awx/installer/
Change secret_key inside inventory file.

Execute playbook

ansible-playbook -i inventory install.yml

Use the docker ps command to get a list of running containers.

$  docker ps
CONTAINER ID        IMAGE                COMMAND                  CREATED             STATUS              PORTS                  NAMES
a2acc6628459        ansible/awx:13.0.0   "tini -- /usr/bin/la…"   3 minutes ago       Up 3 minutes        8052/tcp               awx_task
33999b021c10        ansible/awx:13.0.0   "tini -- /bin/sh -c …"   3 minutes ago       Up 3 minutes        0.0.0.0:80->8052/tcp   awx_web
a545cf8abb82        postgres:10          "docker-entrypoint.s…"   3 minutes ago       Up 3 minutes        5432/tcp               awx_postgres
bd8517f2fe80        redis                "docker-entrypoint.s…"   3 minutes ago       Up 3 minutes        6379/tcp               awx_redis

Access Ansible AWX Dashboard

The web portal is accessible via hostip_or_hostname:80

Comments

Popular posts from this blog

Google has revamped “Forms” to allow people to create and distribute simple forms and surveys. | IT NEWS

How to install/renew SSL Certificate for Glassfish