Commit cfebfdd9 authored by Kristopher Ruzic's avatar Kristopher Ruzic

Moves location of shared playbook to a better directory, fixes ownership bug

This is a temporary fix (until I think of something better) for https://nexedi.erp5.net/bug_module/20150609-1736CE7
Uses Ansibles shell module to execute chown.
parent 262288ad
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
roles: roles:
- erp5-standalone - erp5-standalone
- erp5-show - standalone-shared
...@@ -21,3 +21,6 @@ ...@@ -21,3 +21,6 @@
- name: Run slapos format for initial bootstrap - name: Run slapos format for initial bootstrap
shell: "slapos node format --now --alter_user=True" shell: "slapos node format --now --alter_user=True"
when: slapos_cfg.stat.exists == False when: slapos_cfg.stat.exists == False
- name: Set ownership for /opt/slapgrid
shell: "chown slapsoft:slapsoft /opt/slapgrid"
---
- name: create erp5-show
copy: src=erp5-show dest=/usr/local/bin/erp5-show mode=755
- name: set ownership of /opt/slapgrid (temporary fix
shell: chown slapsoft:slapsoft /opt/slapgrid
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
roles: roles:
- wendelin-standalone - wendelin-standalone
- erp5-show - standalone-shared
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment