From 8302ede99e56a5c2db32947f88a9a14c28769f37 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Wed, 11 Dec 2024 18:15:11 -0500 Subject: [PATCH] fix: Fixes gitignore to not ignore configuration resources. --- .gitignore | 2 +- .../ConfigurationClient/Resources/hpa.toml | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 Sources/ConfigurationClient/Resources/hpa.toml diff --git a/.gitignore b/.gitignore index 57515c9..1bd1ed2 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,4 @@ DerivedData/ .netrc .nvim/* .swiftpm/* -hpa.toml +./hpa.toml diff --git a/Sources/ConfigurationClient/Resources/hpa.toml b/Sources/ConfigurationClient/Resources/hpa.toml new file mode 100644 index 0000000..b16e53c --- /dev/null +++ b/Sources/ConfigurationClient/Resources/hpa.toml @@ -0,0 +1,40 @@ +# Configuration settings for the `hpa` command line tool. +# +# Delete settings that are not applicable to your use case. + +# Default arguments / options that get passed into `ansible-playbook` commands. +args = [] + +# Set to true if you want to pass the vault args to `ansible-playbook` commands. +useVaultArgs = true + +# These are more for local development of the ansible playbook and should not be needed +# in most cases. Uncomment the lines if you want to customize the playbook and use it +# instead of the provided / default playbook. + +#[playbook] +#directory = '/path/to/local/playbook-directory' +#inventory = '/path/to/local/inventory.ini' + +# These are to declare where your template files are either on your local system or +# a remote git repository. +[template] +# The directory path on your local system to the template files. +directory = '/path/to/local/template-directory' + +# The url to a git repository that contains your template files. +url = 'https://git.example.com/consult-template.git' + +# The version, tag, branch, or sha of the template files to clone from the remote +# template repository. In general it is best practice to use a version instead of a +# branch. +version = '1.0.0' + +# Holds settings for `ansible-vault` commands. +[vault] +# Arguments to pass to commands that use `ansible-vault`, such as encrypting or decrypting +# files. +args = [ '--vault-id=myId@$SCRIPTS/vault-gopass-client' ] + +# An id to use when encrypting `ansible-vault` files. +encryptId = 'myId'