line: date.timezone = {{ lookup('file', '/etc/timezone') }}
path: "{{ item }}"
loop:
- - /etc/php/7.4/cli/php.ini
- - /etc/php/7.4/apache2/php.ini
+ - /etc/php/8.2/cli/php.ini
+ - /etc/php/8.2/apache2/php.ini
notify: Restart Apache2.
- name: Enable/Start Apache2.
line: date.timezone = {{ lookup('file', '/etc/timezone') }}
path: "{{ item }}"
loop:
- - /etc/php/7.4/cli/php.ini
- - /etc/php/7.4/apache2/php.ini
+ - /etc/php/8.2/cli/php.ini
+ - /etc/php/8.2/apache2/php.ini
when: mythtv.stat.exists
notify: Restart Apache2.
#+END_SRC
line: date.timezone = {{ city }}
path: "{{ item }}"
loop:
- - /etc/php/7.4/cli/php.ini
- - /etc/php/7.4/apache2/php.ini
+ - /etc/php/8.2/cli/php.ini
+ - /etc/php/8.2/apache2/php.ini
notify: Restart Apache2.
handlers:
- name: Restart Apache2.
line: date.timezone = {{ city }}
path: "{{ item }}"
loop:
- - /etc/php/7.4/cli/php.ini
- - /etc/php/7.4/apache2/php.ini
+ - /etc/php/8.2/cli/php.ini
+ - /etc/php/8.2/apache2/php.ini
notify: Restart Apache2.
handlers:
- name: Restart Apache2.
line: date.timezone = {{ lookup('file', '/etc/timezone') }}
path: "{{ item }}"
loop:
- - /etc/php/7.4/cli/php.ini
- - /etc/php/7.4/apache2/php.ini
+ - /etc/php/8.2/cli/php.ini
+ - /etc/php/8.2/apache2/php.ini
notify: Restart Apache2.
- name: Enable/Start Apache2.
line: date.timezone = {{ lookup('file', '/etc/timezone') }}
path: "{{ item }}"
loop:
- - /etc/php/7.4/cli/php.ini
- - /etc/php/7.4/apache2/php.ini
+ - /etc/php/8.2/cli/php.ini
+ - /etc/php/8.2/apache2/php.ini
when: mythtv.stat.exists
notify: Restart Apache2.