mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
Use add/remove instead of replace in rootpw plugin
This commit is contained in:
parent
38bcb12c72
commit
aa91bc701f
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
||||||
def tasks(tasklist, manifest):
|
def tasks(tasklist, manifest):
|
||||||
from common.tasks.security import DisableSSHPasswordAuthentication
|
from common.tasks.security import DisableSSHPasswordAuthentication
|
||||||
from tasks import SetRootPassword
|
from tasks import SetRootPassword
|
||||||
tasklist.replace(DisableSSHPasswordAuthentication, SetRootPassword)
|
tasklist.remove(DisableSSHPasswordAuthentication)
|
||||||
|
tasklist.add(SetRootPassword)
|
||||||
|
|
||||||
|
|
||||||
def validate_manifest(data, schema_validate):
|
def validate_manifest(data, schema_validate):
|
||||||
|
|
Loading…
Add table
Reference in a new issue