Skip to content

Commit

Permalink
Revert changes from v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mwester117 committed Nov 5, 2024
1 parent 51f31f3 commit e87088c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions roles/install_agent/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
register: return_download_agent
delegate_to: localhost
throttle: 1
vars:
ansible_connection: local
when: not agent_installed

- name: "Block: Get registration token from API"
Expand All @@ -66,8 +64,6 @@
until: ((siteobj.json.data.sites | length) > 0) and (siteobj.status == 200)
retries: 3
delay: 20
vars:
ansible_connection: local

- name: "Extract siteid"
ansible.builtin.set_fact:
Expand All @@ -89,8 +85,6 @@
until: ((groupobj.json.data | length) > 0) and (groupobj.status == 200)
retries: 3
delay: 20
vars:
ansible_connection: local
when: group is defined

- name: "Extract groupid"
Expand All @@ -114,8 +108,6 @@
status_code: 200
register: reg_token_obj
delegate_to: localhost
vars:
ansible_connection: local
no_log: "{{ hide_sensitive }}"
until: reg_token_obj.status == 200
retries: 3
Expand All @@ -129,8 +121,6 @@
path: "{{ return_download_agent.original_message.full_path }}"
state: absent
delegate_to: localhost
vars:
ansible_connection: local
when: not agent_installed

- name: "Fail if new client does not appear in management console"
Expand All @@ -149,5 +139,3 @@
until: ((registrationstatus.json.data | length) > 0) and (registrationstatus.status == 200)
retries: "{{ check_console_retries }}"
delay: "{{ check_console_retry_delay }}"
vars:
ansible_connection: local

0 comments on commit e87088c

Please sign in to comment.