From 68db61e87634d6d6e596c62526f6e62ad40a2803 Mon Sep 17 00:00:00 2001 From: Bert Van Vreckem Date: Thu, 12 May 2016 09:23:38 +0200 Subject: [PATCH] Removed test code from master branch --- tests/Vagrantfile | 17 ----------------- tests/inventory | 1 - tests/roles/samba | 1 - tests/test-full.yml | 46 --------------------------------------------- tests/test.yml | 7 ------- 5 files changed, 72 deletions(-) delete mode 100644 tests/Vagrantfile delete mode 100644 tests/inventory delete mode 120000 tests/roles/samba delete mode 100644 tests/test-full.yml delete mode 100644 tests/test.yml diff --git a/tests/Vagrantfile b/tests/Vagrantfile deleted file mode 100644 index 1241a68..0000000 --- a/tests/Vagrantfile +++ /dev/null @@ -1,17 +0,0 @@ -# vi: set ft=ruby - -require 'rbconfig' - -ROLE_NAME = 'samba' -HOST_NAME = 'test' + ROLE_NAME -VAGRANTFILE_API_VERSION = '2' - -Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.box = 'bertvv/centos71' - config.vm.define HOST_NAME do |node| - node.vm.provision 'ansible' do |ansible| - ansible.playbook = 'test-full.yml' - end - end -end - diff --git a/tests/inventory b/tests/inventory deleted file mode 100644 index 2302eda..0000000 --- a/tests/inventory +++ /dev/null @@ -1 +0,0 @@ -localhost ansible_connection=local diff --git a/tests/roles/samba b/tests/roles/samba deleted file mode 120000 index c25bddb..0000000 --- a/tests/roles/samba +++ /dev/null @@ -1 +0,0 @@ -../.. \ No newline at end of file diff --git a/tests/test-full.yml b/tests/test-full.yml deleted file mode 100644 index 4228660..0000000 --- a/tests/test-full.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- -- hosts: all - become: true - pre_tasks: - - name: Ensure /var/www/html exists - file: - name: /var/www/html - state: directory - - vars: - #samba_netbios_name: SAMBA_TEST - samba_server_string: 'Welcome to the test file server' - samba_workgroup: TESTGROUP - - samba_load_homes: true - samba_load_printers: false - samba_create_varwww_symlinks: true - - samba_log: /var/log/samba.log - samba_log_size: 60000 - - samba_map_to_guest: Never - samba_users: - - name: vagrant - password: vagrant - - samba_shares_root: /srv/samba - samba_shares: - - name: restrictedshare - - name: privateshare - comment: 'Only readable/writeable by vagrant' - write_list: vagrant - group: vagrant - - name: protectedshare - public: yes - comment: 'Public, but only writeable by vagrant' - write_list: vagrant - group: vagrant - - name: publicshare - comment: 'Public share, writeable by all members of group ‘users’' - public: yes - write_list: +users - group: users - setype: public_content_t - roles: - - samba diff --git a/tests/test.yml b/tests/test.yml deleted file mode 100644 index f5d770a..0000000 --- a/tests/test.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- hosts: all - become: true - vars: - samba_netbios_name: SAMBA_TEST - roles: - - samba