Initial commit
[ta/infra-ansible.git] / roles / access-management / tasks / main.yaml
1 # Copyright 2019 Nokia
2
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 - include: basic.yaml
16   tags:
17       - am
18
19 - include: openrc_cloud.yaml
20   tags:
21       - am
22       - am_rc
23
24 - include: fill_sqls.yaml
25   tags:
26       - am
27
28 - include: mysqldb.yaml
29   tags:
30       - am
31       - am_dbfiller
32
33 - include: dbfiller.yaml
34   tags:
35       - am_dbfiller
36
37 - name: Delete AM's install folders
38   file:
39     path: "{{ item }}"
40     state: absent
41   with_items:
42     - "{{ am_server_values_dir }}"
43     - "{{ am_server_temp_dir }}"
44   tags:
45     - am
46     - am_dbfiller
47     - am_rc