Explorar el Código

se agrega ROLE_ADMIN al usuario ADMIN

Luciano Andrade hace 7 años
padre
commit
93d85d995b
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      tools/playbook.yml

+ 5 - 0
tools/playbook.yml

@@ -144,6 +144,11 @@
       args:
         executable: /bin/bash
 
+    - name: Promote users to ADMIN
+      shell: " bin/console fos:user:promote admin ROLE_ADMIN"
+      args:
+        executable: /bin/bash
+
     - name: Copy file oauth.data.log to host
       fetch:
           src: /opt/base/oauth.data.log