Docker Ansible Awx



The most interesting concept is 'Build & Deploy' and it's a pity that it isn't described even on conceptual level.

Collection Index¶. These are the collections with docs hosted on docs.ansible.com. How to Create Ansible Roles and Use them in Playbook; How to Install Ansible AWX on Ubuntu 20.04 LTS; 8 Head Command Examples in Linux; How to Create Disk Partitions with Parted Command in Linux; How to Setup Docker Private Registry on Ubuntu 20.04; How to Install and Use Docker on Ubuntu 20.04 / 20.10; How to Install and Use Docker on Arch Linux.

Docker

I think the 'Build & Deploy' for configuration management is the right thing, but it looks like Ansible is not very good tool to implement it (and honestly, I don't know any mainstream tool that is really good at it).

Ansible Awx Docker Install

Ansible/awx_task

I was trying to implement it as follows:

- part of a role is executed locally, building all the configuration files from templates (build);- configuration built locally is rsynced into dedicated directory on target server, deleting unnecessary files etc (sync);- part of a role is executed remotely, setting up symlinks from real configuration paths into synced dir and running all necessary actions (restarting services etc).

Yes, it's possible to write Ansible playbooks and roles that way, but in practice you are permanently struggling with the default Ansible playbooks and roles organizational structure.

Docker Ansible Awx

Docker Hub Ansible Awx

I believe the only devops tool that really supports this style of things now is Nix and all the infrastructure around (and conceptually it's perfect, but in practice it has it's drawbacks).