Skip to content

Commit

Permalink
Simplify broker_settings.yaml.example (#207)
Browse files Browse the repository at this point in the history
* Simplify broker_settings.yaml.example

This simplifies and clarifies the AnsibleTower provider's example settings.

I think more can be done here in the future around removing the test settings, but that's beyond this update.

* Update broker_settings.yaml.example

add sane defaults for host username and port
  • Loading branch information
JacobCallahan authored Apr 11, 2023
1 parent e38aa10 commit 33c9741
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions broker_settings.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,19 @@ logging:
file_level: debug
# Host Settings
# These can be left alone if you're not using Broker as a library
host_username: "root"
host_username: root
host_password: "<password>"
host_ssh_port: "<port>"
host_ssh_port: 22
host_ssh_key_filename: "</path/to/the/ssh-key>"
# Provider settings
AnsibleTower:
instances:
- production:
base_url: "https://<ansible tower host>/"
# Username AND password, OR an OAUTH token can be used for authentication
username: "<username>"
password: "<plain text password>"
# token: "<AT personal access token>"
inventory: "inventory name"
default: True
- testing:
base_url: "https://<ansible tower host>/"
# Username AND password, OR an OAUTH token can be used for authentication
username: "<username>"
password: "<plain text password>"
# token: "<AT personal access token>"
inventory: "inventory name"
base_url: "https://<ansible tower host>/"
# Username is required for both token and password-based authentication
username: "<username>"
# token is the preferred authentication method
token: "<AT personal access token>"
# password: "<plain text password>"
inventory: "inventory name"
release_workflow: "remove-vm"
extend_workflow: "extend-vm"
new_expire_time: "+172800"
Expand Down

0 comments on commit 33c9741

Please sign in to comment.