1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

record apache installation

This commit is contained in:
Jerry Vonau 2023-04-02 08:19:20 -05:00
parent 4736bc3873
commit 07b310f5d5

View file

@ -39,3 +39,13 @@
dest: /etc/{{ apache_service }}/sites-available/freepbx.conf # apache2
owner: "{{ apache_user }}" # www-data
group: "{{ apache_user }}"
- name: "Set 'pbx_apache_installed: True'"
set_fact:
pbx_apache_installed: True
- name: "Add 'pbx_apache_installed: True' to {{ iiab_state_file }}"
lineinfile:
path: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
regexp: '^pbx_apache_installed'
line: 'pbx_apache_installed: True'