Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding modules #86

Closed
MaxiReglisse opened this issue Oct 6, 2023 · 3 comments
Closed

adding modules #86

MaxiReglisse opened this issue Oct 6, 2023 · 3 comments
Labels

Comments

@MaxiReglisse
Copy link

I'd like to ask a question. I don't understand how you can add modules other than those in the role. Typically, I would need php-pgsql. How do I do this?
I'm sorry to ask this question here, but I couldn't find the answer in the documentation.

thanks in advance,

Ernest.

@webarchitect609
Copy link
Contributor

Use variables in playbook.yml

---
- hosts: localhost

  vars:
    php_install_recommends: false
    php_versions_install_recommends: false
    php_version: "8.2"
    php_packages:
      - "php{{ php_version }}"
      - "php{{ php_version }}-apcu"
      - "php{{ php_version }}-cli"
      - "php{{ php_version }}-curl"
      - "php{{ php_version }}-dev"
      - "php{{ php_version }}-json"
      - "php{{ php_version }}-mbstring"
      - "php{{ php_version }}-memcache"
      - "php{{ php_version }}-mysql"
      - "php{{ php_version }}-opcache"
      - "php{{ php_version }}-xdebug"
      - "php{{ php_version }}-xml"
      - "memcached"

  roles:
    - role: geerlingguy.php-versions

Copy link

github-actions bot commented Mar 9, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Mar 9, 2024
@MaxiReglisse
Copy link
Author

ok, thanks for the answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants