You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+39
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,42 @@
1
+
# v1.5.0.dev0
2
+
3
+
This release includes a huge number of improvements, major highlights:
4
+
5
+
**Automatic sudo password prompting** - at last! pyinfra can now detect when a sudo password is required and will prompt the user.
6
+
7
+
**Global config object** - there is now a `pyinfra.config` object that should be used to set config variables:
8
+
9
+
```py
10
+
from pyinfra import config
11
+
config.SUDO=True
12
+
```
13
+
14
+
This replaces the old style of setting `SUDO = True` at the top of files which was extracted via the AST. This new object means config variables can be set to anything (including the results of functions) and work across multiple deploy files.
0 commit comments