Rearanged the playbook to use ansible roles:

http://docs.ansible.com/ansible/playbooks_roles.html

also made keystone run
This commit is contained in:
erijpkema
2017-04-25 14:47:04 +02:00
parent de87cd66f2
commit 90b25a6d6c
15 changed files with 275 additions and 42 deletions

View File

@ -0,0 +1,14 @@
[Unit]
Description=Openstack Keystone Container
After=docker.service
Requires=docker.service
[Service]
TimeoutStartSec=0
Restart=always
ExecStartPre=-/usr/bin/docker stop %n
ExecStartPre=-/usr/bin/docker rm %n
ExecStart=/usr/bin/docker run --name %n --add-host="mariadb:172.29.236.13" hpc/keystone
[Install]
WantedBy=multi-user.target