From 8f4b3b7cbb2bc32047804f2eb1e618501b5f148d Mon Sep 17 00:00:00 2001 From: Johan Meiring Date: Sat, 25 Jun 2016 20:26:02 +0200 Subject: [PATCH] Cleanup for v1.0.0 --- .travis.yml | 24 ++++++------------------ README.md | 5 +++-- meta/main.yml | 8 ++++---- 3 files changed, 13 insertions(+), 24 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6262da3..4b1ff64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,33 +2,21 @@ sudo: required env: - # - distribution: centos - # version: 6 - # init: /sbin/init - # run_opts: "" - # - distribution: centos - # version: 7 - # init: /usr/lib/systemd/systemd - # run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro" - - distribution: ubuntu + - ansible: 1.9.6 + distribution: ubuntu version: 14.04 init: /sbin/init run_opts: "" - ansible: 1.9.6 - - distribution: ubuntu + - ansible: 2.0.2.0 + distribution: ubuntu version: 14.04 init: /sbin/init run_opts: "" - ansible: 2.0.2.0 - - distribution: ubuntu + - ansible: 2.1.0.0 + distribution: ubuntu version: 14.04 init: /sbin/init run_opts: "" - ansible: 2.1.0.0 - # - distribution: ubuntu - # version: 12.04 - # init: /sbin/init - # run_opts: "" services: - docker diff --git a/README.md b/README.md index fe43c76..8edb0eb 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ It is advisable that `scp_if_ssh` be set to `true` in the `ssh_connection` secti scp_if_ssh=True ``` -Other than that, only Ansible itself is required. Tested using Ansible 1.5 and 1.6. +Other than that, only Ansible itself is required. Tested using Ansible 1.9, 2.0.2.0 and 2.1.0.0. Works on Ubuntu 14.04 and 16.04, untested on other versions. ## Role Variables @@ -38,7 +38,8 @@ The following role variables are relevant: --- - name: test-playbook | Test sftp-server role hosts: all - sudo: yes + become: yes + become_user: root vars: - sftp_users: - name: peter diff --git a/meta/main.yml b/meta/main.yml index 6dcd349..7da6a3d 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -3,15 +3,15 @@ galaxy_info: author: Johan Meiring description: "Setup chrooted SFTP service on top of OpenSSH" license: MIT - min_ansible_version: 1.5 + min_ansible_version: 1.9 platforms: - name: Ubuntu versions: - all - categories: - - networking - - system + galaxy_tags: + - networking + - system dependencies: []