RedHatGov / hattrick

Project Hat Trick (currently refactoring from original repo at: https://github.com/redhat-kejones/hattrick)
GNU General Public License v3.0
16 stars 8 forks source link

restart openstack services fails #9

Closed rhcreynold closed 4 years ago

rhcreynold commented 4 years ago

@kjw3

TASK [RedHatGov.director : restart openstack services] ***************************************************************************************************************************
Wednesday 15 January 2020  10:01:29 -0500 (0:00:00.045)       0:58:35.333 *****
failed: [director] (item=openstack-*) => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": "openstack-*"
}

MSG:

This module does not currently support using glob patterns, found '*' in service name: openstack-*

failed: [director] (item=neutron-*) => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": "neutron-*"
}

MSG:

This module does not currently support using glob patterns, found '*' in service name: neutron-*

changed: [director] => (item=httpd)

PLAY RECAP ***********************************************************************************************************************************************************************
director                   : ok=33   changed=31   unreachable=0    failed=1    skipped=5    rescued=0    ignored=1
kvm                        : ok=15   changed=8    unreachable=0    failed=0    skipped=1    rescued=0    ignored=0
kjw3 commented 4 years ago

Fixed by https://github.com/RedHatGov/ansible-rhosp-director/commit/24ccdda41c9b55312e22bb828e91a93fde8abc61

Also submitted issue on the service module to add this capability back. Who knows if they will https://github.com/ansible/ansible/issues/66740