From 5350b64f87b65bb9b77b4e1b3093a8f67447e0ad Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Tue, 17 Sep 2019 06:23:31 +0200 Subject: [PATCH] Update roles and version of collection. --- galaxy.yml | 2 +- roles/ansible/CONTRIBUTING.md | 2 +- roles/ansible/SECURITY.md | 23 ++ roles/ansible/meta/.galaxy_install_info | 2 +- .../ansible/molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + roles/ansible/molecule/archlinux/molecule.yml | 4 + roles/ansible/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/ansible/molecule/default/molecule.yml | 4 + roles/ansible/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/ansible/molecule/vagrant/molecule.yml | 4 + roles/ansible_lint/CONTRIBUTING.md | 2 +- roles/ansible_lint/SECURITY.md | 23 ++ roles/ansible_lint/meta/.galaxy_install_info | 2 +- .../molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + .../molecule/archlinux/molecule.yml | 4 + .../molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + .../molecule/default/molecule.yml | 4 + roles/ansible_lint/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + .../molecule/vagrant/molecule.yml | 4 + roles/ara/.travis.yml | 88 ++++---- roles/ara/CONTRIBUTING.md | 10 +- roles/ara/README.md | 46 ++-- roles/ara/SECURITY.md | 23 ++ roles/ara/meta/.galaxy_install_info | 2 +- roles/ara/molecule/alpine-edge/molecule.yml | 4 + roles/ara/molecule/alpine-latest/molecule.yml | 4 + roles/ara/molecule/archlinux/molecule.yml | 4 + roles/ara/molecule/centos-6/molecule.yml | 4 + roles/ara/molecule/centos-latest/molecule.yml | 4 + roles/ara/molecule/debian-stable/molecule.yml | 4 + .../ara/molecule/debian-unstable/molecule.yml | 4 + roles/ara/molecule/default/molecule.yml | 21 +- roles/ara/molecule/ec2/molecule.yml | 4 + roles/ara/molecule/fedora-latest/molecule.yml | 8 + .../ara/molecule/fedora-rawhide/molecule.yml | 8 + roles/ara/molecule/opensuse-leap/molecule.yml | 6 +- roles/ara/molecule/ubuntu-devel/molecule.yml | 4 + roles/ara/molecule/ubuntu-latest/molecule.yml | 4 + .../ara/molecule/ubuntu-rolling/molecule.yml | 4 + roles/ara/molecule/vagrant/molecule.yml | 10 +- roles/ara/tasks/main.yml | 2 +- roles/atom/CONTRIBUTING.md | 2 +- roles/atom/SECURITY.md | 23 ++ roles/atom/meta/.galaxy_install_info | 2 +- roles/atom/molecule/alpine-edge/molecule.yml | 4 + .../atom/molecule/alpine-latest/molecule.yml | 4 + roles/atom/molecule/archlinux/molecule.yml | 4 + roles/atom/molecule/centos-6/molecule.yml | 4 + .../atom/molecule/centos-latest/molecule.yml | 4 + .../atom/molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/atom/molecule/default/molecule.yml | 4 + roles/atom/molecule/ec2/molecule.yml | 4 + .../atom/molecule/fedora-latest/molecule.yml | 4 + .../atom/molecule/fedora-rawhide/molecule.yml | 4 + .../atom/molecule/opensuse-leap/molecule.yml | 4 + roles/atom/molecule/ubuntu-devel/molecule.yml | 4 + .../atom/molecule/ubuntu-latest/molecule.yml | 4 + .../atom/molecule/ubuntu-rolling/molecule.yml | 4 + roles/atom/molecule/vagrant/molecule.yml | 4 + roles/bootstrap/.travis.yml | 6 +- roles/bootstrap/CONTRIBUTING.md | 2 +- roles/bootstrap/README.md | 5 +- roles/bootstrap/SECURITY.md | 23 ++ roles/bootstrap/meta/.galaxy_install_info | 2 +- .../molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + .../bootstrap/molecule/archlinux/molecule.yml | 4 + .../bootstrap/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/bootstrap/molecule/default/molecule.yml | 4 + .../molecule/digitalocean/molecule.yml | 4 + roles/bootstrap/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + roles/bootstrap/molecule/gentoo/molecule.yml | 4 + roles/bootstrap/molecule/kali/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../bootstrap/molecule/redhat-7/molecule.yml | 4 + .../molecule/redhat-latest/molecule.yml | 4 + .../molecule/rhel-latest/molecule.yml | 4 + .../molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/bootstrap/molecule/vagrant/molecule.yml | 4 + roles/bootstrap/vars/main.yml | 6 +- roles/buildtools/CONTRIBUTING.md | 2 +- roles/buildtools/SECURITY.md | 23 ++ roles/buildtools/meta/.galaxy_install_info | 2 +- .../molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + .../molecule/archlinux/molecule.yml | 4 + .../buildtools/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + .../buildtools/molecule/default/molecule.yml | 4 + roles/buildtools/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + .../buildtools/molecule/vagrant/molecule.yml | 4 + roles/buildtools/vars/main.yml | 1 + roles/common/.travis.yml | 2 +- roles/common/CONTRIBUTING.md | 2 +- roles/common/README.md | 13 +- roles/common/SECURITY.md | 23 ++ roles/common/meta/.galaxy_install_info | 2 +- roles/common/meta/exception.yml | 4 + .../common/molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + roles/common/molecule/archlinux/molecule.yml | 4 + roles/common/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/common/molecule/default/molecule.yml | 4 + roles/common/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../common/molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/common/molecule/vagrant/molecule.yml | 4 + roles/docker/CONTRIBUTING.md | 2 +- roles/docker/README.md | 3 + roles/docker/SECURITY.md | 23 ++ roles/docker/meta/.galaxy_install_info | 2 +- .../docker/molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + roles/docker/molecule/archlinux/molecule.yml | 4 + roles/docker/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/docker/molecule/default/molecule.yml | 4 + roles/docker/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../docker/molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/docker/molecule/vagrant/molecule.yml | 4 + roles/docker/vars/main.yml | 3 + roles/epel/CONTRIBUTING.md | 2 +- roles/epel/SECURITY.md | 23 ++ roles/epel/meta/.galaxy_install_info | 2 +- roles/epel/molecule/centos-6/molecule.yml | 4 + .../epel/molecule/centos-latest/molecule.yml | 4 + roles/epel/molecule/default/molecule.yml | 4 + roles/epel/molecule/ec2/molecule.yml | 4 + roles/epel/molecule/vagrant/molecule.yml | 4 + roles/fail2ban/CONTRIBUTING.md | 2 +- roles/fail2ban/SECURITY.md | 23 ++ roles/fail2ban/meta/.galaxy_install_info | 2 +- .../molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + .../fail2ban/molecule/archlinux/molecule.yml | 4 + roles/fail2ban/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/fail2ban/molecule/default/molecule.yml | 4 + roles/fail2ban/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/fail2ban/molecule/vagrant/molecule.yml | 4 + roles/git/CONTRIBUTING.md | 2 +- roles/git/SECURITY.md | 23 ++ roles/git/meta/.galaxy_install_info | 2 +- roles/git/molecule/alpine-edge/molecule.yml | 4 + roles/git/molecule/alpine-latest/molecule.yml | 4 + roles/git/molecule/archlinux/molecule.yml | 4 + roles/git/molecule/centos-6/molecule.yml | 4 + roles/git/molecule/centos-latest/molecule.yml | 4 + roles/git/molecule/debian-stable/molecule.yml | 4 + .../git/molecule/debian-unstable/molecule.yml | 4 + roles/git/molecule/default/molecule.yml | 4 + roles/git/molecule/ec2/molecule.yml | 4 + roles/git/molecule/fedora-latest/molecule.yml | 4 + .../git/molecule/fedora-rawhide/molecule.yml | 4 + roles/git/molecule/opensuse-leap/molecule.yml | 4 + roles/git/molecule/ubuntu-devel/molecule.yml | 4 + roles/git/molecule/ubuntu-latest/molecule.yml | 4 + .../git/molecule/ubuntu-rolling/molecule.yml | 4 + roles/git/molecule/vagrant/molecule.yml | 4 + roles/investigate/CONTRIBUTING.md | 2 +- roles/investigate/SECURITY.md | 23 ++ roles/investigate/meta/.galaxy_install_info | 2 +- .../molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + .../molecule/archlinux/molecule.yml | 4 + .../molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + .../investigate/molecule/default/molecule.yml | 4 + roles/investigate/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + .../investigate/molecule/vagrant/molecule.yml | 4 + roles/molecule/CONTRIBUTING.md | 2 +- roles/molecule/SECURITY.md | 23 ++ roles/molecule/meta/.galaxy_install_info | 2 +- .../molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + .../molecule/molecule/archlinux/molecule.yml | 4 + roles/molecule/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/molecule/molecule/default/molecule.yml | 4 + roles/molecule/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/molecule/molecule/vagrant/molecule.yml | 4 + roles/postfix/CONTRIBUTING.md | 2 +- roles/postfix/SECURITY.md | 23 ++ roles/postfix/meta/.galaxy_install_info | 2 +- .../postfix/molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + roles/postfix/molecule/archlinux/molecule.yml | 4 + roles/postfix/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/postfix/molecule/default/molecule.yml | 4 + roles/postfix/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/postfix/molecule/vagrant/molecule.yml | 4 + roles/python_pip/.travis.yml | 4 - roles/python_pip/CONTRIBUTING.md | 10 +- roles/python_pip/README.md | 35 +-- roles/python_pip/SECURITY.md | 23 ++ roles/python_pip/[Command Line] | 2 - roles/python_pip/defaults/main.yml | 7 +- roles/python_pip/meta/.galaxy_install_info | 2 +- roles/python_pip/meta/version.yml | 8 + .../molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + .../molecule/archlinux/molecule.yml | 4 + .../python_pip/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + .../python_pip/molecule/default/molecule.yml | 9 +- roles/python_pip/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 6 +- .../python_pip/molecule/resources/prepare.yml | 1 - .../molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + .../python_pip/molecule/vagrant/molecule.yml | 4 + roles/python_pip/tasks/main.yml | 9 + roles/python_pip/vars/main.yml | 2 + roles/reboot/.travis.yml | 2 +- roles/reboot/CONTRIBUTING.md | 2 +- roles/reboot/README.md | 13 +- roles/reboot/SECURITY.md | 23 ++ roles/reboot/meta/.galaxy_install_info | 2 +- roles/reboot/meta/exception.yml | 4 + .../reboot/molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + roles/reboot/molecule/archlinux/molecule.yml | 4 + roles/reboot/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/reboot/molecule/default/molecule.yml | 4 + roles/reboot/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../reboot/molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/reboot/molecule/vagrant/molecule.yml | 4 + roles/reboot/tasks/main.yml | 49 +++-- roles/reboot/vars/main.yml | 13 ++ roles/requirements.yml | 2 +- .../.github/ISSUE_TEMPLATE/bug_report.md | 0 .../.github/ISSUE_TEMPLATE/feature_request.md | 0 .../robertdebock.reboot/.github/settings.yml | 4 + roles/robertdebock.reboot/.gitignore | 3 + roles/robertdebock.reboot/.travis.yml | 88 ++++++++ .../.yamllint | 0 .../CODE_OF_CONDUCT.md | 0 .../CONTRIBUTING.md | 2 +- .../{service => robertdebock.reboot}/LICENSE | 0 .../PULL_REQUEST_TEMPLATE.md | 0 roles/robertdebock.reboot/README.md | 143 +++++++++++++ roles/robertdebock.reboot/SECURITY.md | 23 ++ roles/robertdebock.reboot/defaults/main.yml | 15 ++ roles/robertdebock.reboot/handlers/main.yml | 12 ++ .../meta/.galaxy_install_info | 1 + roles/robertdebock.reboot/meta/exception.yml | 4 + roles/robertdebock.reboot/meta/main.yml | 47 ++++ .../molecule/alpine-edge}/molecule.yml | 11 +- .../molecule/alpine-latest/molecule.yml | 27 +++ .../molecule/archlinux/molecule.yml | 26 +++ .../molecule/centos-6}/molecule.yml | 10 +- .../molecule/centos-latest/molecule.yml | 26 +++ .../molecule/debian-stable/molecule.yml | 26 +++ .../molecule/debian-unstable/molecule.yml | 26 +++ .../molecule/default/molecule.yml | 70 ++++++ .../molecule/ec2/README.md | 0 .../molecule/ec2/create.yml | 0 .../molecule/ec2/destroy.yml | 0 .../molecule/ec2/molecule.yml | 81 +++++++ .../molecule/fedora-latest/molecule.yml | 30 +++ .../molecule/fedora-rawhide/molecule.yml | 32 +++ .../molecule/opensuse-leap/molecule.yml | 26 +++ .../molecule/resources/playbook.yml | 8 + .../molecule/resources/prepare.yml | 8 + .../molecule/ubuntu-devel/molecule.yml | 26 +++ .../molecule/ubuntu-latest/molecule.yml | 26 +++ .../molecule/ubuntu-rolling/molecule.yml | 26 +++ .../molecule/vagrant/INSTALL.rst | 17 ++ .../molecule/vagrant/molecule.yml | 33 +++ .../requirements.yml | 0 roles/robertdebock.reboot/tasks/main.yml | 62 ++++++ roles/robertdebock.reboot/vars/main.yml | 20 ++ .../.github/ISSUE_TEMPLATE/bug_report.md | 27 +++ .../.github/ISSUE_TEMPLATE/feature_request.md | 17 ++ .../.github/settings.yml | 0 .../.gitignore | 0 .../.travis.yml | 0 roles/robertdebock.service/.yamllint | 11 + roles/robertdebock.service/CODE_OF_CONDUCT.md | 46 ++++ roles/robertdebock.service/CONTRIBUTING.md | 10 + roles/robertdebock.service/LICENSE | 202 ++++++++++++++++++ .../PULL_REQUEST_TEMPLATE.md | 11 + .../README.md | 0 roles/robertdebock.service/SECURITY.md | 23 ++ .../defaults/main.yml | 0 .../handlers/main.yml | 0 .../meta/.galaxy_install_info | 1 + .../meta/main.yml | 0 .../molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + .../molecule/archlinux/molecule.yml | 4 + .../molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + .../molecule/default/molecule.yml | 4 + .../molecule/ec2/README.md | 15 ++ .../molecule/ec2/create.yml | 125 +++++++++++ .../molecule/ec2/destroy.yml | 47 ++++ .../molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../molecule/resources/playbook.yml | 0 .../molecule/resources/prepare.yml | 0 .../molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + .../molecule/vagrant/molecule.yml | 4 + roles/robertdebock.service/requirements.yml | 2 + .../tasks/main.yml | 0 .../templates/.gitkeep | 0 .../templates/systemd.j2 | 0 .../templates/sysvinit.j2 | 0 .../vars/main.yml | 0 roles/ruby/CONTRIBUTING.md | 2 +- roles/ruby/SECURITY.md | 23 ++ roles/ruby/meta/.galaxy_install_info | 2 +- roles/ruby/molecule/alpine-edge/molecule.yml | 4 + .../ruby/molecule/alpine-latest/molecule.yml | 4 + roles/ruby/molecule/archlinux/molecule.yml | 4 + roles/ruby/molecule/centos-6/molecule.yml | 4 + .../ruby/molecule/centos-latest/molecule.yml | 4 + .../ruby/molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/ruby/molecule/default/molecule.yml | 4 + roles/ruby/molecule/ec2/molecule.yml | 4 + .../ruby/molecule/fedora-latest/molecule.yml | 4 + .../ruby/molecule/fedora-rawhide/molecule.yml | 4 + .../ruby/molecule/opensuse-leap/molecule.yml | 4 + roles/ruby/molecule/ubuntu-devel/molecule.yml | 4 + .../ruby/molecule/ubuntu-latest/molecule.yml | 4 + .../ruby/molecule/ubuntu-rolling/molecule.yml | 4 + roles/ruby/molecule/vagrant/molecule.yml | 4 + roles/service/meta/.galaxy_install_info | 1 - roles/travis/CONTRIBUTING.md | 2 +- roles/travis/SECURITY.md | 23 ++ roles/travis/meta/.galaxy_install_info | 2 +- .../travis/molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + roles/travis/molecule/archlinux/molecule.yml | 4 + roles/travis/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/travis/molecule/default/molecule.yml | 4 + roles/travis/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../travis/molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/travis/molecule/vagrant/molecule.yml | 4 + roles/update/.travis.yml | 2 +- roles/update/CONTRIBUTING.md | 2 +- roles/update/README.md | 13 +- roles/update/SECURITY.md | 23 ++ roles/update/meta/.galaxy_install_info | 2 +- roles/update/meta/exception.yml | 4 + .../update/molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + roles/update/molecule/archlinux/molecule.yml | 4 + roles/update/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/update/molecule/default/molecule.yml | 4 + roles/update/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../update/molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/update/molecule/vagrant/molecule.yml | 4 + roles/users/CONTRIBUTING.md | 2 +- roles/users/SECURITY.md | 23 ++ roles/users/meta/.galaxy_install_info | 2 +- roles/users/molecule/alpine-edge/molecule.yml | 4 + .../users/molecule/alpine-latest/molecule.yml | 4 + roles/users/molecule/archlinux/molecule.yml | 4 + roles/users/molecule/centos-6/molecule.yml | 4 + .../users/molecule/centos-latest/molecule.yml | 4 + .../users/molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/users/molecule/default/molecule.yml | 4 + roles/users/molecule/ec2/molecule.yml | 4 + .../users/molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../users/molecule/opensuse-leap/molecule.yml | 4 + .../users/molecule/ubuntu-devel/molecule.yml | 4 + .../users/molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/users/molecule/vagrant/molecule.yml | 4 + roles/vagrant/CONTRIBUTING.md | 2 +- roles/vagrant/SECURITY.md | 23 ++ roles/vagrant/meta/.galaxy_install_info | 2 +- .../vagrant/molecule/alpine-edge/molecule.yml | 4 + .../molecule/alpine-latest/molecule.yml | 4 + roles/vagrant/molecule/archlinux/molecule.yml | 4 + roles/vagrant/molecule/centos-6/molecule.yml | 4 + .../molecule/centos-latest/molecule.yml | 4 + .../molecule/debian-stable/molecule.yml | 4 + .../molecule/debian-unstable/molecule.yml | 4 + roles/vagrant/molecule/default/molecule.yml | 4 + roles/vagrant/molecule/ec2/molecule.yml | 4 + .../molecule/fedora-latest/molecule.yml | 4 + .../molecule/fedora-rawhide/molecule.yml | 4 + .../molecule/opensuse-leap/molecule.yml | 4 + .../molecule/ubuntu-devel/molecule.yml | 4 + .../molecule/ubuntu-latest/molecule.yml | 4 + .../molecule/ubuntu-rolling/molecule.yml | 4 + roles/vagrant/molecule/vagrant/molecule.yml | 4 + 510 files changed, 3665 insertions(+), 194 deletions(-) create mode 100644 roles/ansible/SECURITY.md create mode 100644 roles/ansible_lint/SECURITY.md create mode 100644 roles/ara/SECURITY.md create mode 100644 roles/atom/SECURITY.md create mode 100644 roles/bootstrap/SECURITY.md create mode 100644 roles/buildtools/SECURITY.md create mode 100644 roles/common/SECURITY.md create mode 100644 roles/common/meta/exception.yml create mode 100644 roles/docker/SECURITY.md create mode 100644 roles/epel/SECURITY.md create mode 100644 roles/fail2ban/SECURITY.md create mode 100644 roles/git/SECURITY.md create mode 100644 roles/investigate/SECURITY.md create mode 100644 roles/molecule/SECURITY.md create mode 100644 roles/postfix/SECURITY.md create mode 100644 roles/python_pip/SECURITY.md delete mode 100644 roles/python_pip/[Command Line] create mode 100644 roles/python_pip/meta/version.yml create mode 100644 roles/reboot/SECURITY.md create mode 100644 roles/reboot/meta/exception.yml rename roles/{service => robertdebock.reboot}/.github/ISSUE_TEMPLATE/bug_report.md (100%) rename roles/{service => robertdebock.reboot}/.github/ISSUE_TEMPLATE/feature_request.md (100%) create mode 100644 roles/robertdebock.reboot/.github/settings.yml create mode 100644 roles/robertdebock.reboot/.gitignore create mode 100644 roles/robertdebock.reboot/.travis.yml rename roles/{service => robertdebock.reboot}/.yamllint (100%) rename roles/{service => robertdebock.reboot}/CODE_OF_CONDUCT.md (100%) rename roles/{service => robertdebock.reboot}/CONTRIBUTING.md (74%) rename roles/{service => robertdebock.reboot}/LICENSE (100%) rename roles/{service => robertdebock.reboot}/PULL_REQUEST_TEMPLATE.md (100%) create mode 100644 roles/robertdebock.reboot/README.md create mode 100644 roles/robertdebock.reboot/SECURITY.md create mode 100644 roles/robertdebock.reboot/defaults/main.yml create mode 100644 roles/robertdebock.reboot/handlers/main.yml create mode 100644 roles/robertdebock.reboot/meta/.galaxy_install_info create mode 100644 roles/robertdebock.reboot/meta/exception.yml create mode 100644 roles/robertdebock.reboot/meta/main.yml rename roles/{ara/molecule/debian-latest => robertdebock.reboot/molecule/alpine-edge}/molecule.yml (60%) create mode 100644 roles/robertdebock.reboot/molecule/alpine-latest/molecule.yml create mode 100644 roles/robertdebock.reboot/molecule/archlinux/molecule.yml rename roles/{python_pip/molecule/debian-latest => robertdebock.reboot/molecule/centos-6}/molecule.yml (68%) create mode 100644 roles/robertdebock.reboot/molecule/centos-latest/molecule.yml create mode 100644 roles/robertdebock.reboot/molecule/debian-stable/molecule.yml create mode 100644 roles/robertdebock.reboot/molecule/debian-unstable/molecule.yml create mode 100644 roles/robertdebock.reboot/molecule/default/molecule.yml rename roles/{service => robertdebock.reboot}/molecule/ec2/README.md (100%) rename roles/{service => robertdebock.reboot}/molecule/ec2/create.yml (100%) rename roles/{service => robertdebock.reboot}/molecule/ec2/destroy.yml (100%) create mode 100644 roles/robertdebock.reboot/molecule/ec2/molecule.yml create mode 100644 roles/robertdebock.reboot/molecule/fedora-latest/molecule.yml create mode 100644 roles/robertdebock.reboot/molecule/fedora-rawhide/molecule.yml create mode 100644 roles/robertdebock.reboot/molecule/opensuse-leap/molecule.yml create mode 100644 roles/robertdebock.reboot/molecule/resources/playbook.yml create mode 100644 roles/robertdebock.reboot/molecule/resources/prepare.yml create mode 100644 roles/robertdebock.reboot/molecule/ubuntu-devel/molecule.yml create mode 100644 roles/robertdebock.reboot/molecule/ubuntu-latest/molecule.yml create mode 100644 roles/robertdebock.reboot/molecule/ubuntu-rolling/molecule.yml create mode 100644 roles/robertdebock.reboot/molecule/vagrant/INSTALL.rst create mode 100644 roles/robertdebock.reboot/molecule/vagrant/molecule.yml rename roles/{service => robertdebock.reboot}/requirements.yml (100%) create mode 100644 roles/robertdebock.reboot/tasks/main.yml create mode 100644 roles/robertdebock.reboot/vars/main.yml create mode 100644 roles/robertdebock.service/.github/ISSUE_TEMPLATE/bug_report.md create mode 100644 roles/robertdebock.service/.github/ISSUE_TEMPLATE/feature_request.md rename roles/{service => robertdebock.service}/.github/settings.yml (100%) rename roles/{service => robertdebock.service}/.gitignore (100%) rename roles/{service => robertdebock.service}/.travis.yml (100%) create mode 100644 roles/robertdebock.service/.yamllint create mode 100644 roles/robertdebock.service/CODE_OF_CONDUCT.md create mode 100644 roles/robertdebock.service/CONTRIBUTING.md create mode 100644 roles/robertdebock.service/LICENSE create mode 100644 roles/robertdebock.service/PULL_REQUEST_TEMPLATE.md rename roles/{service => robertdebock.service}/README.md (100%) create mode 100644 roles/robertdebock.service/SECURITY.md rename roles/{service => robertdebock.service}/defaults/main.yml (100%) rename roles/{service => robertdebock.service}/handlers/main.yml (100%) create mode 100644 roles/robertdebock.service/meta/.galaxy_install_info rename roles/{service => robertdebock.service}/meta/main.yml (100%) rename roles/{service => robertdebock.service}/molecule/alpine-edge/molecule.yml (84%) rename roles/{service => robertdebock.service}/molecule/alpine-latest/molecule.yml (84%) rename roles/{service => robertdebock.service}/molecule/archlinux/molecule.yml (82%) rename roles/{service => robertdebock.service}/molecule/centos-6/molecule.yml (81%) rename roles/{service => robertdebock.service}/molecule/centos-latest/molecule.yml (82%) rename roles/{service => robertdebock.service}/molecule/debian-stable/molecule.yml (82%) rename roles/{service => robertdebock.service}/molecule/debian-unstable/molecule.yml (82%) rename roles/{service => robertdebock.service}/molecule/default/molecule.yml (95%) create mode 100644 roles/robertdebock.service/molecule/ec2/README.md create mode 100644 roles/robertdebock.service/molecule/ec2/create.yml create mode 100644 roles/robertdebock.service/molecule/ec2/destroy.yml rename roles/{service => robertdebock.service}/molecule/ec2/molecule.yml (95%) rename roles/{service => robertdebock.service}/molecule/fedora-latest/molecule.yml (85%) rename roles/{service => robertdebock.service}/molecule/fedora-rawhide/molecule.yml (86%) rename roles/{service => robertdebock.service}/molecule/opensuse-leap/molecule.yml (82%) rename roles/{service => robertdebock.service}/molecule/resources/playbook.yml (100%) rename roles/{service => robertdebock.service}/molecule/resources/prepare.yml (100%) rename roles/{service => robertdebock.service}/molecule/ubuntu-devel/molecule.yml (82%) rename roles/{service => robertdebock.service}/molecule/ubuntu-latest/molecule.yml (82%) rename roles/{service => robertdebock.service}/molecule/ubuntu-rolling/molecule.yml (82%) rename roles/{service => robertdebock.service}/molecule/vagrant/molecule.yml (86%) create mode 100644 roles/robertdebock.service/requirements.yml rename roles/{service => robertdebock.service}/tasks/main.yml (100%) rename roles/{service => robertdebock.service}/templates/.gitkeep (100%) rename roles/{service => robertdebock.service}/templates/systemd.j2 (100%) rename roles/{service => robertdebock.service}/templates/sysvinit.j2 (100%) rename roles/{service => robertdebock.service}/vars/main.yml (100%) create mode 100644 roles/ruby/SECURITY.md delete mode 100644 roles/service/meta/.galaxy_install_info create mode 100644 roles/travis/SECURITY.md create mode 100644 roles/update/SECURITY.md create mode 100644 roles/update/meta/exception.yml create mode 100644 roles/users/SECURITY.md create mode 100644 roles/vagrant/SECURITY.md diff --git a/galaxy.yml b/galaxy.yml index 14b515b..78f1eaf 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ namespace: "robertdebock" name: "development_environment" description: Install everything you need to develop Ansible roles. -version: "1.1.12" +version: "1.1.13" readme: "README.md" authors: - "Robert de Bock" diff --git a/roles/ansible/CONTRIBUTING.md b/roles/ansible/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/ansible/CONTRIBUTING.md +++ b/roles/ansible/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/ansible/SECURITY.md b/roles/ansible/SECURITY.md new file mode 100644 index 0000000..fb83a25 --- /dev/null +++ b/roles/ansible/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-ansible/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/ansible/meta/.galaxy_install_info b/roles/ansible/meta/.galaxy_install_info index 857fff4..d00809d 100644 --- a/roles/ansible/meta/.galaxy_install_info +++ b/roles/ansible/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:30:40 2019', version: 2.0.6} +{install_date: 'Tue Sep 17 04:21:03 2019', version: 2.0.7} diff --git a/roles/ansible/molecule/alpine-edge/molecule.yml b/roles/ansible/molecule/alpine-edge/molecule.yml index 7b639c7..54814b5 100644 --- a/roles/ansible/molecule/alpine-edge/molecule.yml +++ b/roles/ansible/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/ansible/molecule/alpine-latest/molecule.yml b/roles/ansible/molecule/alpine-latest/molecule.yml index e933ac0..e180d19 100644 --- a/roles/ansible/molecule/alpine-latest/molecule.yml +++ b/roles/ansible/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/ansible/molecule/archlinux/molecule.yml b/roles/ansible/molecule/archlinux/molecule.yml index 8ad32cf..1bf197f 100644 --- a/roles/ansible/molecule/archlinux/molecule.yml +++ b/roles/ansible/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/ansible/molecule/centos-6/molecule.yml b/roles/ansible/molecule/centos-6/molecule.yml index 26350b8..f273374 100644 --- a/roles/ansible/molecule/centos-6/molecule.yml +++ b/roles/ansible/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/ansible/molecule/centos-latest/molecule.yml b/roles/ansible/molecule/centos-latest/molecule.yml index a2e98b4..d709d26 100644 --- a/roles/ansible/molecule/centos-latest/molecule.yml +++ b/roles/ansible/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/ansible/molecule/debian-stable/molecule.yml b/roles/ansible/molecule/debian-stable/molecule.yml index 82d1e8e..4b954a9 100644 --- a/roles/ansible/molecule/debian-stable/molecule.yml +++ b/roles/ansible/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/ansible/molecule/debian-unstable/molecule.yml b/roles/ansible/molecule/debian-unstable/molecule.yml index 2ab9ecc..3975f18 100644 --- a/roles/ansible/molecule/debian-unstable/molecule.yml +++ b/roles/ansible/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/ansible/molecule/default/molecule.yml b/roles/ansible/molecule/default/molecule.yml index 61b64ee..4546c17 100644 --- a/roles/ansible/molecule/default/molecule.yml +++ b/roles/ansible/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: ansible-fedora-latest: diff --git a/roles/ansible/molecule/ec2/molecule.yml b/roles/ansible/molecule/ec2/molecule.yml index 62e014a..4832cdd 100644 --- a/roles/ansible/molecule/ec2/molecule.yml +++ b/roles/ansible/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: ansible-ubuntu-18.04: diff --git a/roles/ansible/molecule/fedora-latest/molecule.yml b/roles/ansible/molecule/fedora-latest/molecule.yml index 0c3ff79..c4ea18b 100644 --- a/roles/ansible/molecule/fedora-latest/molecule.yml +++ b/roles/ansible/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/ansible/molecule/fedora-rawhide/molecule.yml b/roles/ansible/molecule/fedora-rawhide/molecule.yml index 5932b93..bd15d88 100644 --- a/roles/ansible/molecule/fedora-rawhide/molecule.yml +++ b/roles/ansible/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/ansible/molecule/opensuse-leap/molecule.yml b/roles/ansible/molecule/opensuse-leap/molecule.yml index a88a766..a982469 100644 --- a/roles/ansible/molecule/opensuse-leap/molecule.yml +++ b/roles/ansible/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/ansible/molecule/ubuntu-devel/molecule.yml b/roles/ansible/molecule/ubuntu-devel/molecule.yml index 18b79f3..5c09eaf 100644 --- a/roles/ansible/molecule/ubuntu-devel/molecule.yml +++ b/roles/ansible/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/ansible/molecule/ubuntu-latest/molecule.yml b/roles/ansible/molecule/ubuntu-latest/molecule.yml index 9640499..434cf03 100644 --- a/roles/ansible/molecule/ubuntu-latest/molecule.yml +++ b/roles/ansible/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/ansible/molecule/ubuntu-rolling/molecule.yml b/roles/ansible/molecule/ubuntu-rolling/molecule.yml index 09162ae..ddc5f08 100644 --- a/roles/ansible/molecule/ubuntu-rolling/molecule.yml +++ b/roles/ansible/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/ansible/molecule/vagrant/molecule.yml b/roles/ansible/molecule/vagrant/molecule.yml index 6c5d563..da480d7 100644 --- a/roles/ansible/molecule/vagrant/molecule.yml +++ b/roles/ansible/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: ansible-fedora: diff --git a/roles/ansible_lint/CONTRIBUTING.md b/roles/ansible_lint/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/ansible_lint/CONTRIBUTING.md +++ b/roles/ansible_lint/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/ansible_lint/SECURITY.md b/roles/ansible_lint/SECURITY.md new file mode 100644 index 0000000..8f0da53 --- /dev/null +++ b/roles/ansible_lint/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-ansible_lint/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/ansible_lint/meta/.galaxy_install_info b/roles/ansible_lint/meta/.galaxy_install_info index 5ed5a18..8107c79 100644 --- a/roles/ansible_lint/meta/.galaxy_install_info +++ b/roles/ansible_lint/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:30:44 2019', version: 2.0.5} +{install_date: 'Tue Sep 17 04:21:07 2019', version: 2.0.6} diff --git a/roles/ansible_lint/molecule/alpine-edge/molecule.yml b/roles/ansible_lint/molecule/alpine-edge/molecule.yml index 9ff49d2..047a5c1 100644 --- a/roles/ansible_lint/molecule/alpine-edge/molecule.yml +++ b/roles/ansible_lint/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/ansible_lint/molecule/alpine-latest/molecule.yml b/roles/ansible_lint/molecule/alpine-latest/molecule.yml index d7e6819..9da7a77 100644 --- a/roles/ansible_lint/molecule/alpine-latest/molecule.yml +++ b/roles/ansible_lint/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/ansible_lint/molecule/archlinux/molecule.yml b/roles/ansible_lint/molecule/archlinux/molecule.yml index a26fe86..fe5ab63 100644 --- a/roles/ansible_lint/molecule/archlinux/molecule.yml +++ b/roles/ansible_lint/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/ansible_lint/molecule/centos-6/molecule.yml b/roles/ansible_lint/molecule/centos-6/molecule.yml index 78e91bc..94986b6 100644 --- a/roles/ansible_lint/molecule/centos-6/molecule.yml +++ b/roles/ansible_lint/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/ansible_lint/molecule/centos-latest/molecule.yml b/roles/ansible_lint/molecule/centos-latest/molecule.yml index 6905811..478647f 100644 --- a/roles/ansible_lint/molecule/centos-latest/molecule.yml +++ b/roles/ansible_lint/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/ansible_lint/molecule/debian-stable/molecule.yml b/roles/ansible_lint/molecule/debian-stable/molecule.yml index 4d3b19a..1699ad4 100644 --- a/roles/ansible_lint/molecule/debian-stable/molecule.yml +++ b/roles/ansible_lint/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/ansible_lint/molecule/debian-unstable/molecule.yml b/roles/ansible_lint/molecule/debian-unstable/molecule.yml index 92753ae..4ef4ed4 100644 --- a/roles/ansible_lint/molecule/debian-unstable/molecule.yml +++ b/roles/ansible_lint/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/ansible_lint/molecule/default/molecule.yml b/roles/ansible_lint/molecule/default/molecule.yml index af04d4a..32ae6c0 100644 --- a/roles/ansible_lint/molecule/default/molecule.yml +++ b/roles/ansible_lint/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: ansible_lint-fedora-latest: diff --git a/roles/ansible_lint/molecule/ec2/molecule.yml b/roles/ansible_lint/molecule/ec2/molecule.yml index ebae80a..98e9e4c 100644 --- a/roles/ansible_lint/molecule/ec2/molecule.yml +++ b/roles/ansible_lint/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: ansible_lint-ubuntu-18.04: diff --git a/roles/ansible_lint/molecule/fedora-latest/molecule.yml b/roles/ansible_lint/molecule/fedora-latest/molecule.yml index 89dbb32..a3120a5 100644 --- a/roles/ansible_lint/molecule/fedora-latest/molecule.yml +++ b/roles/ansible_lint/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/ansible_lint/molecule/fedora-rawhide/molecule.yml b/roles/ansible_lint/molecule/fedora-rawhide/molecule.yml index a13b42a..92eabdb 100644 --- a/roles/ansible_lint/molecule/fedora-rawhide/molecule.yml +++ b/roles/ansible_lint/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/ansible_lint/molecule/opensuse-leap/molecule.yml b/roles/ansible_lint/molecule/opensuse-leap/molecule.yml index ca48c7b..392f30a 100644 --- a/roles/ansible_lint/molecule/opensuse-leap/molecule.yml +++ b/roles/ansible_lint/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/ansible_lint/molecule/ubuntu-devel/molecule.yml b/roles/ansible_lint/molecule/ubuntu-devel/molecule.yml index 29ce30a..7cb3a10 100644 --- a/roles/ansible_lint/molecule/ubuntu-devel/molecule.yml +++ b/roles/ansible_lint/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/ansible_lint/molecule/ubuntu-latest/molecule.yml b/roles/ansible_lint/molecule/ubuntu-latest/molecule.yml index e35f9f4..7b8dedf 100644 --- a/roles/ansible_lint/molecule/ubuntu-latest/molecule.yml +++ b/roles/ansible_lint/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/ansible_lint/molecule/ubuntu-rolling/molecule.yml b/roles/ansible_lint/molecule/ubuntu-rolling/molecule.yml index 6c70367..98c720c 100644 --- a/roles/ansible_lint/molecule/ubuntu-rolling/molecule.yml +++ b/roles/ansible_lint/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/ansible_lint/molecule/vagrant/molecule.yml b/roles/ansible_lint/molecule/vagrant/molecule.yml index 405c03a..f6541b1 100644 --- a/roles/ansible_lint/molecule/vagrant/molecule.yml +++ b/roles/ansible_lint/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: ansible_lint-fedora: diff --git a/roles/ara/.travis.yml b/roles/ara/.travis.yml index c34a0e0..5e0e84c 100644 --- a/roles/ara/.travis.yml +++ b/roles/ara/.travis.yml @@ -4,73 +4,69 @@ language: python services: docker env: - - version=">=2.7,<2.8" distro="alpine-latest" - - version="" distro="alpine-latest" - - version="devel" distro="alpine-latest" - - version=">=2.7,<2.8" distro="alpine-edge" - - version="" distro="alpine-edge" - - version="devel" distro="alpine-edge" + - version=">=2.7,<2.8" distro="alpine-latest" expectation="fail" + - version="" distro="alpine-latest" expectation="fail" + - version="devel" distro="alpine-latest" expectation="fail" + - version=">=2.7,<2.8" distro="alpine-edge" expectation="fail" + - version="" distro="alpine-edge" expectation="fail" + - version="devel" distro="alpine-edge" expectation="fail" - version=">=2.7,<2.8" distro="archlinux" - version="" distro="archlinux" - version="devel" distro="archlinux" - version=">=2.7,<2.8" distro="centos-6" expectation="fail" - version="" distro="centos-6" expectation="fail" - version="devel" distro="centos-6" expectation="fail" - - version=">=2.7,<2.8" distro="centos-latest" - - version="" distro="centos-latest" - - version="devel" distro="centos-latest" - - version=">=2.7,<2.8" distro="debian-latest" - - version="" distro="debian-latest" - - version="devel" distro="debian-latest" - - version=">=2.7,<2.8" distro="debian-stable" - - version="" distro="debian-stable" - - version="devel" distro="debian-stable" - - version=">=2.7,<2.8" distro="debian-unstable" - - version="" distro="debian-unstable" - - version="devel" distro="debian-unstable" + - version=">=2.7,<2.8" distro="centos-latest" expectation="fail" + - version="" distro="centos-latest" expectation="fail" + - version="devel" distro="centos-latest" expectation="fail" + - version=">=2.7,<2.8" distro="debian-stable" expectation="fail" + - version="" distro="debian-stable" expectation="fail" + - version="devel" distro="debian-stable" expectation="fail" + - version=">=2.7,<2.8" distro="debian-unstable" expectation="fail" + - version="" distro="debian-unstable" expectation="fail" + - version="devel" distro="debian-unstable" expectation="fail" - version=">=2.7,<2.8" distro="fedora-latest" - version="" distro="fedora-latest" - version="devel" distro="fedora-latest" - version=">=2.7,<2.8" distro="fedora-rawhide" - version="" distro="fedora-rawhide" - version="devel" distro="fedora-rawhide" - - version=">=2.7,<2.8" distro="opensuse-leap" - - version="" distro="opensuse-leap" - - version="devel" distro="opensuse-leap" - - version=">=2.7,<2.8" distro="ubuntu-rolling" - - version="" distro="ubuntu-rolling" - - version="devel" distro="ubuntu-rolling" - - version=">=2.7,<2.8" distro="ubuntu-latest" - - version="" distro="ubuntu-latest" - - version="devel" distro="ubuntu-latest" - - version=">=2.7,<2.8" distro="ubuntu-devel" - - version="" distro="ubuntu-devel" - - version="devel" distro="ubuntu-devel" + - version=">=2.7,<2.8" distro="opensuse-leap" expectation="fail" + - version="" distro="opensuse-leap" expectation="fail" + - version="devel" distro="opensuse-leap" expectation="fail" + - version=">=2.7,<2.8" distro="ubuntu-rolling" expectation="fail" + - version="" distro="ubuntu-rolling" expectation="fail" + - version="devel" distro="ubuntu-rolling" expectation="fail" + - version=">=2.7,<2.8" distro="ubuntu-latest" expectation="fail" + - version="" distro="ubuntu-latest" expectation="fail" + - version="devel" distro="ubuntu-latest" expectation="fail" + - version=">=2.7,<2.8" distro="ubuntu-devel" expectation="fail" + - version="" distro="ubuntu-devel" expectation="fail" + - version="devel" distro="ubuntu-devel" expectation="fail" matrix: allow_failures: - - env: version=">=2.7,<2.8" distro="alpine-edge" - - env: version="" distro="alpine-edge" - - env: version="devel" distro="alpine-edge" - - env: version="devel" distro="alpine-latest" + - env: version=">=2.7,<2.8" distro="alpine-edge" expectation="fail" + - env: version="" distro="alpine-edge" expectation="fail" + - env: version="devel" distro="alpine-edge" expectation="fail" + - env: version="devel" distro="alpine-latest" expectation="fail" - env: version="devel" distro="archlinux" - env: version="devel" distro="centos-6" expectation="fail" - - env: version="devel" distro="centos-latest" - - env: version="devel" distro="debian-latest" - - env: version="devel" distro="debian-stable" - - env: version=">=2.7,<2.8" distro="debian-unstable" - - env: version="" distro="debian-unstable" - - env: version="devel" distro="debian-unstable" + - env: version="devel" distro="centos-latest" expectation="fail" + - env: version="devel" distro="debian-stable" expectation="fail" + - env: version=">=2.7,<2.8" distro="debian-unstable" expectation="fail" + - env: version="" distro="debian-unstable" expectation="fail" + - env: version="devel" distro="debian-unstable" expectation="fail" - env: version="devel" distro="fedora-latest" - env: version=">=2.7,<2.8" distro="fedora-rawhide" - env: version="" distro="fedora-rawhide" - env: version="devel" distro="fedora-rawhide" - - env: version="devel" distro="opensuse-leap" - - env: version="devel" distro="ubuntu-rolling" - - env: version=">=2.7,<2.8" distro="ubuntu-devel" - - env: version="" distro="ubuntu-devel" - - env: version="devel" distro="ubuntu-devel" - - env: version="devel" distro="ubuntu-latest" + - env: version="devel" distro="opensuse-leap" expectation="fail" + - env: version="devel" distro="ubuntu-rolling" expectation="fail" + - env: version=">=2.7,<2.8" distro="ubuntu-devel" expectation="fail" + - env: version="" distro="ubuntu-devel" expectation="fail" + - env: version="devel" distro="ubuntu-devel" expectation="fail" + - env: version="devel" distro="ubuntu-latest" expectation="fail" cache: - pip diff --git a/roles/ara/CONTRIBUTING.md b/roles/ara/CONTRIBUTING.md index 2931dcf..3209430 100644 --- a/roles/ara/CONTRIBUTING.md +++ b/roles/ara/CONTRIBUTING.md @@ -1,4 +1,10 @@ -# Please contribute! +# Please contribute + You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. + +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. + +I'll try to help and take every contribution seriously. + +It's a great opportunity for me to learn how you use the role and also an opportunity to get into the habit of contributing to open source software. diff --git a/roles/ara/README.md b/roles/ara/README.md index 855c64a..1151c2a 100644 --- a/roles/ara/README.md +++ b/roles/ara/README.md @@ -1,14 +1,15 @@ ara ========= -[![Build Status](https://travis-ci.org/robertdebock/ansible-role-ara.svg?branch=master)](https://travis-ci.org/robertdebock/ansible-role-ara) +Ansible logo +Build status Install and configure ara on your system. Example Playbook ---------------- -This example is taken from `molecule/default/playbook.yml`: +This example is taken from `molecule/resources/playbook.yml`: ```yaml --- - name: Converge @@ -20,7 +21,7 @@ This example is taken from `molecule/default/playbook.yml`: - robertdebock.ara ``` -The machine you are running this on, may need to be prepared. Tests have been done on machines prepared by this playbook: +The machine you are running this on, may need to be prepared. ```yaml --- - name: Prepare @@ -69,7 +70,7 @@ Requirements ------------ - Access to a repository containing packages, likely on the internet. -- A recent version of Ansible. (Tests run on the last 3 release of Ansible.) +- A recent version of Ansible. (Tests run on the current, previous and next release of Ansible.) The following roles can be installed to ensure all requirements are met, using `ansible-galaxy install -r requirements.yml`: @@ -97,22 +98,21 @@ Compatibility This role has been tested against the following distributions and Ansible version: -|distribution|ansible 2.6|ansible 2.7|ansible devel| +|distribution|ansible 2.7|ansible 2.8|ansible devel| |------------|-----------|-----------|-------------| -|alpine-edge*|yes|yes|yes*| -|alpine-latest|yes|yes|yes*| +|alpine-edge*|no|no|no*| +|alpine-latest|no|no|no*| |archlinux|yes|yes|yes*| |centos-6|no|no|no*| -|centos-latest|yes|yes|yes*| -|debian-latest|yes|yes|yes*| -|debian-stable|yes|yes|yes*| -|debian-unstable*|yes|yes|yes*| +|centos-latest|no|no|no*| +|debian-stable|no|no|no*| +|debian-unstable*|no|no|no*| |fedora-latest|yes|yes|yes*| |fedora-rawhide*|yes|yes|yes*| -|opensuse-leap|yes|yes|yes*| -|ubuntu-devel*|yes|yes|yes*| -|ubuntu-latest|yes|yes|yes*| -|ubuntu-rolling|yes|yes|yes*| +|opensuse-leap|no|no|no*| +|ubuntu-devel*|no|no|no*| +|ubuntu-latest|no|no|no*| +|ubuntu-rolling|no|no|no*| A single star means the build may fail, it's marked as an experimental build. @@ -123,26 +123,16 @@ Testing If you find issues, please register them in [GitHub](https://github.com/robertdebock/ansible-role-ara/issues) -To test this role locally please use [Molecule](https://github.com/metacloud/molecule): +To test this role locally please use [Molecule](https://github.com/ansible/molecule): ``` pip install molecule molecule test ``` -To test on Amazon EC2, configure [~/.aws/credentials](https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html) and `export AWS_REGION=eu-central-1` before running `molecule test --scenario-name ec2`. +To test on Amazon EC2, configure [~/.aws/credentials](https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html) and set a region using `export AWS_REGION=eu-central-1` before running `molecule test --scenario-name ec2`. There are many specific scenarios available, please have a look in the `molecule/` directory. -Run the [ansible-galaxy](https://github.com/ansible/galaxy-lint-rules) and [my](https://github.com/robertdebock/ansible-lint-rules) lint rules if you want your change to be merges: - -```shell -git clone https://github.com/ansible/ansible-lint.git /tmp/ansible-lint -ansible-lint -r /tmp/ansible-lint/lib/ansiblelint/rules . - -git clone https://github.com/robertdebock/ansible-lint /tmp/my-ansible-lint -ansible-lint -r /tmp/my-ansible-lint/rules . -``` - License ------- @@ -152,4 +142,4 @@ Apache-2.0 Author Information ------------------ -[Robert de Bock](https://robertdebock.nl/) +[Robert de Bock](https://robertdebock.nl/) diff --git a/roles/ara/SECURITY.md b/roles/ara/SECURITY.md new file mode 100644 index 0000000..464bb10 --- /dev/null +++ b/roles/ara/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-ara/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/ara/meta/.galaxy_install_info b/roles/ara/meta/.galaxy_install_info index e4eb4ff..c20f4e4 100644 --- a/roles/ara/meta/.galaxy_install_info +++ b/roles/ara/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:30:47 2019', version: 2.0.6} +{install_date: 'Tue Sep 17 04:21:10 2019', version: 2.1.1} diff --git a/roles/ara/molecule/alpine-edge/molecule.yml b/roles/ara/molecule/alpine-edge/molecule.yml index 5b6d032..d5e65a4 100644 --- a/roles/ara/molecule/alpine-edge/molecule.yml +++ b/roles/ara/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/ara/molecule/alpine-latest/molecule.yml b/roles/ara/molecule/alpine-latest/molecule.yml index 36d4dea..6405a69 100644 --- a/roles/ara/molecule/alpine-latest/molecule.yml +++ b/roles/ara/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/ara/molecule/archlinux/molecule.yml b/roles/ara/molecule/archlinux/molecule.yml index 589093a..71eb85c 100644 --- a/roles/ara/molecule/archlinux/molecule.yml +++ b/roles/ara/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/ara/molecule/centos-6/molecule.yml b/roles/ara/molecule/centos-6/molecule.yml index 13eeb21..dfd8d57 100644 --- a/roles/ara/molecule/centos-6/molecule.yml +++ b/roles/ara/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/ara/molecule/centos-latest/molecule.yml b/roles/ara/molecule/centos-latest/molecule.yml index 685b3fc..0398aae 100644 --- a/roles/ara/molecule/centos-latest/molecule.yml +++ b/roles/ara/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/ara/molecule/debian-stable/molecule.yml b/roles/ara/molecule/debian-stable/molecule.yml index 72e3726..1d0052c 100644 --- a/roles/ara/molecule/debian-stable/molecule.yml +++ b/roles/ara/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/ara/molecule/debian-unstable/molecule.yml b/roles/ara/molecule/debian-unstable/molecule.yml index e7e8f19..1322617 100644 --- a/roles/ara/molecule/debian-unstable/molecule.yml +++ b/roles/ara/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/ara/molecule/default/molecule.yml b/roles/ara/molecule/default/molecule.yml index 701b1ab..892fef2 100644 --- a/roles/ara/molecule/default/molecule.yml +++ b/roles/ara/molecule/default/molecule.yml @@ -19,15 +19,12 @@ platforms: - name: ara-archlinux image: archlinux/base pre_build_image: yes - - name: ara-centos-6 - image: centos:6 - pre_build_image: yes + # - name: ara-centos-6 + # image: centos:6 + # pre_build_image: yes - name: ara-centos-latest image: centos:latest pre_build_image: yes - - name: ara-debian-latest - image: debian:latest - pre_build_image: yes - name: ara-debian-stable image: debian:stable pre_build_image: yes @@ -41,7 +38,7 @@ platforms: image: fedora:rawhide pre_build_image: yes - name: ara-opensuse-leap - image: opensuse:leap + image: opensuse/leap pre_build_image: yes - name: ara-ubuntu-latest image: ubuntu:latest @@ -59,5 +56,15 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml + inventory: + host_vars: + ara-fedora-latest: + ansible_python_interpreter: /usr/bin/python3 + ara-fedora-rawhide: + ansible_python_interpreter: /usr/bin/python3 scenario: name: default diff --git a/roles/ara/molecule/ec2/molecule.yml b/roles/ara/molecule/ec2/molecule.yml index 9a66cc1..2bae6e8 100644 --- a/roles/ara/molecule/ec2/molecule.yml +++ b/roles/ara/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: ara-ubuntu-18.04: diff --git a/roles/ara/molecule/fedora-latest/molecule.yml b/roles/ara/molecule/fedora-latest/molecule.yml index e5bd6d5..240ac41 100644 --- a/roles/ara/molecule/fedora-latest/molecule.yml +++ b/roles/ara/molecule/fedora-latest/molecule.yml @@ -18,5 +18,13 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml + inventory: + group_vars: + all: + ansible_python_interpreter: /usr/bin/python3 scenario: name: fedora-latest diff --git a/roles/ara/molecule/fedora-rawhide/molecule.yml b/roles/ara/molecule/fedora-rawhide/molecule.yml index b81dea7..7d061e6 100644 --- a/roles/ara/molecule/fedora-rawhide/molecule.yml +++ b/roles/ara/molecule/fedora-rawhide/molecule.yml @@ -20,5 +20,13 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml + inventory: + group_vars: + all: + ansible_python_interpreter: /usr/bin/python3 scenario: name: fedora-rawhide diff --git a/roles/ara/molecule/opensuse-leap/molecule.yml b/roles/ara/molecule/opensuse-leap/molecule.yml index 0d0c80a..966c824 100644 --- a/roles/ara/molecule/opensuse-leap/molecule.yml +++ b/roles/ara/molecule/opensuse-leap/molecule.yml @@ -9,7 +9,7 @@ driver: name: docker platforms: - name: ara-opensuse-leap - image: opensuse:leap + image: opensuse/leap pre_build_image: yes provisioner: name: ansible @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/ara/molecule/ubuntu-devel/molecule.yml b/roles/ara/molecule/ubuntu-devel/molecule.yml index 8c127bd..50b885e 100644 --- a/roles/ara/molecule/ubuntu-devel/molecule.yml +++ b/roles/ara/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/ara/molecule/ubuntu-latest/molecule.yml b/roles/ara/molecule/ubuntu-latest/molecule.yml index d2dc8e2..3c45b5e 100644 --- a/roles/ara/molecule/ubuntu-latest/molecule.yml +++ b/roles/ara/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/ara/molecule/ubuntu-rolling/molecule.yml b/roles/ara/molecule/ubuntu-rolling/molecule.yml index 6956834..a5cdd6a 100644 --- a/roles/ara/molecule/ubuntu-rolling/molecule.yml +++ b/roles/ara/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/ara/molecule/vagrant/molecule.yml b/roles/ara/molecule/vagrant/molecule.yml index e68a13a..f3d2829 100644 --- a/roles/ara/molecule/vagrant/molecule.yml +++ b/roles/ara/molecule/vagrant/molecule.yml @@ -13,7 +13,7 @@ platforms: - name: ara-debian box: debian/stretch64 - name: ara-fedora - box: fedora/29-cloud-base + box: fedora/30-cloud-base provisioner: name: ansible playbooks: @@ -21,5 +21,13 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml + inventory: + host_vars: + ara-fedora: + ansible_python_interpreter: /usr/bin/python3 scenario: name: vagrant diff --git a/roles/ara/tasks/main.yml b/roles/ara/tasks/main.yml index 926f248..15f89cb 100644 --- a/roles/ara/tasks/main.yml +++ b/roles/ara/tasks/main.yml @@ -10,7 +10,7 @@ - name: install ara pip: - name: ara + name: ara[server] state: present register: ara_install_ara until: ara_install_ara is succeeded diff --git a/roles/atom/CONTRIBUTING.md b/roles/atom/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/atom/CONTRIBUTING.md +++ b/roles/atom/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/atom/SECURITY.md b/roles/atom/SECURITY.md new file mode 100644 index 0000000..256bb2e --- /dev/null +++ b/roles/atom/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-atom/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/atom/meta/.galaxy_install_info b/roles/atom/meta/.galaxy_install_info index 8a44bca..1f0d903 100644 --- a/roles/atom/meta/.galaxy_install_info +++ b/roles/atom/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:30:51 2019', version: 2.0.5} +{install_date: 'Tue Sep 17 04:21:13 2019', version: 2.0.6} diff --git a/roles/atom/molecule/alpine-edge/molecule.yml b/roles/atom/molecule/alpine-edge/molecule.yml index b42ad9b..4c2b2cf 100644 --- a/roles/atom/molecule/alpine-edge/molecule.yml +++ b/roles/atom/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/atom/molecule/alpine-latest/molecule.yml b/roles/atom/molecule/alpine-latest/molecule.yml index 6ba79e6..9fb38d2 100644 --- a/roles/atom/molecule/alpine-latest/molecule.yml +++ b/roles/atom/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/atom/molecule/archlinux/molecule.yml b/roles/atom/molecule/archlinux/molecule.yml index a8082f5..d64b2f7 100644 --- a/roles/atom/molecule/archlinux/molecule.yml +++ b/roles/atom/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/atom/molecule/centos-6/molecule.yml b/roles/atom/molecule/centos-6/molecule.yml index 348a5c5..275026e 100644 --- a/roles/atom/molecule/centos-6/molecule.yml +++ b/roles/atom/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/atom/molecule/centos-latest/molecule.yml b/roles/atom/molecule/centos-latest/molecule.yml index 036b09d..ae878ac 100644 --- a/roles/atom/molecule/centos-latest/molecule.yml +++ b/roles/atom/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/atom/molecule/debian-stable/molecule.yml b/roles/atom/molecule/debian-stable/molecule.yml index c830041..42d0d0b 100644 --- a/roles/atom/molecule/debian-stable/molecule.yml +++ b/roles/atom/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/atom/molecule/debian-unstable/molecule.yml b/roles/atom/molecule/debian-unstable/molecule.yml index aee7021..ed276ae 100644 --- a/roles/atom/molecule/debian-unstable/molecule.yml +++ b/roles/atom/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/atom/molecule/default/molecule.yml b/roles/atom/molecule/default/molecule.yml index 71c485d..9ade336 100644 --- a/roles/atom/molecule/default/molecule.yml +++ b/roles/atom/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: atom-fedora-latest: diff --git a/roles/atom/molecule/ec2/molecule.yml b/roles/atom/molecule/ec2/molecule.yml index 286a73b..068614b 100644 --- a/roles/atom/molecule/ec2/molecule.yml +++ b/roles/atom/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: atom-ubuntu-18.04: diff --git a/roles/atom/molecule/fedora-latest/molecule.yml b/roles/atom/molecule/fedora-latest/molecule.yml index d30c1fd..241c699 100644 --- a/roles/atom/molecule/fedora-latest/molecule.yml +++ b/roles/atom/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/atom/molecule/fedora-rawhide/molecule.yml b/roles/atom/molecule/fedora-rawhide/molecule.yml index 7d2bfe2..dfa047c 100644 --- a/roles/atom/molecule/fedora-rawhide/molecule.yml +++ b/roles/atom/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/atom/molecule/opensuse-leap/molecule.yml b/roles/atom/molecule/opensuse-leap/molecule.yml index e9cd826..11c2dd4 100644 --- a/roles/atom/molecule/opensuse-leap/molecule.yml +++ b/roles/atom/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/atom/molecule/ubuntu-devel/molecule.yml b/roles/atom/molecule/ubuntu-devel/molecule.yml index 5276cdb..0ee1efe 100644 --- a/roles/atom/molecule/ubuntu-devel/molecule.yml +++ b/roles/atom/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/atom/molecule/ubuntu-latest/molecule.yml b/roles/atom/molecule/ubuntu-latest/molecule.yml index a01cd1f..8deac3d 100644 --- a/roles/atom/molecule/ubuntu-latest/molecule.yml +++ b/roles/atom/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/atom/molecule/ubuntu-rolling/molecule.yml b/roles/atom/molecule/ubuntu-rolling/molecule.yml index 0035797..80b1495 100644 --- a/roles/atom/molecule/ubuntu-rolling/molecule.yml +++ b/roles/atom/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/atom/molecule/vagrant/molecule.yml b/roles/atom/molecule/vagrant/molecule.yml index a8ec49e..23b9703 100644 --- a/roles/atom/molecule/vagrant/molecule.yml +++ b/roles/atom/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: atom-fedora: diff --git a/roles/bootstrap/.travis.yml b/roles/bootstrap/.travis.yml index 683b675..a78ecb5 100644 --- a/roles/bootstrap/.travis.yml +++ b/roles/bootstrap/.travis.yml @@ -31,9 +31,6 @@ env: - version=">=2.7,<2.8" distro="fedora-rawhide" - version="" distro="fedora-rawhide" - version="devel" distro="fedora-rawhide" - - version=">=2.7,<2.8" distro="gentoo" - - version="" distro="gentoo" - - version="devel" distro="gentoo" - version=">=2.7,<2.8" distro="kali" - version="" distro="kali" - version="devel" distro="kali" @@ -73,6 +70,9 @@ matrix: - env: version=">=2.7,<2.8" distro="fedora-rawhide" - env: version="" distro="fedora-rawhide" - env: version="devel" distro="fedora-rawhide" + - env: version=">=2.7,<2.8" distro="gentoo" + - env: version="" distro="gentoo" + - env: version="devel" distro="gentoo" - env: version="devel" distro="gentoo" - env: version="devel" distro="kali" - env: version="devel" distro="opensuse-leap" diff --git a/roles/bootstrap/CONTRIBUTING.md b/roles/bootstrap/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/bootstrap/CONTRIBUTING.md +++ b/roles/bootstrap/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/bootstrap/README.md b/roles/bootstrap/README.md index ed3e8bb..19957ac 100644 --- a/roles/bootstrap/README.md +++ b/roles/bootstrap/README.md @@ -28,6 +28,7 @@ This example is taken from `molecule/resources/playbook.yml`: The machine you are running this on, may need to be prepared. ```yaml No preparation required. +``` Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles. @@ -93,7 +94,6 @@ This role has been tested against the following distributions and Ansible versio |debian-unstable*|yes|yes|yes*| |fedora-latest|yes|yes|yes*| |fedora-rawhide*|yes|yes|yes*| -|gentoo|yes|yes|yes*| |kali|yes|yes|yes*| |opensuse-leap|yes|yes|yes*| |ubuntu-devel*|yes|yes|yes*| @@ -102,6 +102,9 @@ This role has been tested against the following distributions and Ansible versio A single star means the build may fail, it's marked as an experimental build. + + + Testing ------- diff --git a/roles/bootstrap/SECURITY.md b/roles/bootstrap/SECURITY.md new file mode 100644 index 0000000..0b5af68 --- /dev/null +++ b/roles/bootstrap/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-bootstrap/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/bootstrap/meta/.galaxy_install_info b/roles/bootstrap/meta/.galaxy_install_info index b062fae..8b6458c 100644 --- a/roles/bootstrap/meta/.galaxy_install_info +++ b/roles/bootstrap/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:30:55 2019', version: 3.4.2} +{install_date: 'Tue Sep 17 04:21:18 2019', version: 3.4.4} diff --git a/roles/bootstrap/molecule/alpine-edge/molecule.yml b/roles/bootstrap/molecule/alpine-edge/molecule.yml index 3db17dd..929f360 100644 --- a/roles/bootstrap/molecule/alpine-edge/molecule.yml +++ b/roles/bootstrap/molecule/alpine-edge/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/bootstrap/molecule/alpine-latest/molecule.yml b/roles/bootstrap/molecule/alpine-latest/molecule.yml index 13acd8d..8839da5 100644 --- a/roles/bootstrap/molecule/alpine-latest/molecule.yml +++ b/roles/bootstrap/molecule/alpine-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/bootstrap/molecule/archlinux/molecule.yml b/roles/bootstrap/molecule/archlinux/molecule.yml index e800746..36965c5 100644 --- a/roles/bootstrap/molecule/archlinux/molecule.yml +++ b/roles/bootstrap/molecule/archlinux/molecule.yml @@ -17,5 +17,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/bootstrap/molecule/centos-6/molecule.yml b/roles/bootstrap/molecule/centos-6/molecule.yml index e868ed4..642b8af 100644 --- a/roles/bootstrap/molecule/centos-6/molecule.yml +++ b/roles/bootstrap/molecule/centos-6/molecule.yml @@ -17,5 +17,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/bootstrap/molecule/centos-latest/molecule.yml b/roles/bootstrap/molecule/centos-latest/molecule.yml index 27bb7af..6cb7429 100644 --- a/roles/bootstrap/molecule/centos-latest/molecule.yml +++ b/roles/bootstrap/molecule/centos-latest/molecule.yml @@ -17,5 +17,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/bootstrap/molecule/debian-stable/molecule.yml b/roles/bootstrap/molecule/debian-stable/molecule.yml index e6b5b2f..0786804 100644 --- a/roles/bootstrap/molecule/debian-stable/molecule.yml +++ b/roles/bootstrap/molecule/debian-stable/molecule.yml @@ -17,5 +17,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/bootstrap/molecule/debian-unstable/molecule.yml b/roles/bootstrap/molecule/debian-unstable/molecule.yml index 015d345..8345e2b 100644 --- a/roles/bootstrap/molecule/debian-unstable/molecule.yml +++ b/roles/bootstrap/molecule/debian-unstable/molecule.yml @@ -17,5 +17,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/bootstrap/molecule/default/molecule.yml b/roles/bootstrap/molecule/default/molecule.yml index e2cabb5..c1dd6ab 100644 --- a/roles/bootstrap/molecule/default/molecule.yml +++ b/roles/bootstrap/molecule/default/molecule.yml @@ -70,6 +70,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: bootstrap-fedora-latest: diff --git a/roles/bootstrap/molecule/digitalocean/molecule.yml b/roles/bootstrap/molecule/digitalocean/molecule.yml index 6347d77..245e963 100644 --- a/roles/bootstrap/molecule/digitalocean/molecule.yml +++ b/roles/bootstrap/molecule/digitalocean/molecule.yml @@ -16,6 +16,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml ssh_connection: host_key_checking: no ssh_args: -C -o ControlMaster=auto -o ControlPersist=60s -F ${MOLECULE_EPHEMERAL_DIRECTORY}/sshd_config diff --git a/roles/bootstrap/molecule/ec2/molecule.yml b/roles/bootstrap/molecule/ec2/molecule.yml index bc4a4a9..b5efc7a 100644 --- a/roles/bootstrap/molecule/ec2/molecule.yml +++ b/roles/bootstrap/molecule/ec2/molecule.yml @@ -38,6 +38,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: bootstrap-ubuntu-18.04: diff --git a/roles/bootstrap/molecule/fedora-latest/molecule.yml b/roles/bootstrap/molecule/fedora-latest/molecule.yml index f126ad0..da4942d 100644 --- a/roles/bootstrap/molecule/fedora-latest/molecule.yml +++ b/roles/bootstrap/molecule/fedora-latest/molecule.yml @@ -17,6 +17,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/bootstrap/molecule/fedora-rawhide/molecule.yml b/roles/bootstrap/molecule/fedora-rawhide/molecule.yml index 6a26099..71c82d4 100644 --- a/roles/bootstrap/molecule/fedora-rawhide/molecule.yml +++ b/roles/bootstrap/molecule/fedora-rawhide/molecule.yml @@ -19,6 +19,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/bootstrap/molecule/gentoo/molecule.yml b/roles/bootstrap/molecule/gentoo/molecule.yml index 54ad49b..026f1c7 100644 --- a/roles/bootstrap/molecule/gentoo/molecule.yml +++ b/roles/bootstrap/molecule/gentoo/molecule.yml @@ -17,5 +17,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: gentoo diff --git a/roles/bootstrap/molecule/kali/molecule.yml b/roles/bootstrap/molecule/kali/molecule.yml index cd5c3a0..f07e4f7 100644 --- a/roles/bootstrap/molecule/kali/molecule.yml +++ b/roles/bootstrap/molecule/kali/molecule.yml @@ -17,5 +17,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: kali diff --git a/roles/bootstrap/molecule/opensuse-leap/molecule.yml b/roles/bootstrap/molecule/opensuse-leap/molecule.yml index efa0f46..645bf44 100644 --- a/roles/bootstrap/molecule/opensuse-leap/molecule.yml +++ b/roles/bootstrap/molecule/opensuse-leap/molecule.yml @@ -17,5 +17,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/bootstrap/molecule/redhat-7/molecule.yml b/roles/bootstrap/molecule/redhat-7/molecule.yml index dd3810b..9a528bf 100644 --- a/roles/bootstrap/molecule/redhat-7/molecule.yml +++ b/roles/bootstrap/molecule/redhat-7/molecule.yml @@ -22,5 +22,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: redhat-7 diff --git a/roles/bootstrap/molecule/redhat-latest/molecule.yml b/roles/bootstrap/molecule/redhat-latest/molecule.yml index 8beb7fb..21363db 100644 --- a/roles/bootstrap/molecule/redhat-latest/molecule.yml +++ b/roles/bootstrap/molecule/redhat-latest/molecule.yml @@ -22,5 +22,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: redhat-latest diff --git a/roles/bootstrap/molecule/rhel-latest/molecule.yml b/roles/bootstrap/molecule/rhel-latest/molecule.yml index ce7e404..5e77cea 100644 --- a/roles/bootstrap/molecule/rhel-latest/molecule.yml +++ b/roles/bootstrap/molecule/rhel-latest/molecule.yml @@ -19,6 +19,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/bootstrap/molecule/ubuntu-devel/molecule.yml b/roles/bootstrap/molecule/ubuntu-devel/molecule.yml index cb51cf8..bdc686d 100644 --- a/roles/bootstrap/molecule/ubuntu-devel/molecule.yml +++ b/roles/bootstrap/molecule/ubuntu-devel/molecule.yml @@ -17,5 +17,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/bootstrap/molecule/ubuntu-latest/molecule.yml b/roles/bootstrap/molecule/ubuntu-latest/molecule.yml index fdb0a14..c8b8b5b 100644 --- a/roles/bootstrap/molecule/ubuntu-latest/molecule.yml +++ b/roles/bootstrap/molecule/ubuntu-latest/molecule.yml @@ -17,5 +17,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/bootstrap/molecule/ubuntu-rolling/molecule.yml b/roles/bootstrap/molecule/ubuntu-rolling/molecule.yml index e1f998a..9ae56d6 100644 --- a/roles/bootstrap/molecule/ubuntu-rolling/molecule.yml +++ b/roles/bootstrap/molecule/ubuntu-rolling/molecule.yml @@ -17,5 +17,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/bootstrap/molecule/vagrant/molecule.yml b/roles/bootstrap/molecule/vagrant/molecule.yml index 874072f..9e3a4b5 100644 --- a/roles/bootstrap/molecule/vagrant/molecule.yml +++ b/roles/bootstrap/molecule/vagrant/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: bootstrap-fedora: diff --git a/roles/bootstrap/vars/main.yml b/roles/bootstrap/vars/main.yml index 1a6fe4a..cb0c35b 100644 --- a/roles/bootstrap/vars/main.yml +++ b/roles/bootstrap/vars/main.yml @@ -43,6 +43,10 @@ _bootstrap_packages: - iproute - python2 - sudo + Debian: + - aptitude + - python + - sudo Fedora: - iproute - python3 @@ -135,7 +139,6 @@ _bootstrap_preview_packages: - tar - unzip - gzip - - policycoreutils-python - xz Debian: - apt-transport-https @@ -149,7 +152,6 @@ _bootstrap_preview_packages: - tar - unzip - gzip - - policycoreutils-python - xz FreeBSD: - unzip diff --git a/roles/buildtools/CONTRIBUTING.md b/roles/buildtools/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/buildtools/CONTRIBUTING.md +++ b/roles/buildtools/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/buildtools/SECURITY.md b/roles/buildtools/SECURITY.md new file mode 100644 index 0000000..d4e3aa9 --- /dev/null +++ b/roles/buildtools/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-buildtools/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/buildtools/meta/.galaxy_install_info b/roles/buildtools/meta/.galaxy_install_info index 63615fb..a36db21 100644 --- a/roles/buildtools/meta/.galaxy_install_info +++ b/roles/buildtools/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:30:58 2019', version: 2.0.7} +{install_date: 'Tue Sep 17 04:21:22 2019', version: 2.0.9} diff --git a/roles/buildtools/molecule/alpine-edge/molecule.yml b/roles/buildtools/molecule/alpine-edge/molecule.yml index 85d7032..4c5e816 100644 --- a/roles/buildtools/molecule/alpine-edge/molecule.yml +++ b/roles/buildtools/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/buildtools/molecule/alpine-latest/molecule.yml b/roles/buildtools/molecule/alpine-latest/molecule.yml index 340bafa..b0a5312 100644 --- a/roles/buildtools/molecule/alpine-latest/molecule.yml +++ b/roles/buildtools/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/buildtools/molecule/archlinux/molecule.yml b/roles/buildtools/molecule/archlinux/molecule.yml index 0fe88d8..1e59e31 100644 --- a/roles/buildtools/molecule/archlinux/molecule.yml +++ b/roles/buildtools/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/buildtools/molecule/centos-6/molecule.yml b/roles/buildtools/molecule/centos-6/molecule.yml index 7edae6d..fcfa3e7 100644 --- a/roles/buildtools/molecule/centos-6/molecule.yml +++ b/roles/buildtools/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/buildtools/molecule/centos-latest/molecule.yml b/roles/buildtools/molecule/centos-latest/molecule.yml index 71d8f3b..2170624 100644 --- a/roles/buildtools/molecule/centos-latest/molecule.yml +++ b/roles/buildtools/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/buildtools/molecule/debian-stable/molecule.yml b/roles/buildtools/molecule/debian-stable/molecule.yml index e66c70f..085a31c 100644 --- a/roles/buildtools/molecule/debian-stable/molecule.yml +++ b/roles/buildtools/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/buildtools/molecule/debian-unstable/molecule.yml b/roles/buildtools/molecule/debian-unstable/molecule.yml index 0f25fc4..ffd0d30 100644 --- a/roles/buildtools/molecule/debian-unstable/molecule.yml +++ b/roles/buildtools/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/buildtools/molecule/default/molecule.yml b/roles/buildtools/molecule/default/molecule.yml index 99fb98f..da143ac 100644 --- a/roles/buildtools/molecule/default/molecule.yml +++ b/roles/buildtools/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: buildtools-fedora-latest: diff --git a/roles/buildtools/molecule/ec2/molecule.yml b/roles/buildtools/molecule/ec2/molecule.yml index 880dcff..27ceea3 100644 --- a/roles/buildtools/molecule/ec2/molecule.yml +++ b/roles/buildtools/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: buildtools-ubuntu-18.04: diff --git a/roles/buildtools/molecule/fedora-latest/molecule.yml b/roles/buildtools/molecule/fedora-latest/molecule.yml index fe3855f..90243ea 100644 --- a/roles/buildtools/molecule/fedora-latest/molecule.yml +++ b/roles/buildtools/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/buildtools/molecule/fedora-rawhide/molecule.yml b/roles/buildtools/molecule/fedora-rawhide/molecule.yml index f72c75a..016d926 100644 --- a/roles/buildtools/molecule/fedora-rawhide/molecule.yml +++ b/roles/buildtools/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/buildtools/molecule/opensuse-leap/molecule.yml b/roles/buildtools/molecule/opensuse-leap/molecule.yml index a442206..06aab77 100644 --- a/roles/buildtools/molecule/opensuse-leap/molecule.yml +++ b/roles/buildtools/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/buildtools/molecule/ubuntu-devel/molecule.yml b/roles/buildtools/molecule/ubuntu-devel/molecule.yml index 7a78da2..1e96658 100644 --- a/roles/buildtools/molecule/ubuntu-devel/molecule.yml +++ b/roles/buildtools/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/buildtools/molecule/ubuntu-latest/molecule.yml b/roles/buildtools/molecule/ubuntu-latest/molecule.yml index 74060e1..4431e67 100644 --- a/roles/buildtools/molecule/ubuntu-latest/molecule.yml +++ b/roles/buildtools/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/buildtools/molecule/ubuntu-rolling/molecule.yml b/roles/buildtools/molecule/ubuntu-rolling/molecule.yml index 715ad84..bf97896 100644 --- a/roles/buildtools/molecule/ubuntu-rolling/molecule.yml +++ b/roles/buildtools/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/buildtools/molecule/vagrant/molecule.yml b/roles/buildtools/molecule/vagrant/molecule.yml index f0a4634..b6a8e7f 100644 --- a/roles/buildtools/molecule/vagrant/molecule.yml +++ b/roles/buildtools/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: buildtools-fedora: diff --git a/roles/buildtools/vars/main.yml b/roles/buildtools/vars/main.yml index 1c94041..b4ee8ca 100644 --- a/roles/buildtools/vars/main.yml +++ b/roles/buildtools/vars/main.yml @@ -19,6 +19,7 @@ _buildtools_packages: Fedora: - "@Development tools" - perl-Digest-SHA + - libffi-devel openSUSE Leap: - autoconf - automake diff --git a/roles/common/.travis.yml b/roles/common/.travis.yml index 10cbc78..4e300de 100644 --- a/roles/common/.travis.yml +++ b/roles/common/.travis.yml @@ -10,7 +10,7 @@ env: - version=">=2.7,<2.8" distro="alpine-edge" - version="" distro="alpine-edge" - version="devel" distro="alpine-edge" - - version=">=2.7,<2.8" distro="archlinux" + - version=">=2.7,<2.8" distro="archlinux" expectation="fail" - version="" distro="archlinux" - version="devel" distro="archlinux" - version=">=2.7,<2.8" distro="centos-6" diff --git a/roles/common/CONTRIBUTING.md b/roles/common/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/common/CONTRIBUTING.md +++ b/roles/common/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/common/README.md b/roles/common/README.md index ed1a238..09fb2d5 100644 --- a/roles/common/README.md +++ b/roles/common/README.md @@ -91,7 +91,7 @@ This role has been tested against the following distributions and Ansible versio |------------|-----------|-----------|-------------| |alpine-edge*|yes|yes|yes*| |alpine-latest|yes|yes|yes*| -|archlinux|yes|yes|yes*| +|archlinux|no|yes|yes*| |centos-6|yes|yes|yes*| |centos-latest|yes|yes|yes*| |debian-stable|yes|yes|yes*| @@ -105,6 +105,17 @@ This role has been tested against the following distributions and Ansible versio A single star means the build may fail, it's marked as an experimental build. +Exceptions +---------- + +Some variarations of the build matrix do not work. These are the variations and reasons why the build won't work: + +| variation | reason | +|---------------------------|------------------------| +| Archlinux & Ansible 2.7 | New-style module did not handle its own exit | + + + Testing ------- diff --git a/roles/common/SECURITY.md b/roles/common/SECURITY.md new file mode 100644 index 0000000..0741b0b --- /dev/null +++ b/roles/common/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-common/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/common/meta/.galaxy_install_info b/roles/common/meta/.galaxy_install_info index 2b5c948..eb741f4 100644 --- a/roles/common/meta/.galaxy_install_info +++ b/roles/common/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:01 2019', version: 3.0.6} +{install_date: 'Tue Sep 17 04:21:25 2019', version: 3.0.7} diff --git a/roles/common/meta/exception.yml b/roles/common/meta/exception.yml new file mode 100644 index 0000000..6da44d3 --- /dev/null +++ b/roles/common/meta/exception.yml @@ -0,0 +1,4 @@ +--- +exceptions: + - variation: Archlinux & Ansible 2.7 + reason: New-style module did not handle its own exit diff --git a/roles/common/molecule/alpine-edge/molecule.yml b/roles/common/molecule/alpine-edge/molecule.yml index 36ca284..4f5c8f5 100644 --- a/roles/common/molecule/alpine-edge/molecule.yml +++ b/roles/common/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/common/molecule/alpine-latest/molecule.yml b/roles/common/molecule/alpine-latest/molecule.yml index d2a6a3f..ca7ba03 100644 --- a/roles/common/molecule/alpine-latest/molecule.yml +++ b/roles/common/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/common/molecule/archlinux/molecule.yml b/roles/common/molecule/archlinux/molecule.yml index bf7ddc4..e0101be 100644 --- a/roles/common/molecule/archlinux/molecule.yml +++ b/roles/common/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/common/molecule/centos-6/molecule.yml b/roles/common/molecule/centos-6/molecule.yml index 82386cd..e5f1b01 100644 --- a/roles/common/molecule/centos-6/molecule.yml +++ b/roles/common/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/common/molecule/centos-latest/molecule.yml b/roles/common/molecule/centos-latest/molecule.yml index cea79fe..08e5bd9 100644 --- a/roles/common/molecule/centos-latest/molecule.yml +++ b/roles/common/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/common/molecule/debian-stable/molecule.yml b/roles/common/molecule/debian-stable/molecule.yml index 761c431..097a648 100644 --- a/roles/common/molecule/debian-stable/molecule.yml +++ b/roles/common/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/common/molecule/debian-unstable/molecule.yml b/roles/common/molecule/debian-unstable/molecule.yml index 878de8a..74c846f 100644 --- a/roles/common/molecule/debian-unstable/molecule.yml +++ b/roles/common/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/common/molecule/default/molecule.yml b/roles/common/molecule/default/molecule.yml index 745480e..5757c2e 100644 --- a/roles/common/molecule/default/molecule.yml +++ b/roles/common/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: common-fedora-latest: diff --git a/roles/common/molecule/ec2/molecule.yml b/roles/common/molecule/ec2/molecule.yml index 153408e..2e45030 100644 --- a/roles/common/molecule/ec2/molecule.yml +++ b/roles/common/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: common-ubuntu-18.04: diff --git a/roles/common/molecule/fedora-latest/molecule.yml b/roles/common/molecule/fedora-latest/molecule.yml index a229b25..c198c86 100644 --- a/roles/common/molecule/fedora-latest/molecule.yml +++ b/roles/common/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/common/molecule/fedora-rawhide/molecule.yml b/roles/common/molecule/fedora-rawhide/molecule.yml index 6c98860..af0c508 100644 --- a/roles/common/molecule/fedora-rawhide/molecule.yml +++ b/roles/common/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/common/molecule/opensuse-leap/molecule.yml b/roles/common/molecule/opensuse-leap/molecule.yml index 9b96e46..8590da3 100644 --- a/roles/common/molecule/opensuse-leap/molecule.yml +++ b/roles/common/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/common/molecule/ubuntu-devel/molecule.yml b/roles/common/molecule/ubuntu-devel/molecule.yml index fda2966..215bcac 100644 --- a/roles/common/molecule/ubuntu-devel/molecule.yml +++ b/roles/common/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/common/molecule/ubuntu-latest/molecule.yml b/roles/common/molecule/ubuntu-latest/molecule.yml index 98cb835..2088452 100644 --- a/roles/common/molecule/ubuntu-latest/molecule.yml +++ b/roles/common/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/common/molecule/ubuntu-rolling/molecule.yml b/roles/common/molecule/ubuntu-rolling/molecule.yml index 1a19274..946ded3 100644 --- a/roles/common/molecule/ubuntu-rolling/molecule.yml +++ b/roles/common/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/common/molecule/vagrant/molecule.yml b/roles/common/molecule/vagrant/molecule.yml index db2d2a5..213a0c9 100644 --- a/roles/common/molecule/vagrant/molecule.yml +++ b/roles/common/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: common-fedora: diff --git a/roles/docker/CONTRIBUTING.md b/roles/docker/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/docker/CONTRIBUTING.md +++ b/roles/docker/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/docker/README.md b/roles/docker/README.md index 9860345..3b6b354 100644 --- a/roles/docker/README.md +++ b/roles/docker/README.md @@ -104,6 +104,9 @@ This role has been tested against the following distributions and Ansible versio A single star means the build may fail, it's marked as an experimental build. + + + Testing ------- diff --git a/roles/docker/SECURITY.md b/roles/docker/SECURITY.md new file mode 100644 index 0000000..8aa20c5 --- /dev/null +++ b/roles/docker/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-docker/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/docker/meta/.galaxy_install_info b/roles/docker/meta/.galaxy_install_info index b823724..ab62e3b 100644 --- a/roles/docker/meta/.galaxy_install_info +++ b/roles/docker/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:03 2019', version: 2.1.1} +{install_date: 'Tue Sep 17 04:21:28 2019', version: 2.1.2} diff --git a/roles/docker/molecule/alpine-edge/molecule.yml b/roles/docker/molecule/alpine-edge/molecule.yml index 844bc16..fbe97e1 100644 --- a/roles/docker/molecule/alpine-edge/molecule.yml +++ b/roles/docker/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/docker/molecule/alpine-latest/molecule.yml b/roles/docker/molecule/alpine-latest/molecule.yml index fd31ad6..c0939bb 100644 --- a/roles/docker/molecule/alpine-latest/molecule.yml +++ b/roles/docker/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/docker/molecule/archlinux/molecule.yml b/roles/docker/molecule/archlinux/molecule.yml index c800a88..48e28d9 100644 --- a/roles/docker/molecule/archlinux/molecule.yml +++ b/roles/docker/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/docker/molecule/centos-6/molecule.yml b/roles/docker/molecule/centos-6/molecule.yml index d678676..12e4c18 100644 --- a/roles/docker/molecule/centos-6/molecule.yml +++ b/roles/docker/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/docker/molecule/centos-latest/molecule.yml b/roles/docker/molecule/centos-latest/molecule.yml index 74e1830..4454f71 100644 --- a/roles/docker/molecule/centos-latest/molecule.yml +++ b/roles/docker/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/docker/molecule/debian-stable/molecule.yml b/roles/docker/molecule/debian-stable/molecule.yml index 3f25e2a..60818c7 100644 --- a/roles/docker/molecule/debian-stable/molecule.yml +++ b/roles/docker/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/docker/molecule/debian-unstable/molecule.yml b/roles/docker/molecule/debian-unstable/molecule.yml index f9b9b56..c3da954 100644 --- a/roles/docker/molecule/debian-unstable/molecule.yml +++ b/roles/docker/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/docker/molecule/default/molecule.yml b/roles/docker/molecule/default/molecule.yml index 748eaea..4896a57 100644 --- a/roles/docker/molecule/default/molecule.yml +++ b/roles/docker/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: docker-fedora-latest: diff --git a/roles/docker/molecule/ec2/molecule.yml b/roles/docker/molecule/ec2/molecule.yml index e270078..1a4dd3b 100644 --- a/roles/docker/molecule/ec2/molecule.yml +++ b/roles/docker/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: docker-ubuntu-18.04: diff --git a/roles/docker/molecule/fedora-latest/molecule.yml b/roles/docker/molecule/fedora-latest/molecule.yml index 6f0a44c..9fb1481 100644 --- a/roles/docker/molecule/fedora-latest/molecule.yml +++ b/roles/docker/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/docker/molecule/fedora-rawhide/molecule.yml b/roles/docker/molecule/fedora-rawhide/molecule.yml index 929a53d..a8c3d4f 100644 --- a/roles/docker/molecule/fedora-rawhide/molecule.yml +++ b/roles/docker/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/docker/molecule/opensuse-leap/molecule.yml b/roles/docker/molecule/opensuse-leap/molecule.yml index 08ac10c..562805e 100644 --- a/roles/docker/molecule/opensuse-leap/molecule.yml +++ b/roles/docker/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/docker/molecule/ubuntu-devel/molecule.yml b/roles/docker/molecule/ubuntu-devel/molecule.yml index 00720ff..b7f44f3 100644 --- a/roles/docker/molecule/ubuntu-devel/molecule.yml +++ b/roles/docker/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/docker/molecule/ubuntu-latest/molecule.yml b/roles/docker/molecule/ubuntu-latest/molecule.yml index f60e29b..7c21229 100644 --- a/roles/docker/molecule/ubuntu-latest/molecule.yml +++ b/roles/docker/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/docker/molecule/ubuntu-rolling/molecule.yml b/roles/docker/molecule/ubuntu-rolling/molecule.yml index cd5085d..14f4667 100644 --- a/roles/docker/molecule/ubuntu-rolling/molecule.yml +++ b/roles/docker/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/docker/molecule/vagrant/molecule.yml b/roles/docker/molecule/vagrant/molecule.yml index aef7a32..07c6d55 100644 --- a/roles/docker/molecule/vagrant/molecule.yml +++ b/roles/docker/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: docker-fedora: diff --git a/roles/docker/vars/main.yml b/roles/docker/vars/main.yml index 6ec58e0..7fd9a99 100644 --- a/roles/docker/vars/main.yml +++ b/roles/docker/vars/main.yml @@ -19,6 +19,9 @@ _docker_packages: CentOS: - docker-io - docker-compose + Debian: + - docker.io + - docker-compose Ubuntu: - docker.io - docker-compose diff --git a/roles/epel/CONTRIBUTING.md b/roles/epel/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/epel/CONTRIBUTING.md +++ b/roles/epel/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/epel/SECURITY.md b/roles/epel/SECURITY.md new file mode 100644 index 0000000..3c9b483 --- /dev/null +++ b/roles/epel/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-epel/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/epel/meta/.galaxy_install_info b/roles/epel/meta/.galaxy_install_info index a0d1948..8b45915 100644 --- a/roles/epel/meta/.galaxy_install_info +++ b/roles/epel/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:06 2019', version: 2.0.5} +{install_date: 'Tue Sep 17 04:21:32 2019', version: 2.0.6} diff --git a/roles/epel/molecule/centos-6/molecule.yml b/roles/epel/molecule/centos-6/molecule.yml index 40cea3b..c74ebdd 100644 --- a/roles/epel/molecule/centos-6/molecule.yml +++ b/roles/epel/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/epel/molecule/centos-latest/molecule.yml b/roles/epel/molecule/centos-latest/molecule.yml index 2e506ef..84f4986 100644 --- a/roles/epel/molecule/centos-latest/molecule.yml +++ b/roles/epel/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/epel/molecule/default/molecule.yml b/roles/epel/molecule/default/molecule.yml index 95312c6..07e40d8 100644 --- a/roles/epel/molecule/default/molecule.yml +++ b/roles/epel/molecule/default/molecule.yml @@ -16,6 +16,10 @@ provisioner: name: ansible lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: epel-fedora-latest: diff --git a/roles/epel/molecule/ec2/molecule.yml b/roles/epel/molecule/ec2/molecule.yml index 87e5fef..a366dca 100644 --- a/roles/epel/molecule/ec2/molecule.yml +++ b/roles/epel/molecule/ec2/molecule.yml @@ -36,6 +36,10 @@ provisioner: name: ansible lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: epel-ubuntu-18.04: diff --git a/roles/epel/molecule/vagrant/molecule.yml b/roles/epel/molecule/vagrant/molecule.yml index d9e6dcc..0485fc6 100644 --- a/roles/epel/molecule/vagrant/molecule.yml +++ b/roles/epel/molecule/vagrant/molecule.yml @@ -18,6 +18,10 @@ provisioner: name: ansible lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: epel-fedora: diff --git a/roles/fail2ban/CONTRIBUTING.md b/roles/fail2ban/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/fail2ban/CONTRIBUTING.md +++ b/roles/fail2ban/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/fail2ban/SECURITY.md b/roles/fail2ban/SECURITY.md new file mode 100644 index 0000000..5c4cff5 --- /dev/null +++ b/roles/fail2ban/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-fail2ban/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/fail2ban/meta/.galaxy_install_info b/roles/fail2ban/meta/.galaxy_install_info index 71a42a4..0faf3c2 100644 --- a/roles/fail2ban/meta/.galaxy_install_info +++ b/roles/fail2ban/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:09 2019', version: 2.0.6} +{install_date: 'Tue Sep 17 04:21:36 2019', version: 2.0.7} diff --git a/roles/fail2ban/molecule/alpine-edge/molecule.yml b/roles/fail2ban/molecule/alpine-edge/molecule.yml index b5d5d64..332bc49 100644 --- a/roles/fail2ban/molecule/alpine-edge/molecule.yml +++ b/roles/fail2ban/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/fail2ban/molecule/alpine-latest/molecule.yml b/roles/fail2ban/molecule/alpine-latest/molecule.yml index 82d6188..0a957f9 100644 --- a/roles/fail2ban/molecule/alpine-latest/molecule.yml +++ b/roles/fail2ban/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/fail2ban/molecule/archlinux/molecule.yml b/roles/fail2ban/molecule/archlinux/molecule.yml index 19471ae..aceb50c 100644 --- a/roles/fail2ban/molecule/archlinux/molecule.yml +++ b/roles/fail2ban/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/fail2ban/molecule/centos-6/molecule.yml b/roles/fail2ban/molecule/centos-6/molecule.yml index a53ef61..df47e8c 100644 --- a/roles/fail2ban/molecule/centos-6/molecule.yml +++ b/roles/fail2ban/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/fail2ban/molecule/centos-latest/molecule.yml b/roles/fail2ban/molecule/centos-latest/molecule.yml index 7f1416e..d38fbfe 100644 --- a/roles/fail2ban/molecule/centos-latest/molecule.yml +++ b/roles/fail2ban/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/fail2ban/molecule/debian-stable/molecule.yml b/roles/fail2ban/molecule/debian-stable/molecule.yml index 8896721..fdf5235 100644 --- a/roles/fail2ban/molecule/debian-stable/molecule.yml +++ b/roles/fail2ban/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/fail2ban/molecule/debian-unstable/molecule.yml b/roles/fail2ban/molecule/debian-unstable/molecule.yml index 6f470d6..d6a77e2 100644 --- a/roles/fail2ban/molecule/debian-unstable/molecule.yml +++ b/roles/fail2ban/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/fail2ban/molecule/default/molecule.yml b/roles/fail2ban/molecule/default/molecule.yml index 0571a01..7a4826f 100644 --- a/roles/fail2ban/molecule/default/molecule.yml +++ b/roles/fail2ban/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: fail2ban-fedora-latest: diff --git a/roles/fail2ban/molecule/ec2/molecule.yml b/roles/fail2ban/molecule/ec2/molecule.yml index 9a8c090..5d6db2c 100644 --- a/roles/fail2ban/molecule/ec2/molecule.yml +++ b/roles/fail2ban/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: fail2ban-ubuntu-18.04: diff --git a/roles/fail2ban/molecule/fedora-latest/molecule.yml b/roles/fail2ban/molecule/fedora-latest/molecule.yml index 22307c9..f6997d5 100644 --- a/roles/fail2ban/molecule/fedora-latest/molecule.yml +++ b/roles/fail2ban/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/fail2ban/molecule/fedora-rawhide/molecule.yml b/roles/fail2ban/molecule/fedora-rawhide/molecule.yml index 94e9252..092d6a9 100644 --- a/roles/fail2ban/molecule/fedora-rawhide/molecule.yml +++ b/roles/fail2ban/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/fail2ban/molecule/opensuse-leap/molecule.yml b/roles/fail2ban/molecule/opensuse-leap/molecule.yml index 26e71b5..e226b4a 100644 --- a/roles/fail2ban/molecule/opensuse-leap/molecule.yml +++ b/roles/fail2ban/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/fail2ban/molecule/ubuntu-devel/molecule.yml b/roles/fail2ban/molecule/ubuntu-devel/molecule.yml index 4917984..4dc5734 100644 --- a/roles/fail2ban/molecule/ubuntu-devel/molecule.yml +++ b/roles/fail2ban/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/fail2ban/molecule/ubuntu-latest/molecule.yml b/roles/fail2ban/molecule/ubuntu-latest/molecule.yml index 39cef4c..6c9e44d 100644 --- a/roles/fail2ban/molecule/ubuntu-latest/molecule.yml +++ b/roles/fail2ban/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/fail2ban/molecule/ubuntu-rolling/molecule.yml b/roles/fail2ban/molecule/ubuntu-rolling/molecule.yml index 8f0e63e..5e28b7e 100644 --- a/roles/fail2ban/molecule/ubuntu-rolling/molecule.yml +++ b/roles/fail2ban/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/fail2ban/molecule/vagrant/molecule.yml b/roles/fail2ban/molecule/vagrant/molecule.yml index 598c8b4..e519a77 100644 --- a/roles/fail2ban/molecule/vagrant/molecule.yml +++ b/roles/fail2ban/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: fail2ban-fedora: diff --git a/roles/git/CONTRIBUTING.md b/roles/git/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/git/CONTRIBUTING.md +++ b/roles/git/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/git/SECURITY.md b/roles/git/SECURITY.md new file mode 100644 index 0000000..914ed04 --- /dev/null +++ b/roles/git/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-git/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/git/meta/.galaxy_install_info b/roles/git/meta/.galaxy_install_info index c65faeb..f259d3d 100644 --- a/roles/git/meta/.galaxy_install_info +++ b/roles/git/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:12 2019', version: 3.0.4} +{install_date: 'Tue Sep 17 04:21:38 2019', version: 3.0.5} diff --git a/roles/git/molecule/alpine-edge/molecule.yml b/roles/git/molecule/alpine-edge/molecule.yml index bb82c55..ae88b92 100644 --- a/roles/git/molecule/alpine-edge/molecule.yml +++ b/roles/git/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/git/molecule/alpine-latest/molecule.yml b/roles/git/molecule/alpine-latest/molecule.yml index 8a50fe7..54c768b 100644 --- a/roles/git/molecule/alpine-latest/molecule.yml +++ b/roles/git/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/git/molecule/archlinux/molecule.yml b/roles/git/molecule/archlinux/molecule.yml index 4ab7402..3d43b54 100644 --- a/roles/git/molecule/archlinux/molecule.yml +++ b/roles/git/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/git/molecule/centos-6/molecule.yml b/roles/git/molecule/centos-6/molecule.yml index 9fe7fe5..0d28eb0 100644 --- a/roles/git/molecule/centos-6/molecule.yml +++ b/roles/git/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/git/molecule/centos-latest/molecule.yml b/roles/git/molecule/centos-latest/molecule.yml index 1fae767..53487ba 100644 --- a/roles/git/molecule/centos-latest/molecule.yml +++ b/roles/git/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/git/molecule/debian-stable/molecule.yml b/roles/git/molecule/debian-stable/molecule.yml index 8bdd8c6..472ca4b 100644 --- a/roles/git/molecule/debian-stable/molecule.yml +++ b/roles/git/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/git/molecule/debian-unstable/molecule.yml b/roles/git/molecule/debian-unstable/molecule.yml index 3473f15..7174fc7 100644 --- a/roles/git/molecule/debian-unstable/molecule.yml +++ b/roles/git/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/git/molecule/default/molecule.yml b/roles/git/molecule/default/molecule.yml index 9ec5a1b..e4d5816 100644 --- a/roles/git/molecule/default/molecule.yml +++ b/roles/git/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: git-fedora-latest: diff --git a/roles/git/molecule/ec2/molecule.yml b/roles/git/molecule/ec2/molecule.yml index a00707c..02f535d 100644 --- a/roles/git/molecule/ec2/molecule.yml +++ b/roles/git/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: git-ubuntu-18.04: diff --git a/roles/git/molecule/fedora-latest/molecule.yml b/roles/git/molecule/fedora-latest/molecule.yml index f3a489a..3e1a985 100644 --- a/roles/git/molecule/fedora-latest/molecule.yml +++ b/roles/git/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/git/molecule/fedora-rawhide/molecule.yml b/roles/git/molecule/fedora-rawhide/molecule.yml index 1f51477..c70073a 100644 --- a/roles/git/molecule/fedora-rawhide/molecule.yml +++ b/roles/git/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/git/molecule/opensuse-leap/molecule.yml b/roles/git/molecule/opensuse-leap/molecule.yml index 47baa1d..5f66c38 100644 --- a/roles/git/molecule/opensuse-leap/molecule.yml +++ b/roles/git/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/git/molecule/ubuntu-devel/molecule.yml b/roles/git/molecule/ubuntu-devel/molecule.yml index e794147..631ea13 100644 --- a/roles/git/molecule/ubuntu-devel/molecule.yml +++ b/roles/git/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/git/molecule/ubuntu-latest/molecule.yml b/roles/git/molecule/ubuntu-latest/molecule.yml index 3b37638..2eb70d9 100644 --- a/roles/git/molecule/ubuntu-latest/molecule.yml +++ b/roles/git/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/git/molecule/ubuntu-rolling/molecule.yml b/roles/git/molecule/ubuntu-rolling/molecule.yml index aa4f63b..216a4b3 100644 --- a/roles/git/molecule/ubuntu-rolling/molecule.yml +++ b/roles/git/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/git/molecule/vagrant/molecule.yml b/roles/git/molecule/vagrant/molecule.yml index 160958c..23211e9 100644 --- a/roles/git/molecule/vagrant/molecule.yml +++ b/roles/git/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: git-fedora: diff --git a/roles/investigate/CONTRIBUTING.md b/roles/investigate/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/investigate/CONTRIBUTING.md +++ b/roles/investigate/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/investigate/SECURITY.md b/roles/investigate/SECURITY.md new file mode 100644 index 0000000..fdab03f --- /dev/null +++ b/roles/investigate/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-investigate/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/investigate/meta/.galaxy_install_info b/roles/investigate/meta/.galaxy_install_info index 7807868..adffe45 100644 --- a/roles/investigate/meta/.galaxy_install_info +++ b/roles/investigate/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:15 2019', version: 2.0.5} +{install_date: 'Tue Sep 17 04:21:41 2019', version: 2.0.6} diff --git a/roles/investigate/molecule/alpine-edge/molecule.yml b/roles/investigate/molecule/alpine-edge/molecule.yml index 05cc817..93547f8 100644 --- a/roles/investigate/molecule/alpine-edge/molecule.yml +++ b/roles/investigate/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/investigate/molecule/alpine-latest/molecule.yml b/roles/investigate/molecule/alpine-latest/molecule.yml index 60f3357..1208c45 100644 --- a/roles/investigate/molecule/alpine-latest/molecule.yml +++ b/roles/investigate/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/investigate/molecule/archlinux/molecule.yml b/roles/investigate/molecule/archlinux/molecule.yml index 8de54ba..0d768e4 100644 --- a/roles/investigate/molecule/archlinux/molecule.yml +++ b/roles/investigate/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/investigate/molecule/centos-6/molecule.yml b/roles/investigate/molecule/centos-6/molecule.yml index 773978e..f0fde52 100644 --- a/roles/investigate/molecule/centos-6/molecule.yml +++ b/roles/investigate/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/investigate/molecule/centos-latest/molecule.yml b/roles/investigate/molecule/centos-latest/molecule.yml index b4e39cf..26af666 100644 --- a/roles/investigate/molecule/centos-latest/molecule.yml +++ b/roles/investigate/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/investigate/molecule/debian-stable/molecule.yml b/roles/investigate/molecule/debian-stable/molecule.yml index f8ce15b..9756e21 100644 --- a/roles/investigate/molecule/debian-stable/molecule.yml +++ b/roles/investigate/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/investigate/molecule/debian-unstable/molecule.yml b/roles/investigate/molecule/debian-unstable/molecule.yml index fe405ed..bf59f8c 100644 --- a/roles/investigate/molecule/debian-unstable/molecule.yml +++ b/roles/investigate/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/investigate/molecule/default/molecule.yml b/roles/investigate/molecule/default/molecule.yml index 32b3662..b3a4fbd 100644 --- a/roles/investigate/molecule/default/molecule.yml +++ b/roles/investigate/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: investigate-fedora-latest: diff --git a/roles/investigate/molecule/ec2/molecule.yml b/roles/investigate/molecule/ec2/molecule.yml index 200507a..223c040 100644 --- a/roles/investigate/molecule/ec2/molecule.yml +++ b/roles/investigate/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: investigate-ubuntu-18.04: diff --git a/roles/investigate/molecule/fedora-latest/molecule.yml b/roles/investigate/molecule/fedora-latest/molecule.yml index fdbacc3..438b0a0 100644 --- a/roles/investigate/molecule/fedora-latest/molecule.yml +++ b/roles/investigate/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/investigate/molecule/fedora-rawhide/molecule.yml b/roles/investigate/molecule/fedora-rawhide/molecule.yml index d2f5e0a..01dede0 100644 --- a/roles/investigate/molecule/fedora-rawhide/molecule.yml +++ b/roles/investigate/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/investigate/molecule/opensuse-leap/molecule.yml b/roles/investigate/molecule/opensuse-leap/molecule.yml index ad7b8be..4a9a386 100644 --- a/roles/investigate/molecule/opensuse-leap/molecule.yml +++ b/roles/investigate/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/investigate/molecule/ubuntu-devel/molecule.yml b/roles/investigate/molecule/ubuntu-devel/molecule.yml index e294e08..671e7c5 100644 --- a/roles/investigate/molecule/ubuntu-devel/molecule.yml +++ b/roles/investigate/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/investigate/molecule/ubuntu-latest/molecule.yml b/roles/investigate/molecule/ubuntu-latest/molecule.yml index 1234692..59cf035 100644 --- a/roles/investigate/molecule/ubuntu-latest/molecule.yml +++ b/roles/investigate/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/investigate/molecule/ubuntu-rolling/molecule.yml b/roles/investigate/molecule/ubuntu-rolling/molecule.yml index 0480fec..06042ef 100644 --- a/roles/investigate/molecule/ubuntu-rolling/molecule.yml +++ b/roles/investigate/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/investigate/molecule/vagrant/molecule.yml b/roles/investigate/molecule/vagrant/molecule.yml index 3bf66ae..79aef0e 100644 --- a/roles/investigate/molecule/vagrant/molecule.yml +++ b/roles/investigate/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: investigate-fedora: diff --git a/roles/molecule/CONTRIBUTING.md b/roles/molecule/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/molecule/CONTRIBUTING.md +++ b/roles/molecule/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/molecule/SECURITY.md b/roles/molecule/SECURITY.md new file mode 100644 index 0000000..81820fe --- /dev/null +++ b/roles/molecule/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-molecule/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/molecule/meta/.galaxy_install_info b/roles/molecule/meta/.galaxy_install_info index f869e7b..8d65470 100644 --- a/roles/molecule/meta/.galaxy_install_info +++ b/roles/molecule/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:19 2019', version: 2.0.3} +{install_date: 'Tue Sep 17 04:21:44 2019', version: 2.0.4} diff --git a/roles/molecule/molecule/alpine-edge/molecule.yml b/roles/molecule/molecule/alpine-edge/molecule.yml index 58ba6af..4c30d40 100644 --- a/roles/molecule/molecule/alpine-edge/molecule.yml +++ b/roles/molecule/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/molecule/molecule/alpine-latest/molecule.yml b/roles/molecule/molecule/alpine-latest/molecule.yml index dafdaec..c35ac53 100644 --- a/roles/molecule/molecule/alpine-latest/molecule.yml +++ b/roles/molecule/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/molecule/molecule/archlinux/molecule.yml b/roles/molecule/molecule/archlinux/molecule.yml index 72f1f6b..787e31f 100644 --- a/roles/molecule/molecule/archlinux/molecule.yml +++ b/roles/molecule/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/molecule/molecule/centos-6/molecule.yml b/roles/molecule/molecule/centos-6/molecule.yml index c8b695f..299330c 100644 --- a/roles/molecule/molecule/centos-6/molecule.yml +++ b/roles/molecule/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/molecule/molecule/centos-latest/molecule.yml b/roles/molecule/molecule/centos-latest/molecule.yml index 3367410..996e0f1 100644 --- a/roles/molecule/molecule/centos-latest/molecule.yml +++ b/roles/molecule/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/molecule/molecule/debian-stable/molecule.yml b/roles/molecule/molecule/debian-stable/molecule.yml index aba6060..484cc41 100644 --- a/roles/molecule/molecule/debian-stable/molecule.yml +++ b/roles/molecule/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/molecule/molecule/debian-unstable/molecule.yml b/roles/molecule/molecule/debian-unstable/molecule.yml index b11c7ea..90841f8 100644 --- a/roles/molecule/molecule/debian-unstable/molecule.yml +++ b/roles/molecule/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/molecule/molecule/default/molecule.yml b/roles/molecule/molecule/default/molecule.yml index c67dc71..ec60d03 100644 --- a/roles/molecule/molecule/default/molecule.yml +++ b/roles/molecule/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: molecule-fedora-latest: diff --git a/roles/molecule/molecule/ec2/molecule.yml b/roles/molecule/molecule/ec2/molecule.yml index ee04797..46b80cb 100644 --- a/roles/molecule/molecule/ec2/molecule.yml +++ b/roles/molecule/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: molecule-ubuntu-18.04: diff --git a/roles/molecule/molecule/fedora-latest/molecule.yml b/roles/molecule/molecule/fedora-latest/molecule.yml index 11225f5..32e67c3 100644 --- a/roles/molecule/molecule/fedora-latest/molecule.yml +++ b/roles/molecule/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/molecule/molecule/fedora-rawhide/molecule.yml b/roles/molecule/molecule/fedora-rawhide/molecule.yml index c634f94..0cc8537 100644 --- a/roles/molecule/molecule/fedora-rawhide/molecule.yml +++ b/roles/molecule/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/molecule/molecule/opensuse-leap/molecule.yml b/roles/molecule/molecule/opensuse-leap/molecule.yml index 8117799..bfee466 100644 --- a/roles/molecule/molecule/opensuse-leap/molecule.yml +++ b/roles/molecule/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/molecule/molecule/ubuntu-devel/molecule.yml b/roles/molecule/molecule/ubuntu-devel/molecule.yml index 335191f..fca66ae 100644 --- a/roles/molecule/molecule/ubuntu-devel/molecule.yml +++ b/roles/molecule/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/molecule/molecule/ubuntu-latest/molecule.yml b/roles/molecule/molecule/ubuntu-latest/molecule.yml index e0d69a1..a63e24b 100644 --- a/roles/molecule/molecule/ubuntu-latest/molecule.yml +++ b/roles/molecule/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/molecule/molecule/ubuntu-rolling/molecule.yml b/roles/molecule/molecule/ubuntu-rolling/molecule.yml index 4f835b4..7de025a 100644 --- a/roles/molecule/molecule/ubuntu-rolling/molecule.yml +++ b/roles/molecule/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/molecule/molecule/vagrant/molecule.yml b/roles/molecule/molecule/vagrant/molecule.yml index c8ae70b..aea86a9 100644 --- a/roles/molecule/molecule/vagrant/molecule.yml +++ b/roles/molecule/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: molecule-fedora: diff --git a/roles/postfix/CONTRIBUTING.md b/roles/postfix/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/postfix/CONTRIBUTING.md +++ b/roles/postfix/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/postfix/SECURITY.md b/roles/postfix/SECURITY.md new file mode 100644 index 0000000..7ab482d --- /dev/null +++ b/roles/postfix/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-postfix/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/postfix/meta/.galaxy_install_info b/roles/postfix/meta/.galaxy_install_info index e8ac2ef..6d44755 100644 --- a/roles/postfix/meta/.galaxy_install_info +++ b/roles/postfix/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:21 2019', version: 2.0.8} +{install_date: 'Tue Sep 17 04:21:48 2019', version: 2.0.9} diff --git a/roles/postfix/molecule/alpine-edge/molecule.yml b/roles/postfix/molecule/alpine-edge/molecule.yml index 56ec268..849a90f 100644 --- a/roles/postfix/molecule/alpine-edge/molecule.yml +++ b/roles/postfix/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/postfix/molecule/alpine-latest/molecule.yml b/roles/postfix/molecule/alpine-latest/molecule.yml index 7f6d3de..9194b00 100644 --- a/roles/postfix/molecule/alpine-latest/molecule.yml +++ b/roles/postfix/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/postfix/molecule/archlinux/molecule.yml b/roles/postfix/molecule/archlinux/molecule.yml index 55478ad..cbeec55 100644 --- a/roles/postfix/molecule/archlinux/molecule.yml +++ b/roles/postfix/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/postfix/molecule/centos-6/molecule.yml b/roles/postfix/molecule/centos-6/molecule.yml index 7ad4302..6784148 100644 --- a/roles/postfix/molecule/centos-6/molecule.yml +++ b/roles/postfix/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/postfix/molecule/centos-latest/molecule.yml b/roles/postfix/molecule/centos-latest/molecule.yml index 9bafe85..07cd895 100644 --- a/roles/postfix/molecule/centos-latest/molecule.yml +++ b/roles/postfix/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/postfix/molecule/debian-stable/molecule.yml b/roles/postfix/molecule/debian-stable/molecule.yml index 86a46cd..948bf26 100644 --- a/roles/postfix/molecule/debian-stable/molecule.yml +++ b/roles/postfix/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/postfix/molecule/debian-unstable/molecule.yml b/roles/postfix/molecule/debian-unstable/molecule.yml index d662c32..c96f395 100644 --- a/roles/postfix/molecule/debian-unstable/molecule.yml +++ b/roles/postfix/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/postfix/molecule/default/molecule.yml b/roles/postfix/molecule/default/molecule.yml index dcd3c22..85d55bf 100644 --- a/roles/postfix/molecule/default/molecule.yml +++ b/roles/postfix/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: postfix-fedora-latest: diff --git a/roles/postfix/molecule/ec2/molecule.yml b/roles/postfix/molecule/ec2/molecule.yml index 67ea6bb..67a8812 100644 --- a/roles/postfix/molecule/ec2/molecule.yml +++ b/roles/postfix/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: postfix-ubuntu-18.04: diff --git a/roles/postfix/molecule/fedora-latest/molecule.yml b/roles/postfix/molecule/fedora-latest/molecule.yml index 4689f61..4acfe16 100644 --- a/roles/postfix/molecule/fedora-latest/molecule.yml +++ b/roles/postfix/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/postfix/molecule/fedora-rawhide/molecule.yml b/roles/postfix/molecule/fedora-rawhide/molecule.yml index f7768d0..3c7a9e7 100644 --- a/roles/postfix/molecule/fedora-rawhide/molecule.yml +++ b/roles/postfix/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/postfix/molecule/opensuse-leap/molecule.yml b/roles/postfix/molecule/opensuse-leap/molecule.yml index 34a3a43..cfb324a 100644 --- a/roles/postfix/molecule/opensuse-leap/molecule.yml +++ b/roles/postfix/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/postfix/molecule/ubuntu-devel/molecule.yml b/roles/postfix/molecule/ubuntu-devel/molecule.yml index 646473e..9621ac4 100644 --- a/roles/postfix/molecule/ubuntu-devel/molecule.yml +++ b/roles/postfix/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/postfix/molecule/ubuntu-latest/molecule.yml b/roles/postfix/molecule/ubuntu-latest/molecule.yml index dc19681..785b14d 100644 --- a/roles/postfix/molecule/ubuntu-latest/molecule.yml +++ b/roles/postfix/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/postfix/molecule/ubuntu-rolling/molecule.yml b/roles/postfix/molecule/ubuntu-rolling/molecule.yml index b341ddc..148734c 100644 --- a/roles/postfix/molecule/ubuntu-rolling/molecule.yml +++ b/roles/postfix/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/postfix/molecule/vagrant/molecule.yml b/roles/postfix/molecule/vagrant/molecule.yml index 11c5538..98862da 100644 --- a/roles/postfix/molecule/vagrant/molecule.yml +++ b/roles/postfix/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: postfix-fedora: diff --git a/roles/python_pip/.travis.yml b/roles/python_pip/.travis.yml index dfc4bd1..40eeb48 100644 --- a/roles/python_pip/.travis.yml +++ b/roles/python_pip/.travis.yml @@ -19,9 +19,6 @@ env: - version=">=2.7,<2.8" distro="centos-latest" - version="" distro="centos-latest" - version="devel" distro="centos-latest" - - version=">=2.7,<2.8" distro="debian-latest" - - version="" distro="debian-latest" - - version="devel" distro="debian-latest" - version=">=2.7,<2.8" distro="debian-stable" - version="" distro="debian-stable" - version="devel" distro="debian-stable" @@ -56,7 +53,6 @@ matrix: - env: version="devel" distro="archlinux" - env: version="devel" distro="centos-6" expectation="fail" - env: version="devel" distro="centos-latest" - - env: version="devel" distro="debian-latest" - env: version="devel" distro="debian-stable" - env: version=">=2.7,<2.8" distro="debian-unstable" - env: version="" distro="debian-unstable" diff --git a/roles/python_pip/CONTRIBUTING.md b/roles/python_pip/CONTRIBUTING.md index 2931dcf..3209430 100644 --- a/roles/python_pip/CONTRIBUTING.md +++ b/roles/python_pip/CONTRIBUTING.md @@ -1,4 +1,10 @@ -# Please contribute! +# Please contribute + You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. + +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. + +I'll try to help and take every contribution seriously. + +It's a great opportunity for me to learn how you use the role and also an opportunity to get into the habit of contributing to open source software. diff --git a/roles/python_pip/README.md b/roles/python_pip/README.md index adf01b9..86d6b19 100644 --- a/roles/python_pip/README.md +++ b/roles/python_pip/README.md @@ -33,7 +33,6 @@ The machine you are running this on, may need to be prepared. hosts: all gather_facts: no become: yes - serial: 30% roles: - robertdebock.bootstrap @@ -52,20 +51,23 @@ These variables are set in `defaults/main.yml`: # defaults file for python_pip # The version of pip to update to. -python_pip_version: 19.0.3 +python_pip_version: 19.2.3 # The version of setuptools to update to. -python_pip_setuptools_version: 40.9.0 +python_pip_setuptools_version: 41.2.0 # By default no modules should be installed. python_pip_modules: [] + +# Connect to a (pypi) proxy by setting this variable. +# python_pip_proxy: "https://user:password@proxy:8443/artifactory/pypi/pypi-virtual/simple" ``` Requirements ------------ - Access to a repository containing packages, likely on the internet. -- A recent version of Ansible. (Tests run on the last 3 release of Ansible.) +- A recent version of Ansible. (Tests run on the current, previous and next release of Ansible.) The following roles can be installed to ensure all requirements are met, using `ansible-galaxy install -r requirements.yml`: @@ -99,7 +101,6 @@ This role has been tested against the following distributions and Ansible versio |archlinux|yes|yes|yes*| |centos-6|no|no|no*| |centos-latest|yes|yes|yes*| -|debian-latest|yes|yes|yes*| |debian-stable|yes|yes|yes*| |debian-unstable*|yes|yes|yes*| |fedora-latest|yes|yes|yes*| @@ -111,6 +112,16 @@ This role has been tested against the following distributions and Ansible versio A single star means the build may fail, it's marked as an experimental build. + +Included version(s) +------------------- + +This role [refers to a version](https://github.com/robertdebock/ansible-role-python_pip/blob/master/defaults/main.yml) released by PyPi. Check the released version(s) here: +- [pip](https://pypi.org/project/pip/). +- [setuptools](https://pypi.org/project/setuptools/). + +This version reference means a role may get outdated. Monthly tests occur to see if [bit-rot](https://en.wikipedia.org/wiki/Software_rot) occured. If you however find a problem, please create an issue, I'll get on it as soon as possible. + Testing ------- @@ -124,20 +135,10 @@ pip install molecule molecule test ``` -To test on Amazon EC2, configure [~/.aws/credentials](https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html) and `export AWS_REGION=eu-central-1` before running `molecule test --scenario-name ec2`. +To test on Amazon EC2, configure [~/.aws/credentials](https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html) and set a region using `export AWS_REGION=eu-central-1` before running `molecule test --scenario-name ec2`. There are many specific scenarios available, please have a look in the `molecule/` directory. -Run the [ansible-galaxy](https://github.com/ansible/galaxy-lint-rules) and [my](https://github.com/robertdebock/ansible-lint-rules) lint rules if you want your change to be merges: - -```shell -git clone https://github.com/ansible/ansible-lint.git /tmp/ansible-lint -ansible-lint -r /tmp/ansible-lint/lib/ansiblelint/rules . - -git clone https://github.com/robertdebock/ansible-lint /tmp/my-ansible-lint -ansible-lint -r /tmp/my-ansible-lint/rules . -``` - License ------- @@ -147,4 +148,4 @@ Apache-2.0 Author Information ------------------ -Robert de Bock +[Robert de Bock](https://robertdebock.nl/) diff --git a/roles/python_pip/SECURITY.md b/roles/python_pip/SECURITY.md new file mode 100644 index 0000000..6589dc5 --- /dev/null +++ b/roles/python_pip/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-python_pip/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/python_pip/[Command Line] b/roles/python_pip/[Command Line] deleted file mode 100644 index 994f19b..0000000 --- a/roles/python_pip/[Command Line] +++ /dev/null @@ -1,2 +0,0 @@ -w - diff --git a/roles/python_pip/defaults/main.yml b/roles/python_pip/defaults/main.yml index e8d2d7f..7833736 100644 --- a/roles/python_pip/defaults/main.yml +++ b/roles/python_pip/defaults/main.yml @@ -2,10 +2,13 @@ # defaults file for python_pip # The version of pip to update to. -python_pip_version: 19.0.3 +python_pip_version: 19.2.3 # The version of setuptools to update to. -python_pip_setuptools_version: 40.9.0 +python_pip_setuptools_version: 41.2.0 # By default no modules should be installed. python_pip_modules: [] + +# Connect to a (pypi) proxy by setting this variable. +# python_pip_proxy: "https://user:password@proxy:8443/artifactory/pypi/pypi-virtual/simple" diff --git a/roles/python_pip/meta/.galaxy_install_info b/roles/python_pip/meta/.galaxy_install_info index a26366f..d2d0548 100644 --- a/roles/python_pip/meta/.galaxy_install_info +++ b/roles/python_pip/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:24 2019', version: 2.0.3} +{install_date: 'Tue Sep 17 04:21:51 2019', version: 2.1.0} diff --git a/roles/python_pip/meta/version.yml b/roles/python_pip/meta/version.yml new file mode 100644 index 0000000..b4a6d37 --- /dev/null +++ b/roles/python_pip/meta/version.yml @@ -0,0 +1,8 @@ +--- +project_name: PyPi +reference: "https://github.com/robertdebock/ansible-role-python_pip/blob/master/defaults/main.yml" +versions: + - name: pip + url: "https://pypi.org/project/pip/" + - name: setuptools + url: "https://pypi.org/project/setuptools/" diff --git a/roles/python_pip/molecule/alpine-edge/molecule.yml b/roles/python_pip/molecule/alpine-edge/molecule.yml index 2d593ec..d514bc9 100644 --- a/roles/python_pip/molecule/alpine-edge/molecule.yml +++ b/roles/python_pip/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/python_pip/molecule/alpine-latest/molecule.yml b/roles/python_pip/molecule/alpine-latest/molecule.yml index 63b3d58..3170774 100644 --- a/roles/python_pip/molecule/alpine-latest/molecule.yml +++ b/roles/python_pip/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/python_pip/molecule/archlinux/molecule.yml b/roles/python_pip/molecule/archlinux/molecule.yml index b41fe6c..a4d9986 100644 --- a/roles/python_pip/molecule/archlinux/molecule.yml +++ b/roles/python_pip/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/python_pip/molecule/centos-6/molecule.yml b/roles/python_pip/molecule/centos-6/molecule.yml index 5691765..8fba79e 100644 --- a/roles/python_pip/molecule/centos-6/molecule.yml +++ b/roles/python_pip/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/python_pip/molecule/centos-latest/molecule.yml b/roles/python_pip/molecule/centos-latest/molecule.yml index 7039cdb..27dbed3 100644 --- a/roles/python_pip/molecule/centos-latest/molecule.yml +++ b/roles/python_pip/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/python_pip/molecule/debian-stable/molecule.yml b/roles/python_pip/molecule/debian-stable/molecule.yml index 4634b71..d40b848 100644 --- a/roles/python_pip/molecule/debian-stable/molecule.yml +++ b/roles/python_pip/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/python_pip/molecule/debian-unstable/molecule.yml b/roles/python_pip/molecule/debian-unstable/molecule.yml index 7170508..96712bb 100644 --- a/roles/python_pip/molecule/debian-unstable/molecule.yml +++ b/roles/python_pip/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/python_pip/molecule/default/molecule.yml b/roles/python_pip/molecule/default/molecule.yml index 56980bd..3c3bec9 100644 --- a/roles/python_pip/molecule/default/molecule.yml +++ b/roles/python_pip/molecule/default/molecule.yml @@ -25,9 +25,6 @@ platforms: - name: python_pip-centos-latest image: centos:latest pre_build_image: yes - - name: python_pip-debian-latest - image: debian:latest - pre_build_image: yes - name: python_pip-debian-stable image: debian:stable pre_build_image: yes @@ -41,7 +38,7 @@ platforms: image: fedora:rawhide pre_build_image: yes - name: python_pip-opensuse-leap - image: opensuse:leap + image: opensuse/leap pre_build_image: yes - name: python_pip-ubuntu-latest image: ubuntu:latest @@ -59,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: python_pip-fedora-latest: diff --git a/roles/python_pip/molecule/ec2/molecule.yml b/roles/python_pip/molecule/ec2/molecule.yml index 8ed84ce..ee138fb 100644 --- a/roles/python_pip/molecule/ec2/molecule.yml +++ b/roles/python_pip/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: python_pip-ubuntu-18.04: diff --git a/roles/python_pip/molecule/fedora-latest/molecule.yml b/roles/python_pip/molecule/fedora-latest/molecule.yml index 7c6cd32..c3a4fcc 100644 --- a/roles/python_pip/molecule/fedora-latest/molecule.yml +++ b/roles/python_pip/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/python_pip/molecule/fedora-rawhide/molecule.yml b/roles/python_pip/molecule/fedora-rawhide/molecule.yml index a26fb20..f4fb114 100644 --- a/roles/python_pip/molecule/fedora-rawhide/molecule.yml +++ b/roles/python_pip/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/python_pip/molecule/opensuse-leap/molecule.yml b/roles/python_pip/molecule/opensuse-leap/molecule.yml index 23a1f96..9a13524 100644 --- a/roles/python_pip/molecule/opensuse-leap/molecule.yml +++ b/roles/python_pip/molecule/opensuse-leap/molecule.yml @@ -9,7 +9,7 @@ driver: name: docker platforms: - name: python_pip-opensuse-leap - image: opensuse:leap + image: opensuse/leap pre_build_image: yes provisioner: name: ansible @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/python_pip/molecule/resources/prepare.yml b/roles/python_pip/molecule/resources/prepare.yml index 1b2b3d3..99c05e0 100644 --- a/roles/python_pip/molecule/resources/prepare.yml +++ b/roles/python_pip/molecule/resources/prepare.yml @@ -3,7 +3,6 @@ hosts: all gather_facts: no become: yes - serial: 30% roles: - robertdebock.bootstrap diff --git a/roles/python_pip/molecule/ubuntu-devel/molecule.yml b/roles/python_pip/molecule/ubuntu-devel/molecule.yml index 8951753..c0116bf 100644 --- a/roles/python_pip/molecule/ubuntu-devel/molecule.yml +++ b/roles/python_pip/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/python_pip/molecule/ubuntu-latest/molecule.yml b/roles/python_pip/molecule/ubuntu-latest/molecule.yml index 6d1ccce..c39f5bc 100644 --- a/roles/python_pip/molecule/ubuntu-latest/molecule.yml +++ b/roles/python_pip/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/python_pip/molecule/ubuntu-rolling/molecule.yml b/roles/python_pip/molecule/ubuntu-rolling/molecule.yml index 96c9cd9..84d27ca 100644 --- a/roles/python_pip/molecule/ubuntu-rolling/molecule.yml +++ b/roles/python_pip/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/python_pip/molecule/vagrant/molecule.yml b/roles/python_pip/molecule/vagrant/molecule.yml index 5eec12e..4247a001 100644 --- a/roles/python_pip/molecule/vagrant/molecule.yml +++ b/roles/python_pip/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: python_pip-fedora: diff --git a/roles/python_pip/tasks/main.yml b/roles/python_pip/tasks/main.yml index e891946..9780ba9 100644 --- a/roles/python_pip/tasks/main.yml +++ b/roles/python_pip/tasks/main.yml @@ -26,6 +26,15 @@ until: update_setuptools is succeeded retries: 3 +- name: Configure pip proxy + ini_file: + path: /etc/pip.conf + section: global + option: index-url + value: "{{ python_pip_proxy }}" + when: + - python_pip_proxy is defined + - name: install requested modules pip: name: "{{ item.name }}" diff --git a/roles/python_pip/vars/main.yml b/roles/python_pip/vars/main.yml index 87c3570..a18230d 100644 --- a/roles/python_pip/vars/main.yml +++ b/roles/python_pip/vars/main.yml @@ -6,5 +6,7 @@ _python_pip_packages: Alpine: - py-pip - python2-dev + Ubuntu: + - python-pip python_pip_packages: "{{ _python_pip_packages[ansible_distribution] | default(_python_pip_packages['default']) }}" diff --git a/roles/reboot/.travis.yml b/roles/reboot/.travis.yml index 72a9128..5e62789 100644 --- a/roles/reboot/.travis.yml +++ b/roles/reboot/.travis.yml @@ -10,7 +10,7 @@ env: - version=">=2.7,<2.8" distro="alpine-edge" - version="" distro="alpine-edge" - version="devel" distro="alpine-edge" - - version=">=2.7,<2.8" distro="archlinux" + - version=">=2.7,<2.8" distro="archlinux" expectation="fail" - version="" distro="archlinux" - version="devel" distro="archlinux" - version=">=2.7,<2.8" distro="centos-6" diff --git a/roles/reboot/CONTRIBUTING.md b/roles/reboot/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/reboot/CONTRIBUTING.md +++ b/roles/reboot/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/reboot/README.md b/roles/reboot/README.md index 83c8821..cea3f1f 100644 --- a/roles/reboot/README.md +++ b/roles/reboot/README.md @@ -89,7 +89,7 @@ This role has been tested against the following distributions and Ansible versio |------------|-----------|-----------|-------------| |alpine-edge*|yes|yes|yes*| |alpine-latest|yes|yes|yes*| -|archlinux|yes|yes|yes*| +|archlinux|no|yes|yes*| |centos-6|yes|yes|yes*| |centos-latest|yes|yes|yes*| |debian-stable|yes|yes|yes*| @@ -103,6 +103,17 @@ This role has been tested against the following distributions and Ansible versio A single star means the build may fail, it's marked as an experimental build. +Exceptions +---------- + +Some variarations of the build matrix do not work. These are the variations and reasons why the build won't work: + +| variation | reason | +|---------------------------|------------------------| +| Archlinux & Ansible 2.7 | New-style module did not handle its own exit | + + + Testing ------- diff --git a/roles/reboot/SECURITY.md b/roles/reboot/SECURITY.md new file mode 100644 index 0000000..6293767 --- /dev/null +++ b/roles/reboot/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-reboot/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/reboot/meta/.galaxy_install_info b/roles/reboot/meta/.galaxy_install_info index 6dca7b8..41fca9d 100644 --- a/roles/reboot/meta/.galaxy_install_info +++ b/roles/reboot/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:28 2019', version: 2.0.7} +{install_date: 'Tue Sep 17 04:21:55 2019', version: 2.1.2} diff --git a/roles/reboot/meta/exception.yml b/roles/reboot/meta/exception.yml new file mode 100644 index 0000000..6da44d3 --- /dev/null +++ b/roles/reboot/meta/exception.yml @@ -0,0 +1,4 @@ +--- +exceptions: + - variation: Archlinux & Ansible 2.7 + reason: New-style module did not handle its own exit diff --git a/roles/reboot/molecule/alpine-edge/molecule.yml b/roles/reboot/molecule/alpine-edge/molecule.yml index 4ec12ba..e125f9b 100644 --- a/roles/reboot/molecule/alpine-edge/molecule.yml +++ b/roles/reboot/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/reboot/molecule/alpine-latest/molecule.yml b/roles/reboot/molecule/alpine-latest/molecule.yml index dad487d..dfdccb8 100644 --- a/roles/reboot/molecule/alpine-latest/molecule.yml +++ b/roles/reboot/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/reboot/molecule/archlinux/molecule.yml b/roles/reboot/molecule/archlinux/molecule.yml index bda689d..0e0d4ed 100644 --- a/roles/reboot/molecule/archlinux/molecule.yml +++ b/roles/reboot/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/reboot/molecule/centos-6/molecule.yml b/roles/reboot/molecule/centos-6/molecule.yml index 3f30d63..b9818d7 100644 --- a/roles/reboot/molecule/centos-6/molecule.yml +++ b/roles/reboot/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/reboot/molecule/centos-latest/molecule.yml b/roles/reboot/molecule/centos-latest/molecule.yml index 1c3b88c..dcd7671 100644 --- a/roles/reboot/molecule/centos-latest/molecule.yml +++ b/roles/reboot/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/reboot/molecule/debian-stable/molecule.yml b/roles/reboot/molecule/debian-stable/molecule.yml index e8b658a..de1f5cf 100644 --- a/roles/reboot/molecule/debian-stable/molecule.yml +++ b/roles/reboot/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/reboot/molecule/debian-unstable/molecule.yml b/roles/reboot/molecule/debian-unstable/molecule.yml index 2157c85..8c4d314 100644 --- a/roles/reboot/molecule/debian-unstable/molecule.yml +++ b/roles/reboot/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/reboot/molecule/default/molecule.yml b/roles/reboot/molecule/default/molecule.yml index e92bc01..e9a1a3e 100644 --- a/roles/reboot/molecule/default/molecule.yml +++ b/roles/reboot/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: reboot-fedora-latest: diff --git a/roles/reboot/molecule/ec2/molecule.yml b/roles/reboot/molecule/ec2/molecule.yml index 4f4e53a..89c717b 100644 --- a/roles/reboot/molecule/ec2/molecule.yml +++ b/roles/reboot/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: reboot-ubuntu-18.04: diff --git a/roles/reboot/molecule/fedora-latest/molecule.yml b/roles/reboot/molecule/fedora-latest/molecule.yml index 277a997..03239cc 100644 --- a/roles/reboot/molecule/fedora-latest/molecule.yml +++ b/roles/reboot/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/reboot/molecule/fedora-rawhide/molecule.yml b/roles/reboot/molecule/fedora-rawhide/molecule.yml index c26fb0e..2f9225f 100644 --- a/roles/reboot/molecule/fedora-rawhide/molecule.yml +++ b/roles/reboot/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/reboot/molecule/opensuse-leap/molecule.yml b/roles/reboot/molecule/opensuse-leap/molecule.yml index e2b60b1..46f8ed7 100644 --- a/roles/reboot/molecule/opensuse-leap/molecule.yml +++ b/roles/reboot/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/reboot/molecule/ubuntu-devel/molecule.yml b/roles/reboot/molecule/ubuntu-devel/molecule.yml index 49eb47d..e56e3ee 100644 --- a/roles/reboot/molecule/ubuntu-devel/molecule.yml +++ b/roles/reboot/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/reboot/molecule/ubuntu-latest/molecule.yml b/roles/reboot/molecule/ubuntu-latest/molecule.yml index 8152e23..387d353 100644 --- a/roles/reboot/molecule/ubuntu-latest/molecule.yml +++ b/roles/reboot/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/reboot/molecule/ubuntu-rolling/molecule.yml b/roles/reboot/molecule/ubuntu-rolling/molecule.yml index ca85d4c..3ecf893 100644 --- a/roles/reboot/molecule/ubuntu-rolling/molecule.yml +++ b/roles/reboot/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/reboot/molecule/vagrant/molecule.yml b/roles/reboot/molecule/vagrant/molecule.yml index 780fad0..8f9f8b7 100644 --- a/roles/reboot/molecule/vagrant/molecule.yml +++ b/roles/reboot/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: reboot-fedora: diff --git a/roles/reboot/tasks/main.yml b/roles/reboot/tasks/main.yml index 21c0032..217b0b9 100644 --- a/roles/reboot/tasks/main.yml +++ b/roles/reboot/tasks/main.yml @@ -1,7 +1,25 @@ --- # tasks file for reboot -- name: see if a reboot is required - command: needs-restarting -r +- name: install requirements + package: + name: "{{ reboot_requirements }}" + state: present + register: reboot_install_requirements + until: reboot_install_requirements is succeeded + retries: 3 + +- name: check for needs-restarting for rhel + stat: + path: /usr/bin/needs-restarting + register: reboot_check_for_needs_restarting_for_rhel + +- name: check for needs-restarting for debian + stat: + path: /var/run/needs-restarting + register: reboot_check_for_needs_restarting_for_debian + +- name: see if a reboot is required for rhel + command: "{{ reboot_needs_restarting_command }}" register: needsrestarting changed_when: - needsrestarting.rc != 0 @@ -9,15 +27,21 @@ - needsrestarting.rc != 1 - needsrestarting.rc != 0 when: - - ansible_pkg_mgr == "yum" - - ( ansible_distribution == "CentOS" or - ansible_distribution == "EL" and - ansible_distribution_major_version == "7" ) - ansible_virtualization_type != "docker" - - not reboot_always + - reboot_check_for_needs_restarting_for_rhel.stat.exists + - not reboot_always | bool -- name: flush handlers - meta: flush_handlers +- name: show reboot_check_for_needs_restarting_for_rhel.stat.exists + debug: + var: reboot_check_for_needs_restarting_for_rhel.stat.exists + +- name: show needsrestarting.rc + debug: + var: needsrestarting.rc + +- name: show reboot_check_for_needs_restarting_for_debian.stat.exists + debug: + var: reboot_check_for_needs_restarting_for_debian.stat.exists - name: reboot the machine shell: "(sleep {{ reboot_delay }} && {{ reboot_command }} &)" @@ -26,14 +50,13 @@ ignore_errors: yes when: - ansible_virtualization_type != "docker" - - (needsrestarting.skipped is defined and needsrestarting.skipped ) - or needsrestarting.changed + - (reboot_check_for_needs_restarting_for_rhel.stat.exists and + needsrestarting.rc == 1) or + reboot_check_for_needs_restarting_for_debian.stat.exists notify: - 1 wait for the start of reboot - 2 wait for the machine to be up - 3 gather facts after reboot - tags: - - skip_ansible_lint - name: flush handlers meta: flush_handlers diff --git a/roles/reboot/vars/main.yml b/roles/reboot/vars/main.yml index f607d0c..5a51e8d 100644 --- a/roles/reboot/vars/main.yml +++ b/roles/reboot/vars/main.yml @@ -1,5 +1,18 @@ --- # vars file for reboot +_reboot_requirements: + default: [] + CentOS: yum-utils + Fedora: dnf-utils + +reboot_requirements: "{{ _reboot_requirements[ansible_distribution] | default(_reboot_requirements['default']) }}" + +_reboot_needs_restarting_command: + CentOS: needs-restarting -r + Fedora: needs-restarting + +reboot_needs_restarting_command: "{{ _reboot_needs_restarting_command[ansible_distribution] }}" + _reboot_command: default: shutdown -r now {{ reboot_message }} Alpine: reboot diff --git a/roles/requirements.yml b/roles/requirements.yml index cabb0af..b96d2ca 100644 --- a/roles/requirements.yml +++ b/roles/requirements.yml @@ -34,7 +34,7 @@ - src: robertdebock.ruby name: ruby - src: robertdebock.service - name: service + name: robertdebock.service - src: robertdebock.travis name: travis - src: robertdebock.update diff --git a/roles/service/.github/ISSUE_TEMPLATE/bug_report.md b/roles/robertdebock.reboot/.github/ISSUE_TEMPLATE/bug_report.md similarity index 100% rename from roles/service/.github/ISSUE_TEMPLATE/bug_report.md rename to roles/robertdebock.reboot/.github/ISSUE_TEMPLATE/bug_report.md diff --git a/roles/service/.github/ISSUE_TEMPLATE/feature_request.md b/roles/robertdebock.reboot/.github/ISSUE_TEMPLATE/feature_request.md similarity index 100% rename from roles/service/.github/ISSUE_TEMPLATE/feature_request.md rename to roles/robertdebock.reboot/.github/ISSUE_TEMPLATE/feature_request.md diff --git a/roles/robertdebock.reboot/.github/settings.yml b/roles/robertdebock.reboot/.github/settings.yml new file mode 100644 index 0000000..c090903 --- /dev/null +++ b/roles/robertdebock.reboot/.github/settings.yml @@ -0,0 +1,4 @@ +--- +repository: + description: The purpose of this role is to reboot your system. + homepage: https://robertdebock.nl/ diff --git a/roles/robertdebock.reboot/.gitignore b/roles/robertdebock.reboot/.gitignore new file mode 100644 index 0000000..10b26d1 --- /dev/null +++ b/roles/robertdebock.reboot/.gitignore @@ -0,0 +1,3 @@ +molecule/*/.molecule +*.log +*.swp diff --git a/roles/robertdebock.reboot/.travis.yml b/roles/robertdebock.reboot/.travis.yml new file mode 100644 index 0000000..5e62789 --- /dev/null +++ b/roles/robertdebock.reboot/.travis.yml @@ -0,0 +1,88 @@ +--- +sudo: required +language: python +services: docker + +env: + - version=">=2.7,<2.8" distro="alpine-latest" + - version="" distro="alpine-latest" + - version="devel" distro="alpine-latest" + - version=">=2.7,<2.8" distro="alpine-edge" + - version="" distro="alpine-edge" + - version="devel" distro="alpine-edge" + - version=">=2.7,<2.8" distro="archlinux" expectation="fail" + - version="" distro="archlinux" + - version="devel" distro="archlinux" + - version=">=2.7,<2.8" distro="centos-6" + - version="" distro="centos-6" + - version="devel" distro="centos-6" + - version=">=2.7,<2.8" distro="centos-latest" + - version="" distro="centos-latest" + - version="devel" distro="centos-latest" + - version=">=2.7,<2.8" distro="debian-stable" + - version="" distro="debian-stable" + - version="devel" distro="debian-stable" + - version=">=2.7,<2.8" distro="debian-unstable" + - version="" distro="debian-unstable" + - version="devel" distro="debian-unstable" + - version=">=2.7,<2.8" distro="fedora-latest" + - version="" distro="fedora-latest" + - version="devel" distro="fedora-latest" + - version=">=2.7,<2.8" distro="fedora-rawhide" + - version="" distro="fedora-rawhide" + - version="devel" distro="fedora-rawhide" + - version=">=2.7,<2.8" distro="opensuse-leap" + - version="" distro="opensuse-leap" + - version="devel" distro="opensuse-leap" + - version=">=2.7,<2.8" distro="ubuntu-rolling" + - version="" distro="ubuntu-rolling" + - version="devel" distro="ubuntu-rolling" + - version=">=2.7,<2.8" distro="ubuntu-latest" + - version="" distro="ubuntu-latest" + - version="devel" distro="ubuntu-latest" + - version=">=2.7,<2.8" distro="ubuntu-devel" + - version="" distro="ubuntu-devel" + - version="devel" distro="ubuntu-devel" + +matrix: + allow_failures: + - env: version=">=2.7,<2.8" distro="alpine-edge" + - env: version="" distro="alpine-edge" + - env: version="devel" distro="alpine-edge" + - env: version="devel" distro="alpine-latest" + - env: version="devel" distro="archlinux" + - env: version="devel" distro="centos-6" + - env: version="devel" distro="centos-latest" + - env: version="devel" distro="debian-stable" + - env: version=">=2.7,<2.8" distro="debian-unstable" + - env: version="" distro="debian-unstable" + - env: version="devel" distro="debian-unstable" + - env: version="devel" distro="fedora-latest" + - env: version=">=2.7,<2.8" distro="fedora-rawhide" + - env: version="" distro="fedora-rawhide" + - env: version="devel" distro="fedora-rawhide" + - env: version="devel" distro="opensuse-leap" + - env: version="devel" distro="ubuntu-rolling" + - env: version=">=2.7,<2.8" distro="ubuntu-devel" + - env: version="" distro="ubuntu-devel" + - env: version="devel" distro="ubuntu-devel" + - env: version="devel" distro="ubuntu-latest" + +cache: + - pip + +install: + - pip install --upgrade pip + - if [ "${version}" != "devel" ] ; then pip install ansible"${version}" ; fi + - if [ "${version}" = "devel" ] ; then pip install git+https://github.com/ansible/ansible.git@devel ; fi + - pip install molecule + - pip install docker + +script: + - if [ "${expectation}" = "fail" ] ; then ! molecule test --scenario-name "${distro}" ; else molecule test --scenario-name "${distro}" ; fi + +notifications: + webhooks: https://galaxy.ansible.com/api/v1/notifications/ + slack: + secure: "KeXA8wXxYX41jjXJAMEU3dBFf0jf6T/OuY62Zt6fCxmse+R4nC7P6TZGx7LKjaVCXKdRz3+giJz7Ef/7q23yTSFIoasiB0rzWiAg0S0E5o8ZFdJ0HdQQZknA7j21GcvK9Kj/zgxXUqFu6hhc+vgKRnPAMOjpyaoo74PwG4kHARFLAxb7fKdCxhkfBWvtdkgAUWzESWNeUHNsknFlbEP7PTk1akfsOaC3xUYjfA7kmZMH6w0eM+/FuTaoYdJ8EM3OcH+3j2q0IXuXVrJ0B1IyGvpJ1qVvDu9YSvkxbD6Qd9BCVRDBkCcTxsBpZX+Ks5DhaTOO71zsk1nZtBIFPAanXARygoyuMrAS4exfSrWT2TTxu0D01J9JZUlGmI/Uf7R9Kf7LAT1KfvZR/7VAK3X53i3pZHQqp8EOPr+FGpB9MPn62jfWF7gWYR8AfP4M1gaP7JYVxZqmSKE0LgqQNY/SmPcs37TU8jL6h1ojN0PPy8tRhGUhY3/tQq/19aF62WDTzH1j/OgcI5GrAZ2bR8EOQGvSfJX2uWnFhBQsISxaYo4Eiocw5z/QGU/JFBXOgipAGeS2PjiR3PYa3SkeftEOHnbp7rzakKd4zDCM/EGiIG4rPnFSwvVPBnnm64ut+PqpX8JI5uxdoJ8bjVIM/47hGNUnVFIG/ZQUXzI5vySqwyY=" + email: false diff --git a/roles/service/.yamllint b/roles/robertdebock.reboot/.yamllint similarity index 100% rename from roles/service/.yamllint rename to roles/robertdebock.reboot/.yamllint diff --git a/roles/service/CODE_OF_CONDUCT.md b/roles/robertdebock.reboot/CODE_OF_CONDUCT.md similarity index 100% rename from roles/service/CODE_OF_CONDUCT.md rename to roles/robertdebock.reboot/CODE_OF_CONDUCT.md diff --git a/roles/service/CONTRIBUTING.md b/roles/robertdebock.reboot/CONTRIBUTING.md similarity index 74% rename from roles/service/CONTRIBUTING.md rename to roles/robertdebock.reboot/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/service/CONTRIBUTING.md +++ b/roles/robertdebock.reboot/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/service/LICENSE b/roles/robertdebock.reboot/LICENSE similarity index 100% rename from roles/service/LICENSE rename to roles/robertdebock.reboot/LICENSE diff --git a/roles/service/PULL_REQUEST_TEMPLATE.md b/roles/robertdebock.reboot/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from roles/service/PULL_REQUEST_TEMPLATE.md rename to roles/robertdebock.reboot/PULL_REQUEST_TEMPLATE.md diff --git a/roles/robertdebock.reboot/README.md b/roles/robertdebock.reboot/README.md new file mode 100644 index 0000000..cea3f1f --- /dev/null +++ b/roles/robertdebock.reboot/README.md @@ -0,0 +1,143 @@ +reboot +========= + +Ansible logo +Build status + +The purpose of this role is to reboot your system. + +Example Playbook +---------------- + +This example is taken from `molecule/resources/playbook.yml`: +```yaml +--- +- name: Converge + hosts: all + become: yes + gather_facts: yes + + roles: + - robertdebock.reboot +``` + +The machine you are running this on, may need to be prepared. +```yaml +--- +- name: Prepare + hosts: all + gather_facts: no + become: yes + + roles: + - robertdebock.bootstrap +``` + +Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles. + +Role Variables +-------------- + +These variables are set in `defaults/main.yml`: +```yaml +--- +# defaults file for reboot + +# Some operating systems can determine if a reboot is required. This +# parameter can be set to always reboot. +reboot_always: no + +# How long to wait before sending a reboot. +reboot_delay: 4 + +# Number of seconds to wait before checking if the machine is up. +reboot_up_delay: 8 + +# You can specify a message for rebooting, easier for auditing. +reboot_message: "Ansible role robertdebock.reboot initiated a reboot." +``` + +Requirements +------------ + +- Access to a repository containing packages, likely on the internet. +- A recent version of Ansible. (Tests run on the current, previous and next release of Ansible.) + +The following roles can be installed to ensure all requirements are met, using `ansible-galaxy install -r requirements.yml`: + +```yaml +--- +- robertdebock.bootstrap + +``` + +Context +------- + +This role is a part of many compatible roles. Have a look at [the documentation of these roles](https://robertdebock.nl/) for further information. + +Here is an overview of related roles: +![dependencies](https://raw.githubusercontent.com/robertdebock/drawings/artifacts/reboot.png "Dependency") + + +Compatibility +------------- + +This role has been tested against the following distributions and Ansible version: + +|distribution|ansible 2.7|ansible 2.8|ansible devel| +|------------|-----------|-----------|-------------| +|alpine-edge*|yes|yes|yes*| +|alpine-latest|yes|yes|yes*| +|archlinux|no|yes|yes*| +|centos-6|yes|yes|yes*| +|centos-latest|yes|yes|yes*| +|debian-stable|yes|yes|yes*| +|debian-unstable*|yes|yes|yes*| +|fedora-latest|yes|yes|yes*| +|fedora-rawhide*|yes|yes|yes*| +|opensuse-leap|yes|yes|yes*| +|ubuntu-devel*|yes|yes|yes*| +|ubuntu-latest|yes|yes|yes*| +|ubuntu-rolling|yes|yes|yes*| + +A single star means the build may fail, it's marked as an experimental build. + +Exceptions +---------- + +Some variarations of the build matrix do not work. These are the variations and reasons why the build won't work: + +| variation | reason | +|---------------------------|------------------------| +| Archlinux & Ansible 2.7 | New-style module did not handle its own exit | + + + +Testing +------- + +[Unit tests](https://travis-ci.org/robertdebock/ansible-role-reboot) are done on every commit and periodically. + +If you find issues, please register them in [GitHub](https://github.com/robertdebock/ansible-role-reboot/issues) + +To test this role locally please use [Molecule](https://github.com/ansible/molecule): +``` +pip install molecule +molecule test +``` + +To test on Amazon EC2, configure [~/.aws/credentials](https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html) and set a region using `export AWS_REGION=eu-central-1` before running `molecule test --scenario-name ec2`. + +There are many specific scenarios available, please have a look in the `molecule/` directory. + +License +------- + +Apache-2.0 + + +Author Information +------------------ + +[Robert de Bock](https://robertdebock.nl/) diff --git a/roles/robertdebock.reboot/SECURITY.md b/roles/robertdebock.reboot/SECURITY.md new file mode 100644 index 0000000..6293767 --- /dev/null +++ b/roles/robertdebock.reboot/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-reboot/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/robertdebock.reboot/defaults/main.yml b/roles/robertdebock.reboot/defaults/main.yml new file mode 100644 index 0000000..5e045f5 --- /dev/null +++ b/roles/robertdebock.reboot/defaults/main.yml @@ -0,0 +1,15 @@ +--- +# defaults file for reboot + +# Some operating systems can determine if a reboot is required. This +# parameter can be set to always reboot. +reboot_always: no + +# How long to wait before sending a reboot. +reboot_delay: 4 + +# Number of seconds to wait before checking if the machine is up. +reboot_up_delay: 8 + +# You can specify a message for rebooting, easier for auditing. +reboot_message: "Ansible role robertdebock.reboot initiated a reboot." diff --git a/roles/robertdebock.reboot/handlers/main.yml b/roles/robertdebock.reboot/handlers/main.yml new file mode 100644 index 0000000..294f982 --- /dev/null +++ b/roles/robertdebock.reboot/handlers/main.yml @@ -0,0 +1,12 @@ +--- +# handlers file for reboot +- name: 1 wait for the start of reboot + pause: + seconds: "{{ reboot_delay }}" + +- name: 2 wait for the machine to be up + wait_for_connection: + delay: "{{ reboot_up_delay }}" + +- name: 3 gather facts after reboot + setup: diff --git a/roles/robertdebock.reboot/meta/.galaxy_install_info b/roles/robertdebock.reboot/meta/.galaxy_install_info new file mode 100644 index 0000000..f80f9c5 --- /dev/null +++ b/roles/robertdebock.reboot/meta/.galaxy_install_info @@ -0,0 +1 @@ +{install_date: 'Tue Sep 17 04:22:14 2019', version: 2.1.2} diff --git a/roles/robertdebock.reboot/meta/exception.yml b/roles/robertdebock.reboot/meta/exception.yml new file mode 100644 index 0000000..6da44d3 --- /dev/null +++ b/roles/robertdebock.reboot/meta/exception.yml @@ -0,0 +1,4 @@ +--- +exceptions: + - variation: Archlinux & Ansible 2.7 + reason: New-style module did not handle its own exit diff --git a/roles/robertdebock.reboot/meta/main.yml b/roles/robertdebock.reboot/meta/main.yml new file mode 100644 index 0000000..3d39caa --- /dev/null +++ b/roles/robertdebock.reboot/meta/main.yml @@ -0,0 +1,47 @@ +--- +galaxy_info: + author: Robert de Bock + role_name: reboot + description: The purpose of this role is to reboot your system. + license: Apache-2.0 + company: none + min_ansible_version: 2.6 + + platforms: + - name: Alpine + versions: + - all + - name: ArchLinux + version: + - all + - name: Debian + versions: + - all + - name: EL + version: + - 6 + - 7 + - name: Fedora + versions: + - all + - name: OpenSUSE + versions: + - all + - name: Ubuntu + versions: + - artful + - bionic + + galaxy_tags: + - reboot + - alpine + - archlinux + - centos + - debian + - el + - fedora + - opensuse + - rhel + - ubuntu + +dependencies: [] diff --git a/roles/ara/molecule/debian-latest/molecule.yml b/roles/robertdebock.reboot/molecule/alpine-edge/molecule.yml similarity index 60% rename from roles/ara/molecule/debian-latest/molecule.yml rename to roles/robertdebock.reboot/molecule/alpine-edge/molecule.yml index de0eab2..e125f9b 100644 --- a/roles/ara/molecule/debian-latest/molecule.yml +++ b/roles/robertdebock.reboot/molecule/alpine-edge/molecule.yml @@ -8,9 +8,10 @@ lint: driver: name: docker platforms: - - name: ara-debian-latest - image: debian:latest + - name: reboot-alpine-edge + image: alpine:edge pre_build_image: yes + command: sh -c "while true ; do sleep 1 ; done" provisioner: name: ansible playbooks: @@ -18,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: - name: debian-latest + name: alpine-edge diff --git a/roles/robertdebock.reboot/molecule/alpine-latest/molecule.yml b/roles/robertdebock.reboot/molecule/alpine-latest/molecule.yml new file mode 100644 index 0000000..dfdccb8 --- /dev/null +++ b/roles/robertdebock.reboot/molecule/alpine-latest/molecule.yml @@ -0,0 +1,27 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-alpine-latest + image: alpine:latest + pre_build_image: yes + command: sh -c "while true ; do sleep 1 ; done" +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml +scenario: + name: alpine-latest diff --git a/roles/robertdebock.reboot/molecule/archlinux/molecule.yml b/roles/robertdebock.reboot/molecule/archlinux/molecule.yml new file mode 100644 index 0000000..0e0d4ed --- /dev/null +++ b/roles/robertdebock.reboot/molecule/archlinux/molecule.yml @@ -0,0 +1,26 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-archlinux + image: archlinux/base + pre_build_image: yes +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml +scenario: + name: archlinux diff --git a/roles/python_pip/molecule/debian-latest/molecule.yml b/roles/robertdebock.reboot/molecule/centos-6/molecule.yml similarity index 68% rename from roles/python_pip/molecule/debian-latest/molecule.yml rename to roles/robertdebock.reboot/molecule/centos-6/molecule.yml index eae58c0..b9818d7 100644 --- a/roles/python_pip/molecule/debian-latest/molecule.yml +++ b/roles/robertdebock.reboot/molecule/centos-6/molecule.yml @@ -8,8 +8,8 @@ lint: driver: name: docker platforms: - - name: python_pip-debian-latest - image: debian:latest + - name: reboot-centos-6 + image: centos:6 pre_build_image: yes provisioner: name: ansible @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: - name: debian-latest + name: centos-6 diff --git a/roles/robertdebock.reboot/molecule/centos-latest/molecule.yml b/roles/robertdebock.reboot/molecule/centos-latest/molecule.yml new file mode 100644 index 0000000..dcd7671 --- /dev/null +++ b/roles/robertdebock.reboot/molecule/centos-latest/molecule.yml @@ -0,0 +1,26 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-centos-latest + image: centos:latest + pre_build_image: yes +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml +scenario: + name: centos-latest diff --git a/roles/robertdebock.reboot/molecule/debian-stable/molecule.yml b/roles/robertdebock.reboot/molecule/debian-stable/molecule.yml new file mode 100644 index 0000000..de1f5cf --- /dev/null +++ b/roles/robertdebock.reboot/molecule/debian-stable/molecule.yml @@ -0,0 +1,26 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-debian-stable + image: debian:stable + pre_build_image: yes +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml +scenario: + name: debian-stable diff --git a/roles/robertdebock.reboot/molecule/debian-unstable/molecule.yml b/roles/robertdebock.reboot/molecule/debian-unstable/molecule.yml new file mode 100644 index 0000000..8c4d314 --- /dev/null +++ b/roles/robertdebock.reboot/molecule/debian-unstable/molecule.yml @@ -0,0 +1,26 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-debian-unstable + image: debian:unstable + pre_build_image: yes +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml +scenario: + name: debian-unstable diff --git a/roles/robertdebock.reboot/molecule/default/molecule.yml b/roles/robertdebock.reboot/molecule/default/molecule.yml new file mode 100644 index 0000000..e9a1a3e --- /dev/null +++ b/roles/robertdebock.reboot/molecule/default/molecule.yml @@ -0,0 +1,70 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-alpine-edge + image: alpine:edge + pre_build_image: yes + command: sh -c "while true ; do sleep 1 ; done" + - name: reboot-alpine-latest + image: alpine:latest + pre_build_image: yes + command: sh -c "while true ; do sleep 1 ; done" + - name: reboot-archlinux + image: archlinux/base + pre_build_image: yes + - name: reboot-centos-6 + image: centos:6 + pre_build_image: yes + - name: reboot-centos-latest + image: centos:latest + pre_build_image: yes + - name: reboot-debian-stable + image: debian:stable + pre_build_image: yes + - name: reboot-debian-unstable + image: debian:unstable + pre_build_image: yes + - name: reboot-fedora-latest + image: fedora:latest + pre_build_image: yes + - name: reboot-fedora-rawhide + image: fedora:rawhide + pre_build_image: yes + - name: reboot-opensuse-leap + image: opensuse/leap + pre_build_image: yes + - name: reboot-ubuntu-latest + image: ubuntu:latest + pre_build_image: yes + - name: reboot-ubuntu-rolling + image: ubuntu:rolling + pre_build_image: yes + - name: reboot-ubuntu-devel + image: ubuntu:devel + pre_build_image: yes +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml + inventory: + host_vars: + reboot-fedora-latest: + ansible_python_interpreter: /usr/bin/python3 + reboot-fedora-rawhide: + ansible_python_interpreter: /usr/bin/python3 +scenario: + name: default diff --git a/roles/service/molecule/ec2/README.md b/roles/robertdebock.reboot/molecule/ec2/README.md similarity index 100% rename from roles/service/molecule/ec2/README.md rename to roles/robertdebock.reboot/molecule/ec2/README.md diff --git a/roles/service/molecule/ec2/create.yml b/roles/robertdebock.reboot/molecule/ec2/create.yml similarity index 100% rename from roles/service/molecule/ec2/create.yml rename to roles/robertdebock.reboot/molecule/ec2/create.yml diff --git a/roles/service/molecule/ec2/destroy.yml b/roles/robertdebock.reboot/molecule/ec2/destroy.yml similarity index 100% rename from roles/service/molecule/ec2/destroy.yml rename to roles/robertdebock.reboot/molecule/ec2/destroy.yml diff --git a/roles/robertdebock.reboot/molecule/ec2/molecule.yml b/roles/robertdebock.reboot/molecule/ec2/molecule.yml new file mode 100644 index 0000000..89c717b --- /dev/null +++ b/roles/robertdebock.reboot/molecule/ec2/molecule.yml @@ -0,0 +1,81 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: ec2 +platforms: + - name: reboot-rhel-7 + image: ami-c86c3f23 + instance_type: t2.micro + vpc_subnet_id: subnet-0e688067 + - name: reboot-sles-15 + image: ami-0a1886cf45f944eb1 + instance_type: t2.micro + vpc_subnet_id: subnet-0e688067 + - name: reboot-ubuntu-18.04 + image: ami-0bdf93799014acdc4 + instance_type: t2.micro + vpc_subnet_id: subnet-0e688067 + - name: reboot-amazon-linux-2 + image: ami-02ea8f348fa28c108 + instance_type: t2.micro + vpc_subnet_id: subnet-0e688067 + - name: reboot-centos-7 + image: ami-9a183671 + instance_type: t2.micro + vpc_subnet_id: subnet-0e688067 + - name: reboot-fedora-29 + image: ami-0f904cfaa69a1c64c + instance_type: t2.micro + vpc_subnet_id: subnet-0e688067 +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml + inventory: + host_vars: + reboot-ubuntu-18.04: + ansible_user: ubuntu + reboot-centos-7: + ansible_user: centos + reboot-fedora-29: + ansible_user: fedora +scenario: + name: ec2 + create_sequence: + - create + check_sequence: + - destroy + - dependency + - create + - converge + - check + - destroy + converge_sequence: + - dependency + - create + - converge + destroy_sequence: + - destroy + test_sequence: + - lint + - destroy + - dependency + - syntax + - create + - converge + - idempotence + - side_effect + - verify + - destroy diff --git a/roles/robertdebock.reboot/molecule/fedora-latest/molecule.yml b/roles/robertdebock.reboot/molecule/fedora-latest/molecule.yml new file mode 100644 index 0000000..03239cc --- /dev/null +++ b/roles/robertdebock.reboot/molecule/fedora-latest/molecule.yml @@ -0,0 +1,30 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-fedora-latest + image: fedora:latest + pre_build_image: yes +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml + inventory: + group_vars: + all: + ansible_python_interpreter: /usr/bin/python3 +scenario: + name: fedora-latest diff --git a/roles/robertdebock.reboot/molecule/fedora-rawhide/molecule.yml b/roles/robertdebock.reboot/molecule/fedora-rawhide/molecule.yml new file mode 100644 index 0000000..2f9225f --- /dev/null +++ b/roles/robertdebock.reboot/molecule/fedora-rawhide/molecule.yml @@ -0,0 +1,32 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-fedora-rawhide + image: fedora:rawhide + pre_build_image: yes + registry: + url: registry.fedoraproject.org +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml + inventory: + group_vars: + all: + ansible_python_interpreter: /usr/bin/python3 +scenario: + name: fedora-rawhide diff --git a/roles/robertdebock.reboot/molecule/opensuse-leap/molecule.yml b/roles/robertdebock.reboot/molecule/opensuse-leap/molecule.yml new file mode 100644 index 0000000..46f8ed7 --- /dev/null +++ b/roles/robertdebock.reboot/molecule/opensuse-leap/molecule.yml @@ -0,0 +1,26 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-opensuse-leap + image: opensuse/leap + pre_build_image: yes +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml +scenario: + name: opensuse-leap diff --git a/roles/robertdebock.reboot/molecule/resources/playbook.yml b/roles/robertdebock.reboot/molecule/resources/playbook.yml new file mode 100644 index 0000000..1a33108 --- /dev/null +++ b/roles/robertdebock.reboot/molecule/resources/playbook.yml @@ -0,0 +1,8 @@ +--- +- name: Converge + hosts: all + become: yes + gather_facts: yes + + roles: + - ansible-role-reboot diff --git a/roles/robertdebock.reboot/molecule/resources/prepare.yml b/roles/robertdebock.reboot/molecule/resources/prepare.yml new file mode 100644 index 0000000..1cda60c --- /dev/null +++ b/roles/robertdebock.reboot/molecule/resources/prepare.yml @@ -0,0 +1,8 @@ +--- +- name: Prepare + hosts: all + gather_facts: no + become: yes + + roles: + - robertdebock.bootstrap diff --git a/roles/robertdebock.reboot/molecule/ubuntu-devel/molecule.yml b/roles/robertdebock.reboot/molecule/ubuntu-devel/molecule.yml new file mode 100644 index 0000000..e56e3ee --- /dev/null +++ b/roles/robertdebock.reboot/molecule/ubuntu-devel/molecule.yml @@ -0,0 +1,26 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-ubuntu-devel + image: ubuntu:devel + pre_build_image: yes +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml +scenario: + name: ubuntu-devel diff --git a/roles/robertdebock.reboot/molecule/ubuntu-latest/molecule.yml b/roles/robertdebock.reboot/molecule/ubuntu-latest/molecule.yml new file mode 100644 index 0000000..387d353 --- /dev/null +++ b/roles/robertdebock.reboot/molecule/ubuntu-latest/molecule.yml @@ -0,0 +1,26 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-ubuntu-latest + image: ubuntu:latest + pre_build_image: yes +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml +scenario: + name: ubuntu-latest diff --git a/roles/robertdebock.reboot/molecule/ubuntu-rolling/molecule.yml b/roles/robertdebock.reboot/molecule/ubuntu-rolling/molecule.yml new file mode 100644 index 0000000..3ecf893 --- /dev/null +++ b/roles/robertdebock.reboot/molecule/ubuntu-rolling/molecule.yml @@ -0,0 +1,26 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: reboot-ubuntu-rolling + image: ubuntu:rolling + pre_build_image: yes +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml +scenario: + name: ubuntu-rolling diff --git a/roles/robertdebock.reboot/molecule/vagrant/INSTALL.rst b/roles/robertdebock.reboot/molecule/vagrant/INSTALL.rst new file mode 100644 index 0000000..ca81c7b --- /dev/null +++ b/roles/robertdebock.reboot/molecule/vagrant/INSTALL.rst @@ -0,0 +1,17 @@ +******* +Vagrant driver installation guide +******* + +Requirements +============ + +* Vagrant +* Virtualbox, Parallels, VMware Fusion, VMware Workstation or VMware Desktop +* python-vagrant + +Install +======= + +.. code-block:: bash + + $ sudo pip install python-vagrant diff --git a/roles/robertdebock.reboot/molecule/vagrant/molecule.yml b/roles/robertdebock.reboot/molecule/vagrant/molecule.yml new file mode 100644 index 0000000..8f9f8b7 --- /dev/null +++ b/roles/robertdebock.reboot/molecule/vagrant/molecule.yml @@ -0,0 +1,33 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: vagrant + provider: + name: virtualbox +platforms: + - name: reboot-debian + box: debian/stretch64 + - name: reboot-fedora + box: fedora/30-cloud-base +provisioner: + name: ansible + playbooks: + prepare: ../resources/prepare.yml + converge: ../resources/playbook.yml + lint: + name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml + inventory: + host_vars: + reboot-fedora: + ansible_python_interpreter: /usr/bin/python3 +scenario: + name: vagrant diff --git a/roles/service/requirements.yml b/roles/robertdebock.reboot/requirements.yml similarity index 100% rename from roles/service/requirements.yml rename to roles/robertdebock.reboot/requirements.yml diff --git a/roles/robertdebock.reboot/tasks/main.yml b/roles/robertdebock.reboot/tasks/main.yml new file mode 100644 index 0000000..217b0b9 --- /dev/null +++ b/roles/robertdebock.reboot/tasks/main.yml @@ -0,0 +1,62 @@ +--- +# tasks file for reboot +- name: install requirements + package: + name: "{{ reboot_requirements }}" + state: present + register: reboot_install_requirements + until: reboot_install_requirements is succeeded + retries: 3 + +- name: check for needs-restarting for rhel + stat: + path: /usr/bin/needs-restarting + register: reboot_check_for_needs_restarting_for_rhel + +- name: check for needs-restarting for debian + stat: + path: /var/run/needs-restarting + register: reboot_check_for_needs_restarting_for_debian + +- name: see if a reboot is required for rhel + command: "{{ reboot_needs_restarting_command }}" + register: needsrestarting + changed_when: + - needsrestarting.rc != 0 + failed_when: + - needsrestarting.rc != 1 + - needsrestarting.rc != 0 + when: + - ansible_virtualization_type != "docker" + - reboot_check_for_needs_restarting_for_rhel.stat.exists + - not reboot_always | bool + +- name: show reboot_check_for_needs_restarting_for_rhel.stat.exists + debug: + var: reboot_check_for_needs_restarting_for_rhel.stat.exists + +- name: show needsrestarting.rc + debug: + var: needsrestarting.rc + +- name: show reboot_check_for_needs_restarting_for_debian.stat.exists + debug: + var: reboot_check_for_needs_restarting_for_debian.stat.exists + +- name: reboot the machine + shell: "(sleep {{ reboot_delay }} && {{ reboot_command }} &)" + async: 1 + poll: 0 + ignore_errors: yes + when: + - ansible_virtualization_type != "docker" + - (reboot_check_for_needs_restarting_for_rhel.stat.exists and + needsrestarting.rc == 1) or + reboot_check_for_needs_restarting_for_debian.stat.exists + notify: + - 1 wait for the start of reboot + - 2 wait for the machine to be up + - 3 gather facts after reboot + +- name: flush handlers + meta: flush_handlers diff --git a/roles/robertdebock.reboot/vars/main.yml b/roles/robertdebock.reboot/vars/main.yml new file mode 100644 index 0000000..5a51e8d --- /dev/null +++ b/roles/robertdebock.reboot/vars/main.yml @@ -0,0 +1,20 @@ +--- +# vars file for reboot +_reboot_requirements: + default: [] + CentOS: yum-utils + Fedora: dnf-utils + +reboot_requirements: "{{ _reboot_requirements[ansible_distribution] | default(_reboot_requirements['default']) }}" + +_reboot_needs_restarting_command: + CentOS: needs-restarting -r + Fedora: needs-restarting + +reboot_needs_restarting_command: "{{ _reboot_needs_restarting_command[ansible_distribution] }}" + +_reboot_command: + default: shutdown -r now {{ reboot_message }} + Alpine: reboot + +reboot_command: "{{ _reboot_command[ansible_distribution] | default(_reboot_command['default']) }}" diff --git a/roles/robertdebock.service/.github/ISSUE_TEMPLATE/bug_report.md b/roles/robertdebock.service/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..bd1a0dc --- /dev/null +++ b/roles/robertdebock.service/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,27 @@ +--- +name: Bug report +about: Create a report to help us improve + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Run this role: +2. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Error** +Please show the resulting error. If applicable a snippet of the playbook including the role ran with `-vvv` + +**Environment** +- Control node OS: [e.g. Debian 9] +- Control node Ansible version: [e.g. 2.6.2] +- Managed node OS: [e.g. CentOS 7] + +**Additional context** +Add any other context about the problem here. diff --git a/roles/robertdebock.service/.github/ISSUE_TEMPLATE/feature_request.md b/roles/robertdebock.service/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..066b2d9 --- /dev/null +++ b/roles/robertdebock.service/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,17 @@ +--- +name: Feature request +about: Suggest an idea for this project + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/roles/service/.github/settings.yml b/roles/robertdebock.service/.github/settings.yml similarity index 100% rename from roles/service/.github/settings.yml rename to roles/robertdebock.service/.github/settings.yml diff --git a/roles/service/.gitignore b/roles/robertdebock.service/.gitignore similarity index 100% rename from roles/service/.gitignore rename to roles/robertdebock.service/.gitignore diff --git a/roles/service/.travis.yml b/roles/robertdebock.service/.travis.yml similarity index 100% rename from roles/service/.travis.yml rename to roles/robertdebock.service/.travis.yml diff --git a/roles/robertdebock.service/.yamllint b/roles/robertdebock.service/.yamllint new file mode 100644 index 0000000..ad0be76 --- /dev/null +++ b/roles/robertdebock.service/.yamllint @@ -0,0 +1,11 @@ +extends: default + +rules: + braces: + max-spaces-inside: 1 + level: error + brackets: + max-spaces-inside: 1 + level: error + line-length: disable + truthy: disable diff --git a/roles/robertdebock.service/CODE_OF_CONDUCT.md b/roles/robertdebock.service/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..0d97a6f --- /dev/null +++ b/roles/robertdebock.service/CODE_OF_CONDUCT.md @@ -0,0 +1,46 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behaviour that contributes to creating a positive environment include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behaviour by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable behaviour and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behaviour. + +Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviours that they deem inappropriate, threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behaviour may be reported by contacting the project team at robert@meinit.nl. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] + +[homepage]: http://contributor-covenant.org +[version]: http://contributor-covenant.org/version/1/4/ diff --git a/roles/robertdebock.service/CONTRIBUTING.md b/roles/robertdebock.service/CONTRIBUTING.md new file mode 100644 index 0000000..3209430 --- /dev/null +++ b/roles/robertdebock.service/CONTRIBUTING.md @@ -0,0 +1,10 @@ +# Please contribute + +You can really make a difference by: + +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) +- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. + +I'll try to help and take every contribution seriously. + +It's a great opportunity for me to learn how you use the role and also an opportunity to get into the habit of contributing to open source software. diff --git a/roles/robertdebock.service/LICENSE b/roles/robertdebock.service/LICENSE new file mode 100644 index 0000000..744118c --- /dev/null +++ b/roles/robertdebock.service/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Robert de Bock (robert@meinit.nl) + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/roles/robertdebock.service/PULL_REQUEST_TEMPLATE.md b/roles/robertdebock.service/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..b1578c0 --- /dev/null +++ b/roles/robertdebock.service/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,11 @@ +--- +name: Pull request +about: Describe the proposed change + +--- + +**Describe the change** +A clear and concise description of what the pull request is. + +**Testing** +In case a feature was added, how were tests performed? diff --git a/roles/service/README.md b/roles/robertdebock.service/README.md similarity index 100% rename from roles/service/README.md rename to roles/robertdebock.service/README.md diff --git a/roles/robertdebock.service/SECURITY.md b/roles/robertdebock.service/SECURITY.md new file mode 100644 index 0000000..8f2f545 --- /dev/null +++ b/roles/robertdebock.service/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-service/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/service/defaults/main.yml b/roles/robertdebock.service/defaults/main.yml similarity index 100% rename from roles/service/defaults/main.yml rename to roles/robertdebock.service/defaults/main.yml diff --git a/roles/service/handlers/main.yml b/roles/robertdebock.service/handlers/main.yml similarity index 100% rename from roles/service/handlers/main.yml rename to roles/robertdebock.service/handlers/main.yml diff --git a/roles/robertdebock.service/meta/.galaxy_install_info b/roles/robertdebock.service/meta/.galaxy_install_info new file mode 100644 index 0000000..cc71be2 --- /dev/null +++ b/roles/robertdebock.service/meta/.galaxy_install_info @@ -0,0 +1 @@ +{install_date: 'Tue Sep 17 04:22:00 2019', version: 2.0.8} diff --git a/roles/service/meta/main.yml b/roles/robertdebock.service/meta/main.yml similarity index 100% rename from roles/service/meta/main.yml rename to roles/robertdebock.service/meta/main.yml diff --git a/roles/service/molecule/alpine-edge/molecule.yml b/roles/robertdebock.service/molecule/alpine-edge/molecule.yml similarity index 84% rename from roles/service/molecule/alpine-edge/molecule.yml rename to roles/robertdebock.service/molecule/alpine-edge/molecule.yml index 911a523..2899539 100644 --- a/roles/service/molecule/alpine-edge/molecule.yml +++ b/roles/robertdebock.service/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/service/molecule/alpine-latest/molecule.yml b/roles/robertdebock.service/molecule/alpine-latest/molecule.yml similarity index 84% rename from roles/service/molecule/alpine-latest/molecule.yml rename to roles/robertdebock.service/molecule/alpine-latest/molecule.yml index 3f7f8f3..f703e56 100644 --- a/roles/service/molecule/alpine-latest/molecule.yml +++ b/roles/robertdebock.service/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/service/molecule/archlinux/molecule.yml b/roles/robertdebock.service/molecule/archlinux/molecule.yml similarity index 82% rename from roles/service/molecule/archlinux/molecule.yml rename to roles/robertdebock.service/molecule/archlinux/molecule.yml index bb361cf..dd8fe46 100644 --- a/roles/service/molecule/archlinux/molecule.yml +++ b/roles/robertdebock.service/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/service/molecule/centos-6/molecule.yml b/roles/robertdebock.service/molecule/centos-6/molecule.yml similarity index 81% rename from roles/service/molecule/centos-6/molecule.yml rename to roles/robertdebock.service/molecule/centos-6/molecule.yml index 0393506..75a7365 100644 --- a/roles/service/molecule/centos-6/molecule.yml +++ b/roles/robertdebock.service/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/service/molecule/centos-latest/molecule.yml b/roles/robertdebock.service/molecule/centos-latest/molecule.yml similarity index 82% rename from roles/service/molecule/centos-latest/molecule.yml rename to roles/robertdebock.service/molecule/centos-latest/molecule.yml index 047503a..b29f437 100644 --- a/roles/service/molecule/centos-latest/molecule.yml +++ b/roles/robertdebock.service/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/service/molecule/debian-stable/molecule.yml b/roles/robertdebock.service/molecule/debian-stable/molecule.yml similarity index 82% rename from roles/service/molecule/debian-stable/molecule.yml rename to roles/robertdebock.service/molecule/debian-stable/molecule.yml index afa0b8c..03d3613 100644 --- a/roles/service/molecule/debian-stable/molecule.yml +++ b/roles/robertdebock.service/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/service/molecule/debian-unstable/molecule.yml b/roles/robertdebock.service/molecule/debian-unstable/molecule.yml similarity index 82% rename from roles/service/molecule/debian-unstable/molecule.yml rename to roles/robertdebock.service/molecule/debian-unstable/molecule.yml index f386724..e264aaf 100644 --- a/roles/service/molecule/debian-unstable/molecule.yml +++ b/roles/robertdebock.service/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/service/molecule/default/molecule.yml b/roles/robertdebock.service/molecule/default/molecule.yml similarity index 95% rename from roles/service/molecule/default/molecule.yml rename to roles/robertdebock.service/molecule/default/molecule.yml index 1964c1d..59761c5 100644 --- a/roles/service/molecule/default/molecule.yml +++ b/roles/robertdebock.service/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: service-fedora-latest: diff --git a/roles/robertdebock.service/molecule/ec2/README.md b/roles/robertdebock.service/molecule/ec2/README.md new file mode 100644 index 0000000..856b351 --- /dev/null +++ b/roles/robertdebock.service/molecule/ec2/README.md @@ -0,0 +1,15 @@ +# Amazon EC2 + +To test on Amazon elastic compute cloud (EC2), set this variable: + +``` +export EC2_REGION=eu-central-1 +``` + +And save the credentials: +``` +cat ~/.aws/credentials +[default] +aws_access_key_id=YOUR_KEY_ID +aws_secret_access_key=YOUR_ACCESS_KEY +``` diff --git a/roles/robertdebock.service/molecule/ec2/create.yml b/roles/robertdebock.service/molecule/ec2/create.yml new file mode 100644 index 0000000..7992818 --- /dev/null +++ b/roles/robertdebock.service/molecule/ec2/create.yml @@ -0,0 +1,125 @@ +--- +- name: Create + hosts: localhost + connection: local + gather_facts: false + no_log: "{{ not (lookup('env', 'MOLECULE_DEBUG') | bool or molecule_yml.provisioner.log|default(false) | bool) }}" + vars: + ssh_user: ec2-user + ssh_port: 22 + + security_group_name: molecule + security_group_description: Security group for testing Molecule + security_group_rules: + - proto: tcp + from_port: "{{ ssh_port }}" + to_port: "{{ ssh_port }}" + cidr_ip: '0.0.0.0/0' + - proto: icmp + from_port: 8 + to_port: -1 + cidr_ip: '0.0.0.0/0' + security_group_rules_egress: + - proto: -1 + from_port: 0 + to_port: 0 + cidr_ip: '0.0.0.0/0' + + keypair_name: molecule_key + keypair_path: "{{ lookup('env', 'MOLECULE_EPHEMERAL_DIRECTORY') }}/ssh_key" + tasks: + - name: Create security group + ec2_group: + name: "{{ security_group_name }}" + description: "{{ security_group_name }}" + rules: "{{ security_group_rules }}" + rules_egress: "{{ security_group_rules_egress }}" + + - name: Test for presence of local keypair + stat: + path: "{{ keypair_path }}" + register: keypair_local + + - name: Delete remote keypair + ec2_key: + name: "{{ keypair_name }}" + state: absent + when: not keypair_local.stat.exists + + - name: Create keypair + ec2_key: + name: "{{ keypair_name }}" + register: keypair + + - name: Persist the keypair + copy: + dest: "{{ keypair_path }}" + content: "{{ keypair.key.private_key }}" + mode: 0600 + when: keypair.changed + + - name: Create molecule instance(s) + ec2: + key_name: "{{ keypair_name }}" + image: "{{ item.image }}" + instance_type: "{{ item.instance_type }}" + vpc_subnet_id: "{{ item.vpc_subnet_id }}" + group: "{{ security_group_name }}" + instance_tags: + instance: "{{ item.name }}" + wait: true + assign_public_ip: true + exact_count: 1 + count_tag: + instance: "{{ item.name }}" + register: server + with_items: "{{ molecule_yml.platforms }}" + async: 7200 + poll: 0 + + - name: Wait for instance(s) creation to complete + async_status: + jid: "{{ item.ansible_job_id }}" + register: ec2_jobs + until: ec2_jobs.finished + retries: 300 + with_items: "{{ server.results }}" + + # Mandatory configuration for Molecule to function. + + - name: Populate instance config dict + set_fact: + instance_conf_dict: { + 'instance': "{{ item.instances[0].tags.instance }}", + 'address': "{{ item.instances[0].public_ip }}", + 'user': "{{ ssh_user }}", + 'port': "{{ ssh_port }}", + 'identity_file': "{{ keypair_path }}", + 'instance_ids': "{{ item.instance_ids }}", } + with_items: "{{ ec2_jobs.results }}" + register: instance_config_dict + when: server.changed | bool + + - name: Convert instance config dict to a list + set_fact: + instance_conf: "{{ instance_config_dict.results | map(attribute='ansible_facts.instance_conf_dict') | list }}" + when: server.changed | bool + + - name: Dump instance config + copy: + content: "{{ instance_conf | to_json | from_json | molecule_to_yaml | molecule_header }}" + dest: "{{ molecule_instance_config }}" + when: server.changed | bool + + - name: Wait for SSH + wait_for: + port: "{{ ssh_port }}" + host: "{{ item.address }}" + search_regex: SSH + delay: 10 + timeout: 320 + with_items: "{{ lookup('file', molecule_instance_config) | molecule_from_yaml }}" + + - name: Wait for boot process to finish + pause: + minutes: 2 diff --git a/roles/robertdebock.service/molecule/ec2/destroy.yml b/roles/robertdebock.service/molecule/ec2/destroy.yml new file mode 100644 index 0000000..b460c1e --- /dev/null +++ b/roles/robertdebock.service/molecule/ec2/destroy.yml @@ -0,0 +1,47 @@ +--- +- name: Destroy + hosts: localhost + connection: local + gather_facts: false + no_log: "{{ not (lookup('env', 'MOLECULE_DEBUG') | bool or molecule_yml.provisioner.log|default(false) | bool) }}" + tasks: + - block: + - name: Populate instance config + set_fact: + instance_conf: "{{ lookup('file', molecule_instance_config) | molecule_from_yaml }}" + skip_instances: false + rescue: + - name: Populate instance config when file missing + set_fact: + instance_conf: {} + skip_instances: true + + - name: Destroy molecule instance(s) + ec2: + state: absent + instance_ids: "{{ item.instance_ids }}" + register: server + with_items: "{{ instance_conf }}" + when: not skip_instances + async: 7200 + poll: 0 + + - name: Wait for instance(s) deletion to complete + async_status: + jid: "{{ item.ansible_job_id }}" + register: ec2_jobs + until: ec2_jobs.finished + retries: 300 + with_items: "{{ server.results }}" + + # Mandatory configuration for Molecule to function. + + - name: Populate instance config + set_fact: + instance_conf: {} + + - name: Dump instance config + copy: + content: "{{ instance_conf | to_json | from_json | molecule_to_yaml | molecule_header }}" + dest: "{{ molecule_instance_config }}" + when: server.changed | bool diff --git a/roles/service/molecule/ec2/molecule.yml b/roles/robertdebock.service/molecule/ec2/molecule.yml similarity index 95% rename from roles/service/molecule/ec2/molecule.yml rename to roles/robertdebock.service/molecule/ec2/molecule.yml index 3d6dd88..54d537f 100644 --- a/roles/service/molecule/ec2/molecule.yml +++ b/roles/robertdebock.service/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: service-ubuntu-18.04: diff --git a/roles/service/molecule/fedora-latest/molecule.yml b/roles/robertdebock.service/molecule/fedora-latest/molecule.yml similarity index 85% rename from roles/service/molecule/fedora-latest/molecule.yml rename to roles/robertdebock.service/molecule/fedora-latest/molecule.yml index 03fe1a6..e9367cf 100644 --- a/roles/service/molecule/fedora-latest/molecule.yml +++ b/roles/robertdebock.service/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/service/molecule/fedora-rawhide/molecule.yml b/roles/robertdebock.service/molecule/fedora-rawhide/molecule.yml similarity index 86% rename from roles/service/molecule/fedora-rawhide/molecule.yml rename to roles/robertdebock.service/molecule/fedora-rawhide/molecule.yml index e587328..3eb0f4e 100644 --- a/roles/service/molecule/fedora-rawhide/molecule.yml +++ b/roles/robertdebock.service/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/service/molecule/opensuse-leap/molecule.yml b/roles/robertdebock.service/molecule/opensuse-leap/molecule.yml similarity index 82% rename from roles/service/molecule/opensuse-leap/molecule.yml rename to roles/robertdebock.service/molecule/opensuse-leap/molecule.yml index f348b3e..77a74ab 100644 --- a/roles/service/molecule/opensuse-leap/molecule.yml +++ b/roles/robertdebock.service/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/service/molecule/resources/playbook.yml b/roles/robertdebock.service/molecule/resources/playbook.yml similarity index 100% rename from roles/service/molecule/resources/playbook.yml rename to roles/robertdebock.service/molecule/resources/playbook.yml diff --git a/roles/service/molecule/resources/prepare.yml b/roles/robertdebock.service/molecule/resources/prepare.yml similarity index 100% rename from roles/service/molecule/resources/prepare.yml rename to roles/robertdebock.service/molecule/resources/prepare.yml diff --git a/roles/service/molecule/ubuntu-devel/molecule.yml b/roles/robertdebock.service/molecule/ubuntu-devel/molecule.yml similarity index 82% rename from roles/service/molecule/ubuntu-devel/molecule.yml rename to roles/robertdebock.service/molecule/ubuntu-devel/molecule.yml index 7eab3f0..992d847 100644 --- a/roles/service/molecule/ubuntu-devel/molecule.yml +++ b/roles/robertdebock.service/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/service/molecule/ubuntu-latest/molecule.yml b/roles/robertdebock.service/molecule/ubuntu-latest/molecule.yml similarity index 82% rename from roles/service/molecule/ubuntu-latest/molecule.yml rename to roles/robertdebock.service/molecule/ubuntu-latest/molecule.yml index 3006074..a2aed7a 100644 --- a/roles/service/molecule/ubuntu-latest/molecule.yml +++ b/roles/robertdebock.service/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/service/molecule/ubuntu-rolling/molecule.yml b/roles/robertdebock.service/molecule/ubuntu-rolling/molecule.yml similarity index 82% rename from roles/service/molecule/ubuntu-rolling/molecule.yml rename to roles/robertdebock.service/molecule/ubuntu-rolling/molecule.yml index 4b8e96d..c644577 100644 --- a/roles/service/molecule/ubuntu-rolling/molecule.yml +++ b/roles/robertdebock.service/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/service/molecule/vagrant/molecule.yml b/roles/robertdebock.service/molecule/vagrant/molecule.yml similarity index 86% rename from roles/service/molecule/vagrant/molecule.yml rename to roles/robertdebock.service/molecule/vagrant/molecule.yml index 009f014..30c43ff 100644 --- a/roles/service/molecule/vagrant/molecule.yml +++ b/roles/robertdebock.service/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: service-fedora: diff --git a/roles/robertdebock.service/requirements.yml b/roles/robertdebock.service/requirements.yml new file mode 100644 index 0000000..46dec9d --- /dev/null +++ b/roles/robertdebock.service/requirements.yml @@ -0,0 +1,2 @@ +--- +- robertdebock.bootstrap diff --git a/roles/service/tasks/main.yml b/roles/robertdebock.service/tasks/main.yml similarity index 100% rename from roles/service/tasks/main.yml rename to roles/robertdebock.service/tasks/main.yml diff --git a/roles/service/templates/.gitkeep b/roles/robertdebock.service/templates/.gitkeep similarity index 100% rename from roles/service/templates/.gitkeep rename to roles/robertdebock.service/templates/.gitkeep diff --git a/roles/service/templates/systemd.j2 b/roles/robertdebock.service/templates/systemd.j2 similarity index 100% rename from roles/service/templates/systemd.j2 rename to roles/robertdebock.service/templates/systemd.j2 diff --git a/roles/service/templates/sysvinit.j2 b/roles/robertdebock.service/templates/sysvinit.j2 similarity index 100% rename from roles/service/templates/sysvinit.j2 rename to roles/robertdebock.service/templates/sysvinit.j2 diff --git a/roles/service/vars/main.yml b/roles/robertdebock.service/vars/main.yml similarity index 100% rename from roles/service/vars/main.yml rename to roles/robertdebock.service/vars/main.yml diff --git a/roles/ruby/CONTRIBUTING.md b/roles/ruby/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/ruby/CONTRIBUTING.md +++ b/roles/ruby/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/ruby/SECURITY.md b/roles/ruby/SECURITY.md new file mode 100644 index 0000000..0567db6 --- /dev/null +++ b/roles/ruby/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-ruby/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/ruby/meta/.galaxy_install_info b/roles/ruby/meta/.galaxy_install_info index 8dd21ef..f4ec2e4 100644 --- a/roles/ruby/meta/.galaxy_install_info +++ b/roles/ruby/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:31 2019', version: 2.0.5} +{install_date: 'Tue Sep 17 04:21:58 2019', version: 2.0.6} diff --git a/roles/ruby/molecule/alpine-edge/molecule.yml b/roles/ruby/molecule/alpine-edge/molecule.yml index 1a2b5fc..300e89b 100644 --- a/roles/ruby/molecule/alpine-edge/molecule.yml +++ b/roles/ruby/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/ruby/molecule/alpine-latest/molecule.yml b/roles/ruby/molecule/alpine-latest/molecule.yml index c09b999..9839d7c 100644 --- a/roles/ruby/molecule/alpine-latest/molecule.yml +++ b/roles/ruby/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/ruby/molecule/archlinux/molecule.yml b/roles/ruby/molecule/archlinux/molecule.yml index eca1b7b..47ea411 100644 --- a/roles/ruby/molecule/archlinux/molecule.yml +++ b/roles/ruby/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/ruby/molecule/centos-6/molecule.yml b/roles/ruby/molecule/centos-6/molecule.yml index 69f3f8d..abcf71c 100644 --- a/roles/ruby/molecule/centos-6/molecule.yml +++ b/roles/ruby/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/ruby/molecule/centos-latest/molecule.yml b/roles/ruby/molecule/centos-latest/molecule.yml index aebd1a5..3f22b38 100644 --- a/roles/ruby/molecule/centos-latest/molecule.yml +++ b/roles/ruby/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/ruby/molecule/debian-stable/molecule.yml b/roles/ruby/molecule/debian-stable/molecule.yml index de5dcc1..cd01cc1 100644 --- a/roles/ruby/molecule/debian-stable/molecule.yml +++ b/roles/ruby/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/ruby/molecule/debian-unstable/molecule.yml b/roles/ruby/molecule/debian-unstable/molecule.yml index 94a5b1f..9af1258 100644 --- a/roles/ruby/molecule/debian-unstable/molecule.yml +++ b/roles/ruby/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/ruby/molecule/default/molecule.yml b/roles/ruby/molecule/default/molecule.yml index 56c80d4..5a6da07 100644 --- a/roles/ruby/molecule/default/molecule.yml +++ b/roles/ruby/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: ruby-fedora-latest: diff --git a/roles/ruby/molecule/ec2/molecule.yml b/roles/ruby/molecule/ec2/molecule.yml index a683978..9ec37a1 100644 --- a/roles/ruby/molecule/ec2/molecule.yml +++ b/roles/ruby/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: ruby-ubuntu-18.04: diff --git a/roles/ruby/molecule/fedora-latest/molecule.yml b/roles/ruby/molecule/fedora-latest/molecule.yml index 9944a86..95295d3 100644 --- a/roles/ruby/molecule/fedora-latest/molecule.yml +++ b/roles/ruby/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/ruby/molecule/fedora-rawhide/molecule.yml b/roles/ruby/molecule/fedora-rawhide/molecule.yml index e7b2040..706fb85 100644 --- a/roles/ruby/molecule/fedora-rawhide/molecule.yml +++ b/roles/ruby/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/ruby/molecule/opensuse-leap/molecule.yml b/roles/ruby/molecule/opensuse-leap/molecule.yml index bc0a0a1..da5f4c6 100644 --- a/roles/ruby/molecule/opensuse-leap/molecule.yml +++ b/roles/ruby/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/ruby/molecule/ubuntu-devel/molecule.yml b/roles/ruby/molecule/ubuntu-devel/molecule.yml index da3609e..4537b96 100644 --- a/roles/ruby/molecule/ubuntu-devel/molecule.yml +++ b/roles/ruby/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/ruby/molecule/ubuntu-latest/molecule.yml b/roles/ruby/molecule/ubuntu-latest/molecule.yml index c21b3f8..a2d05b0 100644 --- a/roles/ruby/molecule/ubuntu-latest/molecule.yml +++ b/roles/ruby/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/ruby/molecule/ubuntu-rolling/molecule.yml b/roles/ruby/molecule/ubuntu-rolling/molecule.yml index f3a51c7..f20a89f 100644 --- a/roles/ruby/molecule/ubuntu-rolling/molecule.yml +++ b/roles/ruby/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/ruby/molecule/vagrant/molecule.yml b/roles/ruby/molecule/vagrant/molecule.yml index b800f5f..5cbb095 100644 --- a/roles/ruby/molecule/vagrant/molecule.yml +++ b/roles/ruby/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: ruby-fedora: diff --git a/roles/service/meta/.galaxy_install_info b/roles/service/meta/.galaxy_install_info deleted file mode 100644 index 2ef04f0..0000000 --- a/roles/service/meta/.galaxy_install_info +++ /dev/null @@ -1 +0,0 @@ -{install_date: 'Mon Jul 22 11:31:35 2019', version: 2.0.7} diff --git a/roles/travis/CONTRIBUTING.md b/roles/travis/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/travis/CONTRIBUTING.md +++ b/roles/travis/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/travis/SECURITY.md b/roles/travis/SECURITY.md new file mode 100644 index 0000000..f743f6f --- /dev/null +++ b/roles/travis/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-travis/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/travis/meta/.galaxy_install_info b/roles/travis/meta/.galaxy_install_info index 4a0cc8c..ca7ecaa 100644 --- a/roles/travis/meta/.galaxy_install_info +++ b/roles/travis/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:38 2019', version: 2.0.4} +{install_date: 'Tue Sep 17 04:22:03 2019', version: 2.0.5} diff --git a/roles/travis/molecule/alpine-edge/molecule.yml b/roles/travis/molecule/alpine-edge/molecule.yml index 3de87f9..8d4b17d 100644 --- a/roles/travis/molecule/alpine-edge/molecule.yml +++ b/roles/travis/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/travis/molecule/alpine-latest/molecule.yml b/roles/travis/molecule/alpine-latest/molecule.yml index 12cc364..4cd78e6 100644 --- a/roles/travis/molecule/alpine-latest/molecule.yml +++ b/roles/travis/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/travis/molecule/archlinux/molecule.yml b/roles/travis/molecule/archlinux/molecule.yml index 10cf50b..f625787 100644 --- a/roles/travis/molecule/archlinux/molecule.yml +++ b/roles/travis/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/travis/molecule/centos-6/molecule.yml b/roles/travis/molecule/centos-6/molecule.yml index c7bac29..a8694d6 100644 --- a/roles/travis/molecule/centos-6/molecule.yml +++ b/roles/travis/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/travis/molecule/centos-latest/molecule.yml b/roles/travis/molecule/centos-latest/molecule.yml index caaf50d..d55b0ee 100644 --- a/roles/travis/molecule/centos-latest/molecule.yml +++ b/roles/travis/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/travis/molecule/debian-stable/molecule.yml b/roles/travis/molecule/debian-stable/molecule.yml index 2561c8b..f596cb0 100644 --- a/roles/travis/molecule/debian-stable/molecule.yml +++ b/roles/travis/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/travis/molecule/debian-unstable/molecule.yml b/roles/travis/molecule/debian-unstable/molecule.yml index a15e65a..fdd36a4 100644 --- a/roles/travis/molecule/debian-unstable/molecule.yml +++ b/roles/travis/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/travis/molecule/default/molecule.yml b/roles/travis/molecule/default/molecule.yml index 9e5e23a..7a6f532 100644 --- a/roles/travis/molecule/default/molecule.yml +++ b/roles/travis/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: travis-fedora-latest: diff --git a/roles/travis/molecule/ec2/molecule.yml b/roles/travis/molecule/ec2/molecule.yml index 9f133a4..e16cd8d 100644 --- a/roles/travis/molecule/ec2/molecule.yml +++ b/roles/travis/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: travis-ubuntu-18.04: diff --git a/roles/travis/molecule/fedora-latest/molecule.yml b/roles/travis/molecule/fedora-latest/molecule.yml index 2d8a843..d6572cc 100644 --- a/roles/travis/molecule/fedora-latest/molecule.yml +++ b/roles/travis/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/travis/molecule/fedora-rawhide/molecule.yml b/roles/travis/molecule/fedora-rawhide/molecule.yml index 178e0d2..e750d33 100644 --- a/roles/travis/molecule/fedora-rawhide/molecule.yml +++ b/roles/travis/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/travis/molecule/opensuse-leap/molecule.yml b/roles/travis/molecule/opensuse-leap/molecule.yml index 991bb0e..64cd882 100644 --- a/roles/travis/molecule/opensuse-leap/molecule.yml +++ b/roles/travis/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/travis/molecule/ubuntu-devel/molecule.yml b/roles/travis/molecule/ubuntu-devel/molecule.yml index 80e4c9f..11b4677 100644 --- a/roles/travis/molecule/ubuntu-devel/molecule.yml +++ b/roles/travis/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/travis/molecule/ubuntu-latest/molecule.yml b/roles/travis/molecule/ubuntu-latest/molecule.yml index 6152e2f..9eb7b06 100644 --- a/roles/travis/molecule/ubuntu-latest/molecule.yml +++ b/roles/travis/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/travis/molecule/ubuntu-rolling/molecule.yml b/roles/travis/molecule/ubuntu-rolling/molecule.yml index 3a917bf..8952eac 100644 --- a/roles/travis/molecule/ubuntu-rolling/molecule.yml +++ b/roles/travis/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/travis/molecule/vagrant/molecule.yml b/roles/travis/molecule/vagrant/molecule.yml index 1f5a469..c6f4502 100644 --- a/roles/travis/molecule/vagrant/molecule.yml +++ b/roles/travis/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: travis-fedora: diff --git a/roles/update/.travis.yml b/roles/update/.travis.yml index cb24768..750e57b 100644 --- a/roles/update/.travis.yml +++ b/roles/update/.travis.yml @@ -10,7 +10,7 @@ env: - version=">=2.7,<2.8" distro="alpine-edge" - version="" distro="alpine-edge" - version="devel" distro="alpine-edge" - - version=">=2.7,<2.8" distro="archlinux" + - version=">=2.7,<2.8" distro="archlinux" expectation="fail" - version="" distro="archlinux" - version="devel" distro="archlinux" - version=">=2.7,<2.8" distro="centos-6" diff --git a/roles/update/CONTRIBUTING.md b/roles/update/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/update/CONTRIBUTING.md +++ b/roles/update/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/update/README.md b/roles/update/README.md index 0c0327b..da75188 100644 --- a/roles/update/README.md +++ b/roles/update/README.md @@ -91,7 +91,7 @@ This role has been tested against the following distributions and Ansible versio |------------|-----------|-----------|-------------| |alpine-edge*|yes|yes|yes*| |alpine-latest|yes|yes|yes*| -|archlinux|yes|yes|yes*| +|archlinux|no|yes|yes*| |centos-6|yes|yes|yes*| |centos-latest|yes|yes|yes*| |debian-stable|yes|yes|yes*| @@ -105,6 +105,17 @@ This role has been tested against the following distributions and Ansible versio A single star means the build may fail, it's marked as an experimental build. +Exceptions +---------- + +Some variarations of the build matrix do not work. These are the variations and reasons why the build won't work: + +| variation | reason | +|---------------------------|------------------------| +| Archlinux & Ansible 2.7 | New-style module did not handle its own exit | + + + Testing ------- diff --git a/roles/update/SECURITY.md b/roles/update/SECURITY.md new file mode 100644 index 0000000..7c0d834 --- /dev/null +++ b/roles/update/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-update/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/update/meta/.galaxy_install_info b/roles/update/meta/.galaxy_install_info index c36c3cb..ad17645 100644 --- a/roles/update/meta/.galaxy_install_info +++ b/roles/update/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:42 2019', version: 2.0.5} +{install_date: 'Tue Sep 17 04:22:06 2019', version: 2.0.6} diff --git a/roles/update/meta/exception.yml b/roles/update/meta/exception.yml new file mode 100644 index 0000000..6da44d3 --- /dev/null +++ b/roles/update/meta/exception.yml @@ -0,0 +1,4 @@ +--- +exceptions: + - variation: Archlinux & Ansible 2.7 + reason: New-style module did not handle its own exit diff --git a/roles/update/molecule/alpine-edge/molecule.yml b/roles/update/molecule/alpine-edge/molecule.yml index 2d5ba76..fc53e6d 100644 --- a/roles/update/molecule/alpine-edge/molecule.yml +++ b/roles/update/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/update/molecule/alpine-latest/molecule.yml b/roles/update/molecule/alpine-latest/molecule.yml index 50f6d80..aab0d11 100644 --- a/roles/update/molecule/alpine-latest/molecule.yml +++ b/roles/update/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/update/molecule/archlinux/molecule.yml b/roles/update/molecule/archlinux/molecule.yml index e06d218..5189be7 100644 --- a/roles/update/molecule/archlinux/molecule.yml +++ b/roles/update/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/update/molecule/centos-6/molecule.yml b/roles/update/molecule/centos-6/molecule.yml index 6f5197c..069492e 100644 --- a/roles/update/molecule/centos-6/molecule.yml +++ b/roles/update/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/update/molecule/centos-latest/molecule.yml b/roles/update/molecule/centos-latest/molecule.yml index 8b0f0ed..060b359 100644 --- a/roles/update/molecule/centos-latest/molecule.yml +++ b/roles/update/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/update/molecule/debian-stable/molecule.yml b/roles/update/molecule/debian-stable/molecule.yml index 1947096..dba5fe1 100644 --- a/roles/update/molecule/debian-stable/molecule.yml +++ b/roles/update/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/update/molecule/debian-unstable/molecule.yml b/roles/update/molecule/debian-unstable/molecule.yml index 009f0fd..63a1d4f 100644 --- a/roles/update/molecule/debian-unstable/molecule.yml +++ b/roles/update/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/update/molecule/default/molecule.yml b/roles/update/molecule/default/molecule.yml index 9aed2a0..88d3bad 100644 --- a/roles/update/molecule/default/molecule.yml +++ b/roles/update/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: update-fedora-latest: diff --git a/roles/update/molecule/ec2/molecule.yml b/roles/update/molecule/ec2/molecule.yml index f13716e..479946f 100644 --- a/roles/update/molecule/ec2/molecule.yml +++ b/roles/update/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: update-ubuntu-18.04: diff --git a/roles/update/molecule/fedora-latest/molecule.yml b/roles/update/molecule/fedora-latest/molecule.yml index 61fbd7f..79d06a2 100644 --- a/roles/update/molecule/fedora-latest/molecule.yml +++ b/roles/update/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/update/molecule/fedora-rawhide/molecule.yml b/roles/update/molecule/fedora-rawhide/molecule.yml index a544f64..63ba83e 100644 --- a/roles/update/molecule/fedora-rawhide/molecule.yml +++ b/roles/update/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/update/molecule/opensuse-leap/molecule.yml b/roles/update/molecule/opensuse-leap/molecule.yml index ecde14e..34edc49 100644 --- a/roles/update/molecule/opensuse-leap/molecule.yml +++ b/roles/update/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/update/molecule/ubuntu-devel/molecule.yml b/roles/update/molecule/ubuntu-devel/molecule.yml index 6357582..1a89d9c 100644 --- a/roles/update/molecule/ubuntu-devel/molecule.yml +++ b/roles/update/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/update/molecule/ubuntu-latest/molecule.yml b/roles/update/molecule/ubuntu-latest/molecule.yml index 337fca4..16e8025 100644 --- a/roles/update/molecule/ubuntu-latest/molecule.yml +++ b/roles/update/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/update/molecule/ubuntu-rolling/molecule.yml b/roles/update/molecule/ubuntu-rolling/molecule.yml index c8a7504..382ecef 100644 --- a/roles/update/molecule/ubuntu-rolling/molecule.yml +++ b/roles/update/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/update/molecule/vagrant/molecule.yml b/roles/update/molecule/vagrant/molecule.yml index 7096d58..90532da 100644 --- a/roles/update/molecule/vagrant/molecule.yml +++ b/roles/update/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: update-fedora: diff --git a/roles/users/CONTRIBUTING.md b/roles/users/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/users/CONTRIBUTING.md +++ b/roles/users/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/users/SECURITY.md b/roles/users/SECURITY.md new file mode 100644 index 0000000..37b8c3c --- /dev/null +++ b/roles/users/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-users/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/users/meta/.galaxy_install_info b/roles/users/meta/.galaxy_install_info index cafd75d..bc5efd5 100644 --- a/roles/users/meta/.galaxy_install_info +++ b/roles/users/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:52 2019', version: 3.1.2} +{install_date: 'Tue Sep 17 04:22:08 2019', version: 3.1.3} diff --git a/roles/users/molecule/alpine-edge/molecule.yml b/roles/users/molecule/alpine-edge/molecule.yml index 8c43b40..8f411b1 100644 --- a/roles/users/molecule/alpine-edge/molecule.yml +++ b/roles/users/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/users/molecule/alpine-latest/molecule.yml b/roles/users/molecule/alpine-latest/molecule.yml index 6fa00e6..5473933 100644 --- a/roles/users/molecule/alpine-latest/molecule.yml +++ b/roles/users/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/users/molecule/archlinux/molecule.yml b/roles/users/molecule/archlinux/molecule.yml index b4b8730..14aa5b7 100644 --- a/roles/users/molecule/archlinux/molecule.yml +++ b/roles/users/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/users/molecule/centos-6/molecule.yml b/roles/users/molecule/centos-6/molecule.yml index c2ef077..368cd17 100644 --- a/roles/users/molecule/centos-6/molecule.yml +++ b/roles/users/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/users/molecule/centos-latest/molecule.yml b/roles/users/molecule/centos-latest/molecule.yml index e435007..6ea8d0a 100644 --- a/roles/users/molecule/centos-latest/molecule.yml +++ b/roles/users/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/users/molecule/debian-stable/molecule.yml b/roles/users/molecule/debian-stable/molecule.yml index 5976839..461a79a 100644 --- a/roles/users/molecule/debian-stable/molecule.yml +++ b/roles/users/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/users/molecule/debian-unstable/molecule.yml b/roles/users/molecule/debian-unstable/molecule.yml index 3817b49..0a15f37 100644 --- a/roles/users/molecule/debian-unstable/molecule.yml +++ b/roles/users/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/users/molecule/default/molecule.yml b/roles/users/molecule/default/molecule.yml index 1f12283..5d6910b 100644 --- a/roles/users/molecule/default/molecule.yml +++ b/roles/users/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: users-fedora-latest: diff --git a/roles/users/molecule/ec2/molecule.yml b/roles/users/molecule/ec2/molecule.yml index ff75b2e..d8ecd5a 100644 --- a/roles/users/molecule/ec2/molecule.yml +++ b/roles/users/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: users-ubuntu-18.04: diff --git a/roles/users/molecule/fedora-latest/molecule.yml b/roles/users/molecule/fedora-latest/molecule.yml index 25a7091..90c4bc4 100644 --- a/roles/users/molecule/fedora-latest/molecule.yml +++ b/roles/users/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/users/molecule/fedora-rawhide/molecule.yml b/roles/users/molecule/fedora-rawhide/molecule.yml index 7ed374e..7e20d24 100644 --- a/roles/users/molecule/fedora-rawhide/molecule.yml +++ b/roles/users/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/users/molecule/opensuse-leap/molecule.yml b/roles/users/molecule/opensuse-leap/molecule.yml index 03781c5..a132a73 100644 --- a/roles/users/molecule/opensuse-leap/molecule.yml +++ b/roles/users/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/users/molecule/ubuntu-devel/molecule.yml b/roles/users/molecule/ubuntu-devel/molecule.yml index dbdb378..fcec760 100644 --- a/roles/users/molecule/ubuntu-devel/molecule.yml +++ b/roles/users/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/users/molecule/ubuntu-latest/molecule.yml b/roles/users/molecule/ubuntu-latest/molecule.yml index 2de45f8..33b77e0 100644 --- a/roles/users/molecule/ubuntu-latest/molecule.yml +++ b/roles/users/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/users/molecule/ubuntu-rolling/molecule.yml b/roles/users/molecule/ubuntu-rolling/molecule.yml index f665d72..331ca82 100644 --- a/roles/users/molecule/ubuntu-rolling/molecule.yml +++ b/roles/users/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/users/molecule/vagrant/molecule.yml b/roles/users/molecule/vagrant/molecule.yml index e375954..bdcb079 100644 --- a/roles/users/molecule/vagrant/molecule.yml +++ b/roles/users/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: users-fedora: diff --git a/roles/vagrant/CONTRIBUTING.md b/roles/vagrant/CONTRIBUTING.md index b394447..3209430 100644 --- a/roles/vagrant/CONTRIBUTING.md +++ b/roles/vagrant/CONTRIBUTING.md @@ -2,7 +2,7 @@ You can really make a difference by: -- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. +- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).) - [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code. I'll try to help and take every contribution seriously. diff --git a/roles/vagrant/SECURITY.md b/roles/vagrant/SECURITY.md new file mode 100644 index 0000000..326a3a2 --- /dev/null +++ b/roles/vagrant/SECURITY.md @@ -0,0 +1,23 @@ +# Security Policy + +This software implements other software, it's not very likely that this software introduces new vulnerabilities. + +## Supported Versions + +The current major version is supported. For example if the current version is 3.4.1: + +| Version | Supported | +| ------- | ------------------ | +| 3.4.1 | :white_check_mark: | +| 3.4.x | :white_check_mark: | +| 3.x.x | :white_check_mark: | +| 2.0.0 | :x: | +| 1.0.0 | :x: | + +## Reporting a Vulnerability + +Please [open an issue](https://github.com/robertdebock/ansible-role-vagrant/issues) describing the vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/roles/vagrant/meta/.galaxy_install_info b/roles/vagrant/meta/.galaxy_install_info index ff2415d..00c5615 100644 --- a/roles/vagrant/meta/.galaxy_install_info +++ b/roles/vagrant/meta/.galaxy_install_info @@ -1 +1 @@ -{install_date: 'Mon Jul 22 11:31:58 2019', version: 2.0.4} +{install_date: 'Tue Sep 17 04:22:11 2019', version: 2.0.5} diff --git a/roles/vagrant/molecule/alpine-edge/molecule.yml b/roles/vagrant/molecule/alpine-edge/molecule.yml index e896615..cb6c8c6 100644 --- a/roles/vagrant/molecule/alpine-edge/molecule.yml +++ b/roles/vagrant/molecule/alpine-edge/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-edge diff --git a/roles/vagrant/molecule/alpine-latest/molecule.yml b/roles/vagrant/molecule/alpine-latest/molecule.yml index 8287a7e..461473d 100644 --- a/roles/vagrant/molecule/alpine-latest/molecule.yml +++ b/roles/vagrant/molecule/alpine-latest/molecule.yml @@ -19,5 +19,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: alpine-latest diff --git a/roles/vagrant/molecule/archlinux/molecule.yml b/roles/vagrant/molecule/archlinux/molecule.yml index ce2a251..04c7c17 100644 --- a/roles/vagrant/molecule/archlinux/molecule.yml +++ b/roles/vagrant/molecule/archlinux/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: archlinux diff --git a/roles/vagrant/molecule/centos-6/molecule.yml b/roles/vagrant/molecule/centos-6/molecule.yml index 543e6ff..76bf48f 100644 --- a/roles/vagrant/molecule/centos-6/molecule.yml +++ b/roles/vagrant/molecule/centos-6/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-6 diff --git a/roles/vagrant/molecule/centos-latest/molecule.yml b/roles/vagrant/molecule/centos-latest/molecule.yml index e9f9f1f..1757ab2 100644 --- a/roles/vagrant/molecule/centos-latest/molecule.yml +++ b/roles/vagrant/molecule/centos-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: centos-latest diff --git a/roles/vagrant/molecule/debian-stable/molecule.yml b/roles/vagrant/molecule/debian-stable/molecule.yml index 62bc0b8..dca3d9b 100644 --- a/roles/vagrant/molecule/debian-stable/molecule.yml +++ b/roles/vagrant/molecule/debian-stable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-stable diff --git a/roles/vagrant/molecule/debian-unstable/molecule.yml b/roles/vagrant/molecule/debian-unstable/molecule.yml index ae85032..b51f5b3 100644 --- a/roles/vagrant/molecule/debian-unstable/molecule.yml +++ b/roles/vagrant/molecule/debian-unstable/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: debian-unstable diff --git a/roles/vagrant/molecule/default/molecule.yml b/roles/vagrant/molecule/default/molecule.yml index 0212f50..fcbccb7 100644 --- a/roles/vagrant/molecule/default/molecule.yml +++ b/roles/vagrant/molecule/default/molecule.yml @@ -56,6 +56,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: vagrant-fedora-latest: diff --git a/roles/vagrant/molecule/ec2/molecule.yml b/roles/vagrant/molecule/ec2/molecule.yml index b4b75e4..485877d 100644 --- a/roles/vagrant/molecule/ec2/molecule.yml +++ b/roles/vagrant/molecule/ec2/molecule.yml @@ -39,6 +39,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: vagrant-ubuntu-18.04: diff --git a/roles/vagrant/molecule/fedora-latest/molecule.yml b/roles/vagrant/molecule/fedora-latest/molecule.yml index dd74c5e..a2ac967 100644 --- a/roles/vagrant/molecule/fedora-latest/molecule.yml +++ b/roles/vagrant/molecule/fedora-latest/molecule.yml @@ -18,6 +18,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/vagrant/molecule/fedora-rawhide/molecule.yml b/roles/vagrant/molecule/fedora-rawhide/molecule.yml index 2c15048..1227de6 100644 --- a/roles/vagrant/molecule/fedora-rawhide/molecule.yml +++ b/roles/vagrant/molecule/fedora-rawhide/molecule.yml @@ -20,6 +20,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: group_vars: all: diff --git a/roles/vagrant/molecule/opensuse-leap/molecule.yml b/roles/vagrant/molecule/opensuse-leap/molecule.yml index e848771..cccab49 100644 --- a/roles/vagrant/molecule/opensuse-leap/molecule.yml +++ b/roles/vagrant/molecule/opensuse-leap/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: opensuse-leap diff --git a/roles/vagrant/molecule/ubuntu-devel/molecule.yml b/roles/vagrant/molecule/ubuntu-devel/molecule.yml index 284a3a9..567c167 100644 --- a/roles/vagrant/molecule/ubuntu-devel/molecule.yml +++ b/roles/vagrant/molecule/ubuntu-devel/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-devel diff --git a/roles/vagrant/molecule/ubuntu-latest/molecule.yml b/roles/vagrant/molecule/ubuntu-latest/molecule.yml index 68e552b..53ad7db 100644 --- a/roles/vagrant/molecule/ubuntu-latest/molecule.yml +++ b/roles/vagrant/molecule/ubuntu-latest/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-latest diff --git a/roles/vagrant/molecule/ubuntu-rolling/molecule.yml b/roles/vagrant/molecule/ubuntu-rolling/molecule.yml index e8080ad..f77f60d 100644 --- a/roles/vagrant/molecule/ubuntu-rolling/molecule.yml +++ b/roles/vagrant/molecule/ubuntu-rolling/molecule.yml @@ -18,5 +18,9 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/roles/vagrant/molecule/vagrant/molecule.yml b/roles/vagrant/molecule/vagrant/molecule.yml index a7d5412..e02be0c 100644 --- a/roles/vagrant/molecule/vagrant/molecule.yml +++ b/roles/vagrant/molecule/vagrant/molecule.yml @@ -21,6 +21,10 @@ provisioner: converge: ../resources/playbook.yml lint: name: ansible-lint + options: + exclude: + - meta/version.yml + - meta/exception.yml inventory: host_vars: vagrant-fedora: