---
- hosts: all
tasks:
- name: Include variables for the controller settings
include_vars: vars/controller.yaml
- include_role:
name: appdynamics.agents.apache
vars:
agent_version: 22.12.1
# possible value:
# - latest: Latest version
# - 22.12.1: Any Specific version number
agent_type: apache
agent_action: upgrade
# possible value:
# - upgrade: upgrade currently installed agent to agent_version
# - install: install agent_version
# - rollback: rollback to previous backup if any
# - uninstall: uninstall and clean up everything
# Apache specific Args
#apache_conf_path:
# possible value:
# - /etc/httpd/conf/httpd.conf #default path in case of RedHat
# - /etc/apache2/apache2.conf #Default path in case of Debian
# - #any custom path where the conf file is located.