mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
Merge pull request #651 from codingCoffee/trav_fix
travis permissions fix
This commit is contained in:
commit
d0b0bf92de
@ -10,6 +10,7 @@ install:
|
||||
- sudo pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1
|
||||
- sudo apt-get purge -y mysql-common mysql-server mysql-client
|
||||
- sudo apt-get install --only-upgrade -y git
|
||||
- sudo apt-get install hhvm && rm -rf /home/travis/.kiex/
|
||||
- mkdir -p ~/.bench
|
||||
- mkdir -p /tmp/.bench
|
||||
- cp -r $TRAVIS_BUILD_DIR/* ~/.bench
|
||||
|
@ -14,16 +14,6 @@
|
||||
owner: '{{ frappe_user }}'
|
||||
group: '{{ frappe_user }}'
|
||||
recurse: yes
|
||||
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'CentOS' or ansible_distribution == 'Debian'
|
||||
|
||||
- name: Set home folder perms
|
||||
file:
|
||||
path: '/Users/{{ frappe_user }}'
|
||||
mode: 'o+rx'
|
||||
owner: '{{ frappe_user }}'
|
||||
group: '{{ frappe_user }}'
|
||||
recurse: yes
|
||||
when: ansible_distribution == 'MacOSX'
|
||||
|
||||
- name: Set /tmp/.bench folder perms
|
||||
file:
|
||||
@ -31,8 +21,7 @@
|
||||
owner: '{{ frappe_user }}'
|
||||
group: '{{ frappe_user }}'
|
||||
recurse: yes
|
||||
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'CentOS' or ansible_distribution == 'Debian'
|
||||
|
||||
- name: Change default shell to bash
|
||||
shell: "chsh {{ frappe_user }} -s $(which bash)"
|
||||
...
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user