Skip to content

Commit e87088c

Browse files
committed
Revert changes from v2.0.1
1 parent 51f31f3 commit e87088c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

roles/install_agent/tasks/main.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
register: return_download_agent
4444
delegate_to: localhost
4545
throttle: 1
46-
vars:
47-
ansible_connection: local
4846
when: not agent_installed
4947

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

7268
- name: "Extract siteid"
7369
ansible.builtin.set_fact:
@@ -89,8 +85,6 @@
8985
until: ((groupobj.json.data | length) > 0) and (groupobj.status == 200)
9086
retries: 3
9187
delay: 20
92-
vars:
93-
ansible_connection: local
9488
when: group is defined
9589

9690
- name: "Extract groupid"
@@ -114,8 +108,6 @@
114108
status_code: 200
115109
register: reg_token_obj
116110
delegate_to: localhost
117-
vars:
118-
ansible_connection: local
119111
no_log: "{{ hide_sensitive }}"
120112
until: reg_token_obj.status == 200
121113
retries: 3
@@ -129,8 +121,6 @@
129121
path: "{{ return_download_agent.original_message.full_path }}"
130122
state: absent
131123
delegate_to: localhost
132-
vars:
133-
ansible_connection: local
134124
when: not agent_installed
135125

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

0 commit comments

Comments
 (0)