diff options
author | Alan Pearce | 2019-10-01 19:59:29 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-01 22:17:40 +0200 |
commit | 75166a4de865570f27c074c82e47168ac8630f83 (patch) | |
tree | 5cdbdf890fb92b2655ac71a3e3c76d179fabef1f /vagrant | |
parent | b6a175d58e59517517a0590f129e3b515ef94137 (diff) | |
download | dotfiles-75166a4de865570f27c074c82e47168ac8630f83.tar.lz dotfiles-75166a4de865570f27c074c82e47168ac8630f83.tar.zst dotfiles-75166a4de865570f27c074c82e47168ac8630f83.zip |
Cleanup unused dotfile categories
Diffstat (limited to 'vagrant')
-rw-r--r-- | vagrant/.vagrant.d/Vagrantfile | 7 | ||||
-rw-r--r-- | vagrant/.vagrant.d/ansible/centos.yml | 31 | ||||
-rw-r--r-- | vagrant/.vagrant.d/ansible/debian.yml | 15 | ||||
-rw-r--r-- | vagrant/.vagrant.d/ansible/site.yml | 32 |
4 files changed, 0 insertions, 85 deletions
diff --git a/vagrant/.vagrant.d/Vagrantfile b/vagrant/.vagrant.d/Vagrantfile deleted file mode 100644 index 4c69c88..0000000 --- a/vagrant/.vagrant.d/Vagrantfile +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: ruby -*- -Vagrant.configure(2) do |config| - config.vm.provision "ansible" do |ansible| - ansible.playbook = "#{File.dirname(__FILE__)}/ansible/site.yml" - ansible.limit = "all" - end -end diff --git a/vagrant/.vagrant.d/ansible/centos.yml b/vagrant/.vagrant.d/ansible/centos.yml deleted file mode 100644 index 1a6759a..0000000 --- a/vagrant/.vagrant.d/ansible/centos.yml +++ /dev/null @@ -1,31 +0,0 @@ -- name: Ensure EPEL repository package is present - register: centos_repos - get_url: - url: "{{ item.url }}" - dest: "/root/{{ item.dest }}" - with_items: - - url: http://lon.mirror.rackspace.com/ius/stable/CentOS/6/x86_64/epel-release-6-5.noarch.rpm - dest: epel-repo.rpm - - url: http://lon.mirror.rackspace.com/ius/stable/CentOS/6/x86_64/ius-release-1.0-11.ius.centos6.noarch.rpm - dest: ius-repo.rpm - -- name: Fetch utilities repo - get_url: - url: http://download.opensuse.org/repositories/utilities/CentOS_6/utilities.repo - dest: /etc/yum.repos.d/utilities.repo - -- name: Ensure IUS and EPEL repositories are installed - when: centos_repos.changed - yum: - name: "{{ item }}" - state: installed - with_items: - - /root/epel-repo.rpm - - /root/ius-repo.rpm - - -- name: Ensure that tools are installed - with_items: packages - yum: - name: "{{ item }}" - state: present diff --git a/vagrant/.vagrant.d/ansible/debian.yml b/vagrant/.vagrant.d/ansible/debian.yml deleted file mode 100644 index 9e06af6..0000000 --- a/vagrant/.vagrant.d/ansible/debian.yml +++ /dev/null @@ -1,15 +0,0 @@ -- get_url: - url: https://thoughtbot.github.io/rcm/debs/rcm_1.2.2-2_all.deb - dest: /tmp/rcm.deb - -- command: dpkg --skip-same-version -i /tmp/rcm.deb - register: dpkg - changed_when: "dpkg.stdout.startswith('Selecting')" - -- name: Ensure that tools are installed - with_items: packages - apt: - pkg: "{{ item }}" - state: present - cache_valid_time: 86400 - update_cache: yes \ No newline at end of file diff --git a/vagrant/.vagrant.d/ansible/site.yml b/vagrant/.vagrant.d/ansible/site.yml deleted file mode 100644 index 1338455..0000000 --- a/vagrant/.vagrant.d/ansible/site.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- hosts: all - sudo: yes - vars: - packages: - - zsh - - htop - - lsof - - git - - rcm - tasks: - - include: centos.yml - when: ansible_distribution == "CentOS" - - - include: debian.yml - when: ansible_distribution == "Debian" - - - name: Ensure that dotfiles are checked out - sudo: no - git: - repo: git://github.com/alanpearce/dotfiles - dest: ~/dotfiles - update: yes - - - name: Change shell to zsh - user: - name: vagrant - shell: /bin/zsh - - - name: Install dotfiles - sudo: no - command: /usr/bin/rcup -d dotfiles -t zsh -t git -x README.org -x Brewfile -x LaunchAgents chdir=/home/vagrant \ No newline at end of file |