Debian Codegraph @

ansible_collections/theforeman/foreman/tests/test_playbooks/convert2rhel.yml

raw symbols SCIP
1 ---
2 - hosts: localhost
3 collections:
4 - theforeman.foreman
5 gather_facts: false
6 vars_files:
7 - vars/server.yml
8 tasks:
9 - name: ensure test organization
10 include_tasks: tasks/organization.yml
11 vars:
12 organization_name: "Test Organization"
13 organization_state: "present"
14
15 - hosts: tests
16 collections:
17 - theforeman.foreman
18 gather_facts: false
19 vars_files:
20 - vars/server.yml
21 roles:
22 - role: convert2rhel
23 vars:
24 foreman_organization: "Test Organization"
25 foreman_validate_certs: false
26 foreman_convert2rhel_manage_subscription: false
27 foreman_content_rhel_wait_for_syncs: false
28 foreman_content_rhel_enable_rhel7: true
29 foreman_content_rhel_enable_rhel8: true
30 foreman_convert2rhel_enable_oracle7: true
31 foreman_convert2rhel_enable_oracle8: true
32
33 - hosts: localhost
34 collections:
35 - theforeman.foreman
36 gather_facts: false
37 vars_files:
38 - vars/server.yml
39 tasks:
40 - name: remove groups
41 include_tasks: tasks/hostgroup.yml
42 vars:
43 hostgroup_name: "{{ item }}"
44 hostgroup_state: "absent"
45 loop:
46 - CentOS 7 converting
47 - CentOS 8 converting
48 - Oracle Linux 7 converting
49 - Oracle Linux 8 converting
50 - name: remove keys
51 include_tasks: tasks/activation_key.yml
52 vars:
53 activation_key_name: "{{ item }}"
54 activation_key_state: "absent"
55 loop:
56 - convert2rhel_centos7
57 - convert2rhel_centos8
58 - convert2rhel_oracle7
59 - convert2rhel_oracle8
60 - convert2rhel_rhel7
61 - convert2rhel_rhel8
62 - name: remove content views
63 include_tasks: tasks/content_view.yml
64 vars:
65 content_view_name: "{{ item }}"
66 content_view_state: "absent"
67 loop:
68 - convert2rhel_centos7
69 - convert2rhel_centos8
70 - name: remove products
71 include_tasks: tasks/product.yml
72 vars:
73 product_name: "{{ item }}"
74 product_state: "absent"
75 loop:
76 - Oracle Linux 8 Convert2RHEL
77 - Oracle Linux 7 Convert2RHEL
78 - Convert2RHEL7
79 - Convert2RHEL8
80
81 - name: remove organization
82 include_tasks: tasks/organization.yml
83 vars:
84 organization_name: "Test Organization"
85 organization_state: "absent"