diff --git a/dev/Vagrantfile.example b/dev/Vagrantfile.example index dbcc925..387e9c4 100644 --- a/dev/Vagrantfile.example +++ b/dev/Vagrantfile.example @@ -4,8 +4,8 @@ VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.box_url = "https://download.fedoraproject.org/pub/fedora/linux/releases/25/CloudImages/x86_64/images/Fedora-Cloud-Base-Vagrant-25-1.3.x86_64.vagrant-libvirt.box" - config.vm.box = "f25-cloud-libvirt" + config.vm.box_url = "https://download.fedoraproject.org/pub/fedora/linux/releases/27/CloudImages/x86_64/images/Fedora-Cloud-Base-Vagrant-27-1.6.x86_64.vagrant-libvirt.box" + config.vm.box = "f27-cloud-libvirt" # Forward traffic on the host to the development server on the guest diff --git a/dev/ansible/roles/pagure-dev/files/gitolite3.rc b/dev/ansible/roles/pagure-dev/files/gitolite3.rc index 1a20d42..9c566f4 100644 --- a/dev/ansible/roles/pagure-dev/files/gitolite3.rc +++ b/dev/ansible/roles/pagure-dev/files/gitolite3.rc @@ -15,6 +15,7 @@ %RC = ( # ------------------------------------------------------------------ + GL_REPO_BASE => '/home/vagrant/pagure_data/repos', # default umask gives you perms of '0700'; see the rc file docs for # how/why you might change this diff --git a/dev/ansible/roles/pagure-dev/tasks/main.yml b/dev/ansible/roles/pagure-dev/tasks/main.yml index a67e8e4..686138c 100644 --- a/dev/ansible/roles/pagure-dev/tasks/main.yml +++ b/dev/ansible/roles/pagure-dev/tasks/main.yml @@ -118,13 +118,7 @@ - tickets - requests - remotes - -- name: Link the pagure repos directory to gitolite - become_user: "{{ ansible_env.SUDO_USER }}" - file: - path: /home/{{ ansible_env.SUDO_USER }}/pagure_data/repos - src: /home/{{ ansible_env.SUDO_USER }}/repositories - state: link + - repos - name: Add a working copy of alembic.ini become_user: "{{ ansible_env.SUDO_USER }}"