diff --git a/cyber_sandbox_creator/ansible_generator/provisioning.py b/cyber_sandbox_creator/ansible_generator/provisioning.py index e3310fb705256d1088627980b64798ed3b0ffc64..70fba6102db4262693078144b4e4b7173a4b32bc 100644 --- a/cyber_sandbox_creator/ansible_generator/provisioning.py +++ b/cyber_sandbox_creator/ansible_generator/provisioning.py @@ -21,7 +21,7 @@ class Provision: if Provision._provisioning_exists(sandbox): Writer.remove_directory(provisioning_path) Writer.copy_file(Path(__file__).parent.parent / - "resources/files/playbook.yml", sandbox.sandbox_dir / + "resources/files/user_playbook.yml", sandbox.sandbox_dir / sandbox.config["provisioning_playbook"]) @staticmethod diff --git a/cyber_sandbox_creator/resources/files/user_playbook.yml b/cyber_sandbox_creator/resources/files/user_playbook.yml new file mode 100644 index 0000000000000000000000000000000000000000..8b3dce6172184fc02a1061ed0ac50def72c0a2c2 --- /dev/null +++ b/cyber_sandbox_creator/resources/files/user_playbook.yml @@ -0,0 +1,5 @@ +# This is an empty template playbook +# You can write your custom configuration here + +- hosts: all +... \ No newline at end of file