X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=systemd%2Freport-installation-success.service;fp=systemd%2Freport-installation-success.service;h=d66863074fd908a134755f3eb78f6bd42702e467;hb=972df96690f76f42d4351686c75bc8e5d1b2cb31;hp=0000000000000000000000000000000000000000;hpb=86e9056a7ee8ec41856edb13b72273951edb3d87;p=ta%2Finfra-ansible.git diff --git a/systemd/report-installation-success.service b/systemd/report-installation-success.service new file mode 100644 index 0000000..d668630 --- /dev/null +++ b/systemd/report-installation-success.service @@ -0,0 +1,23 @@ +# Copyright 2019 Nokia + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +[Unit] +Description=report installation success +After=network.target +Wants=network.target + +[Service] +Type=oneshot +RemainAfterExit=True +ExecStart=/opt/openstack-ansible/playbooks/report-installation-success.sh