Debian Codegraph @

ansible_collections/theforeman/foreman/tests/test_playbooks/sync_plans_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: create products and repos
15 include_role:
16 name: repositories
17 vars:
18 foreman_organization: "Test Organization"
19 foreman_products:
20 - name: CentOS Stream 9
21 repositories:
22 - name: BaseOS x86_64
23 content_type: yum
24 url: https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/
25
26 - hosts: tests
27 collections:
28 - theforeman.foreman
29 gather_facts: false
30 vars_files:
31 - vars/server.yml
32 roles:
33 - role: sync_plans
34 vars:
35 foreman_organization: "Test Organization"
36 foreman_sync_plans:
37 - name: Weekly Sync
38 interval: weekly
39 sync_date: 2020-11-19 00:00:00 UTC
40 products:
41 - CentOS Stream 9
42
43 - hosts: localhost
44 collections:
45 - theforeman.foreman
46 gather_facts: false
47 vars_files:
48 - vars/server.yml
49 tasks:
50 - name: delete test organization
51 include_tasks: tasks/organization.yml
52 vars:
53 organization_name: "Test Organization"
54 organization_state: "absent"