Skip to content

Commit

Permalink
Use fqcn for set_fact
Browse files Browse the repository at this point in the history
  • Loading branch information
BobVanB committed Oct 20, 2023
1 parent 5c084c2 commit 80036b2
Show file tree
Hide file tree
Showing 26 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion roles/applications/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True

Check failure on line 37 in roles/applications/tasks/main.yml

View workflow job for this annotation

GitHub Actions / pre-commit_and_sanity / pre-commit / pre-commit

yaml[truthy]

Truthy value should be one of \[false, true]
when: ansible_check_mode and __applications_job_async.failed is defined and __applications_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/bulk_host_create/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True

Check failure on line 29 in roles/bulk_host_create/tasks/main.yml

View workflow job for this annotation

GitHub Actions / pre-commit_and_sanity / pre-commit / pre-commit

yaml[truthy]

Truthy value should be one of \[false, true]
when: ansible_check_mode and __controller_bulk_hosts_job_async.failed is defined and __controller_bulk_hosts_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/credential_input_sources/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True

Check failure on line 32 in roles/credential_input_sources/tasks/main.yml

View workflow job for this annotation

GitHub Actions / pre-commit_and_sanity / pre-commit / pre-commit

yaml[truthy]

Truthy value should be one of \[false, true]
when: ansible_check_mode and __credential_input_sources_job_async.failed is defined and __credential_input_sources_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/credential_types/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True

Check failure on line 34 in roles/credential_types/tasks/main.yml

View workflow job for this annotation

GitHub Actions / pre-commit_and_sanity / pre-commit / pre-commit

yaml[truthy]

Truthy value should be one of \[false, true]
when: ansible_check_mode and __credentialtypes_job_async.failed is defined and __credentialtypes_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/credentials/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True

Check failure on line 37 in roles/credentials/tasks/main.yml

View workflow job for this annotation

GitHub Actions / pre-commit_and_sanity / pre-commit / pre-commit

yaml[truthy]

Truthy value should be one of \[false, true]
when: ansible_check_mode and __credentials_job_async.failed is defined and __credentials_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/execution_environments/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True

Check failure on line 37 in roles/execution_environments/tasks/main.yml

View workflow job for this annotation

GitHub Actions / pre-commit_and_sanity / pre-commit / pre-commit

yaml[truthy]

Truthy value should be one of \[false, true]
when: ansible_check_mode and __execution_environments_job_async.failed is defined and __execution_environments_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/groups/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True

Check failure on line 39 in roles/groups/tasks/main.yml

View workflow job for this annotation

GitHub Actions / pre-commit_and_sanity / pre-commit / pre-commit

yaml[truthy]

Truthy value should be one of \[false, true]
when: ansible_check_mode and __group_job_async.failed is defined and __group_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/hosts/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True

Check failure on line 34 in roles/hosts/tasks/main.yml

View workflow job for this annotation

GitHub Actions / pre-commit_and_sanity / pre-commit / pre-commit

yaml[truthy]

Truthy value should be one of \[false, true]
when: ansible_check_mode and __host_job_async.failed is defined and __host_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/instance_groups/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True

Check failure on line 41 in roles/instance_groups/tasks/main.yml

View workflow job for this annotation

GitHub Actions / pre-commit_and_sanity / pre-commit / pre-commit

yaml[truthy]

Truthy value should be one of \[false, true]
when: ansible_check_mode and __instance_groups_job_async.failed is defined and __instance_groups_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/instances/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __instance_job_async.failed is defined and __instance_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/inventories/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __inventories_job_async.failed is defined and __inventories_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/inventory_source_update/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __inventory_source_update_async.failed is defined and __inventory_source_update_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/inventory_sources/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __inventory_source_job_async.failed is defined and __inventory_source_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/job_templates/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __job_templates_job_async.failed is defined and __job_templates_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/labels/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __controller_label_job_async.failed is defined and __controller_label_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/notification_templates/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __controller_notification_job_async.failed is defined and __controller_notification_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/organizations/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __organizations_job_async.failed is defined and __organizations_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/project_update/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __project_update_job_async.failed is defined and __project_update_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/projects/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __projects_job_async.failed is defined and __projects_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/roles/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __controller_role_job_async.failed is defined and __controller_role_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/schedules/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __controller_schedule_job_async.failed is defined and __controller_schedule_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/settings/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __controller_setting_job_async.failed is defined and __controller_setting_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/teams/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __controller_team_job_async.failed is defined and __controller_team_job_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/users/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __controller_user_accounts_job_async.failed is defined and __controller_user_accounts_job_async.failed

Expand Down
4 changes: 2 additions & 2 deletions roles/workflow_job_templates/tasks/add_workflows_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __workflows_node_async.failed is defined and __workflows_node_async.failed

Expand Down Expand Up @@ -100,7 +100,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __workflows_link_async.failed is defined and __workflows_link_async.failed

Expand Down
2 changes: 1 addition & 1 deletion roles/workflow_job_templates/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
ansible_async_dir: '{{ controller_configuration_async_dir }}'

- name: "Flag for errors (check mode only)"
set_fact:
ansible.builtin.set_fact:
error_flag: True
when: ansible_check_mode and __workflows_job_async.failed is defined and __workflows_job_async.failed

Expand Down

0 comments on commit 80036b2

Please sign in to comment.