threatstack / threatstack-ansible

Ansible for installing Threatstack Agent
https://www.threatstack.com
MIT License
23 stars 16 forks source link

don't require threatstack_feature_plan if threatstack_configure_agent is false #64

Closed kpankonen closed 3 years ago

kpankonen commented 5 years ago

the playbook fails when installing a v1 agent with threatstack_configure_agent set to false if threatstack_feature_plan is not set:

TASK [threatstack.threatstack-ansible : Ensure agent_type is defined] *******************************************************************************************************************************************************************************
Tuesday 22 October 2019  15:55:10 -0700 (0:00:00.058)       0:01:33.603 ******* 
fatal: [10.10.1.186]: FAILED! => changed=false 
  msg: threatstack_feature_plan is mandatory for 1.x agents!

the install does not use use the threatstack_feature_plan or agent_type facts, so it doesn't seem like setting it should be required