@@ -31,6 +31,17 @@ commands:
31
31
- run : ansible-playbook -i ./ci_test/inventory/ci.ini "./ci_test/install_agent_<<parameters.version>>.yaml" -e 'ansible_python_interpreter=/usr/bin/<<parameters.python>>'
32
32
- run : datadog-agent version
33
33
34
+ test_install_no_manage_config :
35
+ parameters :
36
+ version :
37
+ type : string
38
+ python :
39
+ type : string
40
+ steps :
41
+ - run : ansible-playbook -i ./ci_test/inventory/ci.ini "./ci_test/install_agent_<<parameters.version>>.yaml" -e 'ansible_python_interpreter=/usr/bin/<<parameters.python>> datadog_manage_config=false'
42
+ - run : ps aux | grep -v grep | grep datadog-agent
43
+ - run : bash -c '[ ! -f /etc/datadog-agent/datadog.yaml ] && [ ! -f /etc/datadog-agent/system-probe.yaml ] && [ ! -f /etc/datadog-agent/security-agent.yaml ] && [ ! -f /etc/dd-agent/datadog.conf ]'
44
+
34
45
downgrade_agent_5_23_0 :
35
46
parameters :
36
47
python :
@@ -121,6 +132,24 @@ jobs:
121
132
version : " <<parameters.agent_version>>"
122
133
python : " <<parameters.python>>"
123
134
135
+ test_install_no_manage_config :
136
+ parameters :
137
+ ansible_version :
138
+ type : string
139
+ agent_version :
140
+ type : string
141
+ os :
142
+ type : string
143
+ python :
144
+ type : string
145
+ docker :
146
+ - image : datadog/docker-library:ansible_<<parameters.os>>_<<parameters.ansible_version>>
147
+ steps :
148
+ - checkout
149
+ - test_install_no_manage_config :
150
+ version : " <<parameters.agent_version>>"
151
+ python : " <<parameters.python>>"
152
+
124
153
workflows :
125
154
version : 2
126
155
test_datadog_role :
@@ -142,7 +171,16 @@ workflows:
142
171
agent_version : ["5", "6", "7"]
143
172
os : ["debian"]
144
173
python : ["python3"]
145
-
174
+
175
+ # Newer debian images only have Pythpn 3 installed
176
+ - test_install_no_manage_config :
177
+ matrix :
178
+ parameters :
179
+ ansible_version : ["2_10"]
180
+ agent_version : ["5", "7"]
181
+ os : ["debian"]
182
+ python : ["python3"]
183
+
146
184
# centos = CentOS 7. CentOS <= 7 + Python3 is not supported,
147
185
# as the yum module is Python2-only.
148
186
- test_install_downgrade :
0 commit comments