diff options
| author | Steven Dake <stdake@cisco.com> | 2016-11-15 19:01:25 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2016-11-15 21:34:17 -0700 |
| commit | 3fcef82946f7053affcfb0b1b3ef4292beb9fa95 (patch) | |
| tree | 0b9083d2cbf7d6c8d372de6b016419d6a719d424 /ansible/roles/aodh/tasks/register.yml | |
| parent | 0963c2255a9718419c1cf8deaff350ea6ddc8472 (diff) | |
| download | kolla-3fcef82946f7053affcfb0b1b3ef4292beb9fa95.tar.gz kolla-3fcef82946f7053affcfb0b1b3ef4292beb9fa95.zip | |
Remove Ansible from Kolla
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
Diffstat (limited to 'ansible/roles/aodh/tasks/register.yml')
| -rw-r--r-- | ansible/roles/aodh/tasks/register.yml | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/ansible/roles/aodh/tasks/register.yml b/ansible/roles/aodh/tasks/register.yml deleted file mode 100644 index 202a11fff..000000000 --- a/ansible/roles/aodh/tasks/register.yml +++ /dev/null @@ -1,40 +0,0 @@ ---- -- name: Creating the aodh service and endpoint - command: docker exec -t kolla_toolbox /usr/bin/ansible localhost - -m kolla_keystone_service - -a "service_name=aodh - service_type=alarming - description='OpenStack Alarming Service' - endpoint_region={{ openstack_region_name }} - url='{{ item.url }}' - interface='{{ item.interface }}' - region_name={{ openstack_region_name }} - auth={{ '{{ openstack_aodh_auth }}' }}" - -e "{'openstack_aodh_auth':{{ openstack_aodh_auth }}}" - register: aodh_endpoint - changed_when: "{{ aodh_endpoint.stdout.find('localhost | SUCCESS => ') != -1 and (aodh_endpoint.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}" - until: aodh_endpoint.stdout.split()[2] == 'SUCCESS' - retries: 10 - delay: 5 - run_once: True - with_items: - - {'interface': 'admin', 'url': '{{ aodh_admin_endpoint }}'} - - {'interface': 'internal', 'url': '{{ aodh_internal_endpoint }}'} - - {'interface': 'public', 'url': '{{ aodh_public_endpoint }}'} - -- name: Creating the aodh project, user, and role - command: docker exec -t kolla_toolbox /usr/bin/ansible localhost - -m kolla_keystone_user - -a "project=service - user=aodh - password={{ aodh_keystone_password }} - role=admin - region_name={{ openstack_region_name }} - auth={{ '{{ openstack_aodh_auth }}' }}" - -e "{'openstack_aodh_auth':{{ openstack_aodh_auth }}}" - register: aodh_user - changed_when: "{{ aodh_user.stdout.find('localhost | SUCCESS => ') != -1 and (aodh_user.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}" - until: aodh_user.stdout.split()[2] == 'SUCCESS' - retries: 10 - delay: 5 - run_once: True |
