Advertisement
QualibreInfo

Apache rol for CentOS 8

May 17th, 2022
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.73 KB | None | 0 0
  1. ---
  2. - name: "epel activation"
  3.   yum:
  4.     name: "epel-release"
  5.     state: present
  6.  
  7. - name: Import remi GPG key.
  8.   rpm_key:
  9.     key: http://rpms.remirepo.net/RPM-GPG-KEY-remi
  10.     state: present
  11.  
  12. - name: Import remi GPG key 2018.
  13.   rpm_key:
  14.     key: http://rpms.remirepo.net/RPM-GPG-KEY-remi2018
  15.     state: present
  16.  
  17. - name: "remi repo activation"
  18.   yum:
  19.     name: "https://rpms.remirepo.net/enterprise/remi-release-8.rpm"
  20.     state: present
  21.  
  22. - name: "install php70 packages"
  23.   yum:
  24.     name:
  25.      - php
  26.       - php-mysqlnd
  27.       - php-xml
  28.       - php-mbstring
  29.       - php70-php-mcrypt"
  30.      - php-gd
  31.      - php-intl
  32.      - php-json
  33.    state: latest
  34.    enablerepo: "remi-php70"
  35.  notify: [ "apache restart" ]
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement