Debian Codegraph @

ansible_collections/theforeman/foreman/tests/test_playbooks/tasks/bookmark.yml

raw symbols SCIP
1 ---
2 - name: "Ensure bookmark '{{ bookmark_name }}' is {{ bookmark_state }}"
3 vars:
4 bookmark_controller: job_invocations
5 bookmark_name: test
6 bookmark_public: true
7 bookmark_query: "started_at > 24 hours ago"
8 bookmark_state: present
9 bookmark:
10 username: "{{ foreman_username }}"
11 password: "{{ foreman_password }}"
12 server_url: "{{ foreman_server_url }}"
13 validate_certs: "{{ foreman_validate_certs }}"
14 controller: "{{ bookmark_controller }}"
15 name: "{{ bookmark_name }}"
16 public: "{{ bookmark_public }}"
17 query: "{{ bookmark_query }}"
18 state: "{{ bookmark_state }}"
19 register: result
20 - assert:
21 fail_msg: "Ensuring bookmark is {{ bookmark_state }} failed! (expected_change: {{ expected_change | default('unknown') }})"
22 that:
23 - result.changed == expected_change
24 when: expected_change is defined
25 ...