Replies: 5 comments
-
@dhoppe - what do you mean by "prevent" the service from starting for these tasks? They are for configuring the sensor, so when a change is made, the state needs to be restarted for linux. I suppose we can make an argument for Windows that we don't really care about service state if someone wants to remove AID. IMO the |
Beta Was this translation helpful? Give feedback.
-
@carlosmmatos I took a second look at the code and finally understand why the service is
@carlosmmatos I actually wanted to create a pull request to When creating a golden image, the service should be |
Beta Was this translation helpful? Give feedback.
-
I hear you. But the workflow is generally like this (linux):
|
Beta Was this translation helpful? Give feedback.
-
@carlosmmatos I think this is handled by the package itself. For example, Debian / Ubuntu installs the package with a default configuration and starts the service. RedHat installs the package, but does not start the service by default until the user decides his configuration fits his requirements.
I am definitely in favor of whiskey. 😁 |
Beta Was this translation helpful? Give feedback.
-
Yes, I'm well aware that the package itself does this, it was more of a "why did engineering" make it like so 🤦🏼♂️ And I think all the distros start on install. I just double-checked rhel8/9 and they both will be in a failed state do to attempting to start without a cid. |
Beta Was this translation helpful? Give feedback.
-
It looks like the variable
falcon_service_state
has not been defined atdefaults/main.yml
and therefore the task only relies on thedefault('restarted')
.ansible_collection_falcon/roles/falcon_configure/tasks/configure.yml
Line 28 in ba37c6f
ansible_collection_falcon/roles/falcon_configure/tasks/win_configure.yml
Line 6 in ba37c6f
Beta Was this translation helpful? Give feedback.
All reactions