Skip to content

Commit

Permalink
NGX-780: Introduce siteurl, phpversion tags (#29)
Browse files Browse the repository at this point in the history
* NGX-780: Introduce siteurl, phpversion tags

* NGX-780: Remove version definitions
  • Loading branch information
combssm committed Dec 11, 2023
1 parent 48e6b54 commit 4d04394
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# requirements.txt

ansible-lint
ansible>=6,<7
ansible
molecule-plugins[docker]
molecule>=5,<6
molecule
pre-commit
4 changes: 4 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- name: Setup package repositories
ansible.builtin.include_tasks: "packages/{{ ansible_os_family | lower }}.yml"
tags: phpversion

- name: Remove PHP packages (if version changing)
ansible.builtin.package:
Expand All @@ -12,11 +13,13 @@
when:
- php_version_switch is defined
- php_version_switch
tags: phpversion

- name: Install PHP packages
ansible.builtin.package:
name: "{{ php_packages }}"
state: present
tags: phpversion

- name: Configure php.ini
ansible.builtin.template:
Expand All @@ -33,6 +36,7 @@
regexp: "^;rlimit_files.*"
line: rlimit_files = {{ php_ini_rlimit_files }}
notify: Restart php-fpm
tags: phpversion

- name: Check if Apache dirs are present
ansible.builtin.stat:
Expand Down

0 comments on commit 4d04394

Please sign in to comment.