Debian Codegraph @

ansible_collections/theforeman/foreman/tests/test_playbooks/repositories_role.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 - name: ensure org has a manifest
15 include_tasks: tasks/subscription_manifest.yml
16 vars:
17 manifest_path: "{{ subscription_manifest_path }}"
18 manifest_state: present
19
20 - hosts: tests
21 collections:
22 - theforeman.foreman
23 gather_facts: false
24 vars_files:
25 - vars/server.yml
26 roles:
27 - role: repositories
28 vars:
29 foreman_organization: "Test Organization"
30 foreman_products:
31 - name: Red Hat Enterprise Linux Server
32 repository_sets:
33 - name: Red Hat Satellite Tools 6.7 (for RHEL 7 Server) (RPMs)
34 basearch: x86_64
35 - name: Red Hat Enterprise Linux 7 Server - Extras (RPMs)
36 basearch: x86_64
37 - name: Red Hat Enterprise Linux for x86_64
38 repository_sets:
39 - name: Red Hat Satellite Tools 6.7 for RHEL 8 x86_64 (RPMs)
40 - name: Red Hat Software Collections (for RHEL Server)
41 all_repositories: true
42 labels:
43 - rhel-server-rhscl-7-rpms
44 - name: CentOS 8
45 repositories:
46 - name: BaseOS x86_64
47 content_type: yum
48 url: http://mirror.centos.org/centos/8/BaseOS/x86_64/os/