2 Ревизии c794c8fbb1 ... 06a32ad308

Автор SHA1 Съобщение Дата
  dean 06a32ad308 Merge branch 'master' of http://gitlab.awcls.com/heavensend/myproject преди 5 години
  dean bf388671ad add yum package gcc-c++ & chance PCPE version determine option. преди 5 години
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      ansible/roles/nginx/tasks/installer.yml

+ 2 - 1
ansible/roles/nginx/tasks/installer.yml

@@ -37,11 +37,12 @@
     - pcre-devel
     - openssl-devel
     - gcc
+    - gcc-c++
   when: ansible_distribution == 'CentOS'
   tags: nginx_installer
 
 - name: Get PCPE Version Of RPM
-  shell: yum list installed pcre-devel | grep custom-rpm | awk '{print $2}' | cut -d'-' -f1
+  shell: yum list installed pcre-devel | grep pcre-devel | awk '{print $2}' | cut -d'-' -f1
   register: pcre_version
   changed_when: False
   args: