diff --git a/libvirt-ansible-python/README.md b/libvirt-ansible-python/README.md index 4c83786..0c8e4b3 100644 --- a/libvirt-ansible-python/README.md +++ b/libvirt-ansible-python/README.md @@ -6,4 +6,5 @@ To quickly set up your pulumi deployment, configure the following settings: $ pulumi config set image_url --plaintext "https://cdimage.debian.org/images/cloud/bullseye-backports/20220711-1073/debian-11-backports-generic-amd64-20220711-1073.qcow2" $ pulumi config set disksize --plaintext 20 $ pulumi config set memory --plaintext 2048 + $ pulumi config set ansible_playbook --plaintext deploy.yml diff --git a/libvirt-ansible-python/__main__.py b/libvirt-ansible-python/__main__.py index a6a4ef8..79e8348 100644 --- a/libvirt-ansible-python/__main__.py +++ b/libvirt-ansible-python/__main__.py @@ -65,6 +65,7 @@ inventory = command.local.Command("a-inventory", ) # Applying the command +ansible_playbook = config.require("ansible_playbook") execute_ansible = command.local.Command("a-deploy", create = f"ansible-playbook {ansible_playbook}", delete = "rm -f ./ansible.log",