Adding variable to config.
This commit is contained in:
parent
5ee69d1f94
commit
b5bce9cb17
@ -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
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user