Playbook to Run Containerized Flask Application on Atomic host
IP_ADDRESS_OF_REMOTE_HOST in Inventory file with the IP Address of your Remote Host.
ansible_ssh_private_key_file field in Inventory with your Private key file.
remote_user field in ansible.cfg with the user of your remote host.
[Source Directory] in
src_dir field in main.yml with your
[Destination Directory] in
dest_dir field in main.yml with your
Run the Playbook
Now simply run
ansible-playbook main.yml. Make sure you are in ansible directory.
To verify the output execute the following command on your Atomic host:
Read more in this Blog Post: http://www.projectatomic.io/blog/2016/10/deployment-using-ansible.