Commit Graph

127 Commits (2cdc052d7c2920068d0ebca61e6c55698ec96192)

Author SHA1 Message Date
js-g d7507ae67c fix (provisioner/ansible): add checks for both roles and collections
6 years ago
js-g 08d485b1f9 GH 10008: fix ansible-galaxy for v1 files
6 years ago
Artis3n 4ecade3908 collectionsPath appends to the correct slice
6 years ago
Artis3n 39183d1b76 Updated documentation with `make generate`
6 years ago
Artis3n 611899f7b2 Actually use the collectionArgs, that would be helpful
6 years ago
Artis3n 3d2259a6d4 Typo fix in comment
6 years ago
Artis3n 19f0114035 Added support for Ansible Collections to the Galaxy install
6 years ago
Larry 0bcf4f2613
Update provisioner.hcl2spec.go
6 years ago
Larry 20472bc12f
Update provisioner_test.go
6 years ago
Larry f4a2838716
Added Tests for AnsibleSSHExtraArgs
6 years ago
Larry 7cb17f64a6
Added AnsibleSSHExtraArgs
6 years ago
Megan Marsh b52143f528 update docs for command and make sure they get generated properly so they appear in the docs
6 years ago
Artem Zavatskiy bec367347d ansible-provisioner: fix tests related to ssh agent
6 years ago
Artem Zavatskiy c0048daed5 fix agent auth in ssh communicator for ansible provisioner (#9488)
6 years ago
Megan Marsh 8fc4e03139
quote packer build name to handle names with spaces (#9590)
6 years ago
Sylvia Moss 3dc7a53125
Correct check if PackerHttpAddr is implemented or not (#9498)
6 years ago
Megan Marsh b5b8f2e308
add template option for templating the inventory file lines (#9438)
6 years ago
Megan Marsh 3d7c9cb9c2
make ansible provisioner docs generated from code (#9439)
6 years ago
Lane, Larry 5976929595 Fix for #9283
6 years ago
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Lane, Larry f4254e9cbf updated test
6 years ago
Lane, Larry c689eb9694 added test
6 years ago
Lane, Larry de12432e6b add test
6 years ago
Lane, Larry e6670fc4a0 fix arg order
6 years ago
Sylvia Moss 1c30a71d09
Replace file shared state by statebag (#9238)
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Megan Marsh b66e49223d extract the building of command args into a testable helper function
6 years ago
Megan Marsh 91906b688c regenerate code
6 years ago
Megan Marsh 73c87044fd fix tests
6 years ago
Megan Marsh 64b706983e docs and cleanup
6 years ago
Megan Marsh d45ffe73d0 fix default ssh-extra-args flag
6 years ago
Megan Marsh d57809bcda pass ansible_password on command line instead of inside inventory file
6 years ago
Megan Marsh eda9ce70e7 update tests
6 years ago
Megan Marsh 9a40403433 clean up tests
6 years ago
Megan Marsh e155d2a1c8 add mock so we can test full provision flow
6 years ago
Megan Marsh 6c756a7b31 fix tests
6 years ago
Megan Marsh 19d49f8b78 templatize inventory files; implement inventory for winrm
6 years ago
Megan Marsh ca5814ab74 move proxy behind feature flag
6 years ago
Megan Marsh 4b9568e409 fix winrmpass sanitization to account for empty string value.
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 0f6d1beccf add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables.
6 years ago
Megan Marsh 82367a88f8 reorganize placeholder data call to live with provisioner implementation; force users to use the generated function, therefore forcing validation, for all variables except winrmpassword, by doing a simple string check against the placeholder data.
6 years ago
Megan Marsh 3389d843f0 update all provisioners that used the winrmpassword tooling to use the new generateddata option
6 years ago
Megan Marsh 39fd462b56 change all provision func signatures to use map[string]interface{}
6 years ago
Megan Marsh 0ca7c9f397 fix tests
6 years ago
Megan Marsh 6f418d0e54 get data sharing to a working state with the powershell provisioner
6 years ago
Megan Marsh f4c3501af5 pass struct of generated data into provision() call
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Lars Lehtonen b207752883 provisioner/ansible: Fix dropped error
7 years ago