Change 'secure' to 'trusted'
Conceptually, we're trying to express whether we trust the authors of a
job or not, and whether or not we trust the job to be able to have
access to secrets or request plugin execution. Reading and writing
narrative text using the word secure for that starts to hurt the head
sometimes. Switch to trusted.
Change-Id: Ic6a9fe7406f808f965a0ed5ef099fdea92f52c25
diff --git a/tests/base.py b/tests/base.py
index 1847104..8802cfd 100755
--- a/tests/base.py
+++ b/tests/base.py
@@ -767,12 +767,12 @@
self.launcher_server.lock.release()
return result
- def runAnsible(self, cmd, timeout, secure=False):
+ def runAnsible(self, cmd, timeout, trusted=False):
build = self.launcher_server.job_builds[self.job.unique]
if self.launcher_server._run_ansible:
result = super(RecordingAnsibleJob, self).runAnsible(
- cmd, timeout, secure=secure)
+ cmd, timeout, trusted=trusted)
else:
result = build.run()
return result