Debian Codegraph @

ansible_collections/theforeman/foreman/tests/test_playbooks/content_upload_deb.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 - include_tasks: tasks/organization.yml
10 vars:
11 organization_state: present
12 - include_tasks: tasks/product.yml
13 vars:
14 product_state: present
15 - include_tasks: tasks/repository.yml
16 vars:
17 repository_state: absent
18 repository_name: "Test Deb Repository"
19 repository_content_type: "deb"
20 - include_tasks: tasks/repository.yml
21 vars:
22 repository_state: present
23 repository_name: "Test Deb Repository"
24 repository_content_type: "deb"
25
26 - hosts: tests
27 collections:
28 - theforeman.foreman
29 gather_facts: false
30 vars_files:
31 - vars/server.yml
32 tasks:
33
34 - name: upload deb package
35 include_tasks: tasks/upload.yml
36 vars:
37 upload_src: "{{ playbook_dir }}/data/odin_1.0_ppc64.deb"
38 upload_repository: "Test Deb Repository"
39 expected_change: true
40 - name: upload deb package again, no change
41 include_tasks: tasks/upload.yml
42 vars:
43 upload_src: "{{ playbook_dir }}/data/odin_1.0_ppc64.deb"
44 upload_repository: "Test Deb Repository"
45 expected_change: false
46
47 - hosts: localhost
48 collections:
49 - theforeman.foreman
50 gather_facts: false
51 vars_files:
52 - vars/server.yml
53 tasks:
54 - include_tasks: tasks/repository.yml
55 vars:
56 repository_state: absent
57 repository_name: "Test Deb Repository"
58 repository_content_type: "deb"
59 - include_tasks: tasks/product.yml
60 vars:
61 product_state: absent
62 - include_tasks: tasks/organization.yml
63 vars:
64 organization_state: absent
65 ...