diff --git a/README.md b/README.md index 2e5110b..32d1b22 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ None Role Variables -------------- -None +User Variables +- kazoo_freeswitch_version - The Kazoo Freeswitch version to install from the 2600hz repo. +kazoo-ansible manages the version by default. Dependencies ------------ diff --git a/defaults/main.yml b/defaults/main.yml new file mode 100644 index 0000000..d924a7a --- /dev/null +++ b/defaults/main.yml @@ -0,0 +1,2 @@ +--- +kazoo_freeswitch_version: 4.1-7 diff --git a/tasks/main.yml b/tasks/main.yml index 7f77696..a7a9fcb 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,8 +1,8 @@ --- - name: Install FreeSwitch yum: - name: kazoo-freeswitch - state: latest + name: "kazoo-freeswitch-{{ kazoo_freeswitch_version }}.el7.centos" + state: present notify: Gracefully Restart FreeSwitch - name: Stop and Disable Default FreeSwitch